Quote:
Originally Posted by paola
do you know how an original epub and a liberated kepub compare?
|
The most noticeable difference is when you look at the chapter files, there are <span class="koboSpan" id="kobo.xxx.yy"> tags wrapped around sentences and spans. Generally the chapter title is 1.1 and each paragraph/span/div tag defines a block. Moving to a new block increments the xxx with the yy indicating the sentence (using sentence loosely) within the block. Oddly, I can't find where the koboSpan class is defined.
Kobo includes two extra style files. The kobo.css file seems to be empty in all the newer kepubs I've looked at. There is a javascript file (kobo.js) which seems to define a night mode, sets up columnization, controls pagination and a chunk of code related to bookmarking using the kobospan tags. That chunk includes a couple of comments about Webkit:
Code:
* Estimate the first anchor for the specified page number. This is used on the broken WebKit
* where we do not know for sure if the specific anchor actually is on the page.
and
Code:
* Estimate the page number for the specified anchor. This is used on the broken WebKit where we
* do not know for sure how things are columnized. The page number returned is zero based.
Regards,
David