MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Formats (https://www.mobileread.com/forums/forumdisplay.php?f=168)
-   -   Understanding the structure of an index inside a mobi file (https://www.mobileread.com/forums/showthread.php?t=192505)

cafaxo 10-01-2012 09:26 AM

Understanding the structure of an index inside a mobi file
 
While writing a mobi file parser, I tried to implement the reverse engineered specifications of the mobi format from https://wiki.mobileread.com/wiki/MOBI, but I struggled to understand how to correctly parse the index defined by the INDX, IDXT and TAGX sections.

In order to solve this problem, I inspected a mobi file generated by kindlegen, which (unfortunately) only increased my confusion. The order of the sections defining only a single entry was something like "INDX - TAGX - IDXT - INDX - IDXT". (followed by the RESC section; may be irrelevant)

I would appreciate any explanations which would help me to understand the structures of these indices very much!


All times are GMT -4. The time now is 07:15 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.