View Single Post
Old 03-09-2022, 12:32 PM   #1283
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,919
Karma: 6240958
Join Date: Nov 2009
Device: many
It differs if embedded image, svg image, image url in css files, and of course by mobi6 vs mobi8 (KF8).

Check out the comments in the appropriate routines in mobi_html.py for some info.

For KF8 you will need to understand how aids are base 32 numbers to offsets in the rawml file, what a skeleton vs fragment tables, are etc.

You may just be better off looking at the generated xhtml files in the epub it creates to find the mapping.


Quote:
Originally Posted by kakaka View Post
Ok cool, Could you point me to that algorithm?

Last edited by KevinH; 03-09-2022 at 02:28 PM.
KevinH is online now   Reply With Quote