Thread: KFX Format
View Single Post
Old 04-18-2016, 09:57 AM   #434
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,885
Karma: 6120478
Join Date: Nov 2009
Device: many
Actually, KF8 is more than just a compiled version of epub as it actually starts the process used in AZK and KFX of extracting sections of text (fragments) from the remaining (mainly common) pieces of the html page (the skeleton) and then these fragments can be loaded on demand using javascript to create a page for azk. Kindleunpack simply reinserts all of these fragments back into their skeletons, recreates the internal and external links, re-inserts extracted svg, rebuilds the ncx, and etc all to make a KF8 look like an epub2 (or in the case of fixed format and epub3).

But once you get to the concept of a base skeleton with fragments inserted (used in the AZK) it is not much of a step to pre-style the fragments, record their relative positioning and create a completely standard single skeleton, and then tokenize to speed processing and save space.

KevinH
KevinH is offline   Reply With Quote