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
Ok cool, Could you point me to that algorithm?
|