satorumurmur / bibi Goto Github PK
View Code? Open in Web Editor NEWBibi | EPUB Reader on your website.
Home Page: https://bibi.epub.link
License: MIT License
Bibi | EPUB Reader on your website.
Home Page: https://bibi.epub.link
License: MIT License
Hi
I'd like to have an option to stick 2 current pages when viewing in paged or horizontal (with 2 current page).
Like there no more margin between the 2 pages.
It would be really great to have that (I think this need some custom rule in the EPUB creation though).
Thanks a lot.
I've found that choosing items from the navigation pane work very infrequently on iOS and Android. After much investigation, it seems to be because the 'click' event is not being fired most of the time. I was able to fix it locally with the following code fragment below:
L.postprocessItem.coordinateLinkages.setJump = function(A) {
eventName = O.Mobile ? "touchstart" : "click"
A.addEventListener(eventName, function(Eve) {
I have uploaded the aaa.epub to bookshelf
input the following linkadress:
http://www.XXX.com/bibi/bib/i/?book=9787536455382.epub
but it doesn't works(win7\win2003\win2008)
When I test the demo site on winxp,it works well
I don't know why,please help me
If you manually exit or enter fullscreen, the toggle in the settings menu does not update to show the current state
This works:
http://mywebsite/bibi/bib/i/?book=a.epub
This doesn't.
unzip a.epub -d a
http://mywebsite/bibi/bib/i?book=a
I have problems with some french special characters in the html content like 'é' rendered with a '頻' or 'à' rendered with a ''࠻...
Html is encoded in utf-8.
This problem does not occur all the time but only with some words or maybe some strings of characters. I don't understand why…
Have you any idea ?
Thanx.
When I press a button or link to another page , this increases in size and looks out of scale.
http://mauro66pop.esy.es/bib/i/?book=CONCERTA
Thanks in advance
Does BiBi support the concept of bookmarks (i.e. track a reader's reading position in a document)? I have a use case where readers might read half-way through a document, for example, and then need to return to where they left off at a later date.
Thanks for great project.
How to use annotate & highlight ?
I am trying to apply some features about pop-up footnote, fixing for css3 unit vh/vw and page style, should I make any extensions?
Thanks in advance.
Your reader is really awesome, But it would be great if you can add a "ebook management".
Like a script that look in the folder and display a dropdown and/or button to go to next/prev ebook.
That will require some php though.
I'd like to help, and will try to help, but I have not very much free time to start this on my own ^^"
anyhow, your reader is really simple and easy to use, thanks for that.
Im trying adding a "Download" button, in the drop down menu, but looks like a can
t (I`m not so expert in JS).
Is there a chance to implement it?
I also tried doing it in a separate page, putting "index.html" inside a iframe, but this won-t work either, since the index won`t load the epub.
any suggestion?
Hi,
I have some epub files hosted on Github. Is there any way I can use the epub files hosted on Github to embed those in my blog site?
For clarification, the bibi is hosted my personal site.
Thanks
Hi, the subject says it all really...
I'm having trouble getting "covers" of unopened books to display as demonstrated at http://bibi.epub.link/#demo. I've tried both epub2 and epub3 files but rather than viewing the cover I see this:
I'm sure it's me doing something wrong but I can't see what - any ideas?
Thanks!
epub menu is not clickable in xwalk webview.
xwalk library version = 'org.xwalk:xwalk_core_library:23.53.589.4';
please help me for this. .
Hi,
I need to show epub file in the web site,but we don't have chance to locate the files in bookshelf folder locally.is there any way to open the epub files from s3 remote location.
Any help much appreciate.
Thanks
Hi, I don't manage to get some features that appears on the first embed on demo page
Like the Right to left reading, the "items loaded" message when I first click on the embed.
Here is my test page : http://91.121.173.74/reader/
I try to come with a manga reader, and try to add prev/next basic link (I don't change your library, not yet), and an ebook selector from a basic ajax file tree.
Thakns in advance for the help.
I notice when you drag the ebook locally to the bib "upload" interface that it will play audio but when you embedded it into the library at the back of the site it will mute or not allow the audio to play.
is there a suggested fix or work around?
How can I set up a full text search? Is there maybe a working extensions which can easily integrated?
@satorumurmur
Hi,
I found the case you cannot read book from extracted files. Steps to reproduce the issue is:
wget http://bibi.epub.link/my/name/is/bibi-0.998.3.zip
unzip bibi-0.998.3.zip
unzip accessible_epub_3.epub -d bibi-0.998.3/bib/bookshelf/accessible_epub_3.epub
ruby -run -e httpd -- . -p 8000
then, spinner spins forever. http://localhost:8000/bibi-0.998.3/bib/i/index.html?book=accessible_epub_3.epub/ (trailing slash)also doesn't work.
Is that a bug? or expected behavior?
Thanks.
OS XのFirefoxとGoogle Chrome上で、手元のEPUB3ファイルを展開して試した所、default.jsの"book-display-mode"がallの時は動くのですが、spreadもしくはitemにするとLoading..の途中で動かなくなります。
JSのコンソールに出るエラーのログは以下のとおりです。
Firefoxの場合:
[03:46:28.957] ReferenceError: reference to undefined property TargetItem.Spread @ http://localhost/bibi/bib/i/res/script/bibi.js:1087
[03:46:28.957] TypeError: TargetItem.Spread is undefined @ http://localhost/bibi/bib/i/res/script/bibi.js:1087
Google Chromeの場合:
Uncaught TypeError: Cannot read property 'style' of undefined bibi.js:1087
I have been investigating this issue and I believe that Bibi 0.999.4 stores one cookie (for saving position) for each book readed. But it looks that it doesn't work, when there are multiple epub ebooks on the same server. I am using http://... for bookshelf, not the relative path.
I think it's nice if git tag
ged when BiB/i is released.
If it will be done, we can specify BiB/i version by tag of git and GitHub URI. It's useful for development purpose.
How about you?
Hi Folks,
Followed the instructions from section 2 of the "manual" and have a local copy of bib/i working quite happily. I can drop a file on the target or click and browse and the epub opens as expected.
However I'm having trouble with the following...
As with the web publication of the next item, if you use the bookshelf folder, you can also specify a book with the URL in the address bar so you can treat it like a bookshelf when combined with the browser bookmark.
I've put a copy of the epub in "bookshelf" but no matter what I try when creating a desktop shortcut the system reports that the file cannot be found.
Any chance of an example - I think I'm being thrown by "with the URL in the address bar so you can treat it like a bookshelf when combined with the browser bookmark."
Many thanks,
Andy B.
Moving to page specified by EPUB CFI is unique and great feature but there seems an issue. When you specify text node using EPUB CFI like #epubcfi(/6/14!/4/46/1)
, BiB/i start with the first page instead of the page itemref
of 14
refers.
Not to move to the text node but the begining of XHTML page including the node is okay. But not to move anywhere and showing error "Uncaught TypeError: Cannot read property 'childNodes' of null" in console is problem.
My environment:
is it possible to fire an event when some text is selected / double clicked in the epub? i've tried the standard onselect / selectionchange javascript events, but they seem to be blocked. could you please share a snippet of code on how this could be done? this would help people translate words in the epub books.
Hi Guys,
I was trying to implement flip-view for the epub files using BIBI, for achieving that I have added turn js to this application and tried to run by adding the turn function to element "bibi-main-book" by calling it as $('#bibi-main-book').turn()
but after calling this the head and body tags content of iframe is becoming empty.
So Is there any way to achieve flip functionality like in here in to this application? Please provide your suggestions and ideas.
Thanks in advance.
Is there a way to start reading the book before all the images and content has loaded? If a book has a lot of images, it can sometimes take a while to load, and I was thinking that maybe instead of seeing "Loading x/x items loaded" the pages could already start to display.
How to get local ePub files without dragging and dropping files to upload
What determines if progress is remembered for a given book? I have different ePubs and some of them remember the reading progress, while others don't.
How do you read a zipped .epub file that's in a web server?
While horizontal layout does work on mobiles devices, paged layout doesn't. When I tap the next page arrow, it stay on the same page. I have not tested vertical layout.
when loading the ebook page on android, the top bar becomes impossibile to use, greying out
is there a solution for that?
Hi,
To open an EPUB book, is it possible to make BiB/i able to open file selection dialog as well as drag-and-drop interface?
Because I usually don't keep file manager(Explorer, Finder...) open,
it's very nice if I may open file selection dialog via BiB/i window.
Could you consider?
Thanks.
How to use the Framework on Android device。Please😁
Sorry for my ignorance, but I did not understand how I incorporate so that "Click to open" does not appear.
I wish it were like this: http://prntscr.com/ket6mt
When using javascript in the EPUB document for XHR, MS Edge browser and Firefox cannot get XHR target.
+bookshelf
+book1
+OEBPS
-p1.xhtml
-p1.js
-data.json
+i
-index.html
// p1.js
document.addEventListener("DOMContentLoaded", function() {
var xhr = new XMLHttpRequest();
xhr.open("GET", "data.json");
xhr.send();
alert(location.href);
});
Can get "data.json",
alert shows : http://example.com/bibi/bookshelf/book1/OEBPS/p1.xhtml
Cannot get "data.json" and XHR request send to wrong URI (http://example.com/bibi/i/data.json).
alert shows : http://example.com/bibi/i/?book=book1
It seems that document in the BiBi's iframe recognize wrong location.
I know that I should not use javascript and XHR in the EPUB. But I want to use it.
because to fully charge the animations on each page are lost ....
thanks in advance
BiB/i doesn't seem able to parse svg-entry-sample.epub file linked from http://blog.cas-ub.com/?p=1094 correctly.
It requests /bib/i/styles/style.css but it doesn't exist. It should be a request to OEBPS/styles/style.css.
When trying to load epub books onto using i/index.html/.epub it says
The Origin of the Path of the Book Is Not Allowed.
i tried doing zipped and unzipped, .epup but they all say the same.
Hi there!
I need to force 2 page view for pre-paginated (or fixed-layout) ePubs.
I search for an option on the presets file, but it seems there's no way to force it...
Any suggestion?
By the way, thanks for the project!
would it be possible to implement a beforeChapterDisplay event, that would fire each time a new chapter is displayed? a similar function exists in epub.js (which is much slower than bibi.js performance-wise = very sluggish on mobile devices).
Does this plugin support ePubs with XML content? I have an ePub which has XML files in it. It shows the TOC correctly but pages are not loaded. This ePub opens fine with normal ePub reader but not with this one.
I am building a collection on books stored in IPFS. Files are identified by a hash rather than a name.
There are several ways to set up access, but the simplest is through the gateway on ipfs.io
. Hashes can be resolved to files through a url of the form: http://ipfs.io/ipfs/HASH
where HASH
is a value like QmfZEJiQBhWmHLhP5ZDnV2CijF7R88Qp8iqn5g5qy7SCSD
.
I created a set of supplemental presets, and added http://ipfs.io
to trustworthy-origins
and *
to extract-if-necessary
.
When I try to load a page with a URL like http://localhost:61671/bibi/?book=http://ipfs.io/ipfs/QmfZEJiQBhWmHLhP5ZDnV2CijF7R88Qp8iqn5g5qy7SCSD
it tries to open a manifest on the server a couple times, which fails, then at the top of the page I get an error "Failed to open the book. Failed to open as both EPUB file and EPUB folder."
My assumption is it is being caused by the lack of a filename despite the wildcard for extracting.
I want to add an ePub to a page as part of a modal dialog. Is there a way to trigger bibi to look for book elements on a page again, once the .js is already loaded?
I want users to start reading from the page where they left off before. Is there any way for this issue?
My epub have total: 20 page .I want to prevent view epub offset: page 1->5. Tool Bib have support? Thanks!
Uncaught (in promise) TypeError: Cannot read property 'forEach' of undefined
at Bibi.ready (bibi.js:45)
I have an epub file and try to load in web server. I get this error. Can you please help me out?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.