-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
None of my epub files work with the epub.js reader... #78
Comments
What version of epub is the book you are trying to load? Epub3 is fully supported but other versions should work... Could you email a copy of your epub to the email listed on my github profile? |
Hi Luis, Try the attached epub. They are nothing special. We have a self service epub upload service where publishers and authors can upload their epub files – so we get all sorts. I was successful in using the attached epub file in Monocle and EFM – but I prefer epub . Js as a solution if we can make it work. Best Wishes, Bill Goodyear From: Luis Aguilar <notifications@github.commailto:notifications@github.com> What version of epub is the book you are trying to load? Epub3 is fully supported but other versions should work... Could you email a copy of your epub to the email listed on my github profile? — |
Hi Bill, I didn't receive the epub attachment. Could you please send it again directly to my email? Thanks, |
Sure, what email address do you want me to send to? Just let me know. You can also download from the following links: http://www.deepershopping.com/includes/epub.js-master/demo/pathways.epub And also http://www.deepershopping.com/imagelib/digital_products/000/000/000/161/epubsample/Sample_Pathways to the King eBook.epub Hope that helps. Best Wishes, Bill. From: Luis Aguilar <notifications@github.commailto:notifications@github.com> Hi Bill, I didn't receive the epub attachment. Could you please send it again directly to my email? Thanks, — |
Same for me. The systems tries to fetch the epub file, succeed, then "fetches" strange URL like:
The line is for the source file is: The above warning happens even if mime-types.js is included from zip.js library |
In fact after a lot of debugging, I've solved it.
|
Awesome. Im going to try it tomorrow. I”ve been using Monocle and EFM as a backup and it works, but its not as nice as the epub.js solution in terms of its user interface. Epub.js has a much better user interface model. From: X-Ryl669 [mailto:notifications@github.com] In fact after a lot of debugging, I've solved it. …….. |
BTW, there's also this project which has a clean interface: |
Thanks @X-Ryl669 and @billgoodyear Added a URl parsing method to get the base for the chapter
and used that to resolve the urls. This change got rolled in with a number of other changes, which should be merged by the end of the week. Meanwhile - could you try this branch? |
Changes have been merged to master, so you can pull to try them or download the latest release. |
Alright, it's working. |
Added a timeout fail safe in in v0.1.8 since "load" events seem very unreliable. |
Discovered a new bug. See the epub file as follows: http://www.deepershopping.com/imagelib/digital_products/000/000/000/264/epubfile/DarkPoolBroken.epub The problem is that in the CoverImage.xhtml file it refers to an image – the URL in the image is entity encoded so that the space character is converted to %20 – but the actual file name contains spaces not the %20. So in CoverImage.xhtml you will see "image/Dark%20Pool%203%203%20final.jpg” – but the filename in the zip file is "image/Dark Pool 3 3 final.jpg” Currently the monocle browser locks up and does not render the text of the book when there is a broken image in this format. The system needs a fallback in that if it detects there are entity encodings in the URL it tries to load it with the entities and without the entities. To test I remove entity encodings from the CoverImage.xthml file and the epub file renders correctly. Adding the entity encodings back in and it barfs. Thanks, Bill Goodyear From: X-Ryl669 [mailto:notifications@github.com] Alright, it's working. — |
Great Bug report! Thanks for tracking that down. Fixed in: https://github.com/futurepress/epub.js/releases/tag/v0.1.9 |
Another one that fails (the first page load, not the others) |
I downloaded the epub.js package, and tested it on my server. It works great with the bundled moby-dick book.
I then changed the reference to Moby Dick to one of my own epub files that was uploaded by a customer. The epub file reads in Calibre, Nook etc, but not in epub.js.
I've tried both zipped and unzipped and gotten no result. It seems to pull out the title and author information and then just hangs - the first page never renders. And using the backwards and forwards buttons does nothing.
I'll be more than happy to email over a copy of one of the epub files that im using so that you can reproduce the problem.
Any help you can provide will be appreciated.
Regards, Bill.
The text was updated successfully, but these errors were encountered: