View Single Post
Old 10-01-2012, 08:26 AM   #1
cafaxo
Junior Member
cafaxo began at the beginning.
 
cafaxo's Avatar
 
Posts: 1
Karma: 10
Join Date: Oct 2012
Device: Amazon Kindle Touch 5G
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 http://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!

Last edited by cafaxo; 10-01-2012 at 08:40 AM.
cafaxo is offline   Reply With Quote