Quote:
Originally Posted by Quoth
And KOReader, while interesting, is not pre-installed on anything, nor on Playstore. I installed it from Git on my Android devices.
So basically this idea is tested on hardly anything that people commonly use and doesn't work on Pocketbook Android App, which is free and has 5M+ downloads or regular Readera which has 10M+ downloads.
|
In fairness, I did say that I want to make this work with KOReader specifically. Adding ereaders that require you to convert from EPUB3 to other proprietary formats (e.g., Kindle) adds significant complexity and uncertainty to an already complicated project. Additionally, this only works on ebooks without DRM (since you have to modify the contents of the ebook itself), so it requires users to have a certain base-level of technical know-how and willingness to get in the weeds to even get started.
Also to clarify on ReadEra, I hadn't tested on the regular version since I upgraded to Premium and didn't have it installed. However, installing it, the two apps perform the same as Premium and displays footnotes at the bottom of the page (tested with "A City on Mars" by Kelly and Zach Weinersmith out-of-the-box, and other ebooks I've modified with <aside> tags). In my experience, it's more complicated to test books in ReadEra (since it creates a library index, and takes more taps to navigate to the new test file you just created), so I've been focusing on KOReader since it's more flexible for testing and it's what I use on my PocketBook Era.
Quote:
Originally Posted by paperwhite13
This is from the end-of-chapter endnotes section:
Code:
<div class="_idFootnotes">
. . .
<div id="footnote-154" epub:type="footnote">
<p class="Footnote"><a href="#footnote-154-backlink">1</a>. L. Chiarini, <em>Arte e tecnica del film</em>, Ban, Laterza, 1962, p. 7.</p>
. . .
</div>
|
Very interesting, I've got a book that also has a <div> tag with the ID and similar epub:type="footnote" attributes (IIRC), but it doesn't appear at the bottom of the page as is. From what I can see, the official syntax asks for an <aside> tag, so I would guess that if KOReader accepts the <div> tag as well, that's just KOReader being a cool app

If you want to share a scrambled version of the ebook you're reading, I'd like to take a look at it and do some tests.
I think the inline link also needs to be formatted a certain way. In "Lords and Ladies", I've been able to get the <aside> tag around the footnote text, but it only appears at the bottom of the page if I also modify the inline link.
I'm going to upload my latest version of the script (name suffix "2024.02.10", which I modified to be more inclusive and works better than the other two) so you can play with it if you'd like.
Additionally, sometime this weekend I'll update the Dropbox folder to include both the unmodified Scrambled epubs I have along with the modified versions as changed by the latest iteration of the script and the script's log output.