Open rubin55 opened 3 years ago
The files are not opening because the html files in the epub are formatted incorrectly. All of them have this
<script xmlns="http://www.w3.org/1999/xhtml" type="text/javascript" src="../js/kobo.js"/>
The newer browsers don't support self closing <script>
tags. Hence even Chrome/Edge/Firefox displays these files as blank.
To render this book I would have to fix the html, but need to do it only for the books with the issue, otherwise it will considerably increase the load time of all books. Need to see how to handle this appropriately.
Mm, might this have to do with a wrong mime-type (i.e., text/html
vs application/xhtml+xml
)? I was reading this.
In another thread, this was mentioned: ...self closing tags work if your file is served up as XHTML (MIME type application/xhtml+xml. See here also.
As a side note, any book bought from the Kobo Store is likely to have these elements in there (it's a pretty big ebook store/site).
How do you get DRM free epub files from Kobo Store?
Not all Kobo books have DRM, notably amongst others, the O'Reilly ones. For those that do, I use Calibre + DeDrm.
I have the same issue. I bought John Scalzis book Starter Villain on Rakuten Kobo today and am getting blank pages as a result.
I unzipped the epub and found this.
<script xmlns="http://www.w3.org/1999/xhtml" type="text/javascript" src="../../js/kobo.js"/>
Chrome, Edge, Safari, Opera, Brave and Firefox all opened the xhtml files perfectly fine on my system. I can forwards you the epub file if you like for error testing?
I've sent you the file via email address: optimilia.studios@gmail.com.
Hi @hiakuryu, Yes plz share ebook file with us at our e-mail address, will try to debug the issue.
P.S. - Aquile Reader for Android is under development and ready for closed Beta testing, if you are interested in joining the testing program, plz share your Google Play Store email Id.
When attempting to open "Hands-on Machine Learning with Scikit-Learn, Keras and TensorFlow", Aquile shows a blank page. The table of contents does show, but selecting any entry does not return a page. It does change the percentage completed.
I've sent you the file via WeTransfer on your email address: optimilia.studios@gmail.com. Note that the transfer is only valid for 7 days.