Hi,
K8 mobi files use special additional indexes (a skeleton index and a div table index for lack of better names) that can be parsed to recreate the original xhtml file structure. It also uses FDST records info to split out flow items. If you use the latest mobi_unpack.py and support code (should be identical or close to what user_none gave you) and turn on all DEBUG settings you can see almost everything.
Focus on the code in mobi_k8proc.py and mobi_html.py to see how to unpack the K8 mobi and build an epub from it.
If you have questions about the code, ask in the Mobi Decoder topic in the Mobi forum (or pm me directly and I can explain it and the format).
Take Care,
KevinH
|