View Single Post
Old 12-21-2010, 08:16 AM   #8
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by naisren View Post
As I know, mobi dictionary has mobi own tags, such as
Code:
<idx:entry>..</idx:entry>
<idx:orth>Label of entry in Index</idx:orth>
<idx:key name="xx">..</idx:key>
Obviously, we could not find the tags in unpacked html file.

So I could not generate it as what it was after unpack the dic.
Oh, I'd forgotten that the dictionary had weird tags. If you look at the mobiunpack script, you'll find sections commented out that will output the contents of the mobipocket file completely raw, and with various stages of conversion. Probably the stage just after adding anchors and updating links would work best for you. Just remove the # tags appropriately to enable to extra output files.
pdurrant is offline   Reply With Quote