Quote:
Originally Posted by nrapallo
I have successfully used Mobipocket Creator to add a Table of Contents to large .html ebooks I converted to various ebook formats, not just the .prc format.
What is required is to start Mobipocket Creator and then import your .html file and go to the Table of Contents section and click "Add a Table of Contents".
For the first level toc entries, choose the html tag name that identifies your toc entries and then place the attribute and value as well. For example, if all of your chapter headings are encased by a < div align=" right"> ... </div>, then you would enter:
Tag name = div, Attribute = align and Value = right.
Another example chapter heading could be < p class=" ch_heading"> in which case you use: p, class, ch_heading.
Mobipocket will alter your .html to place "id=" names and build an external toc .html file, which you could extract and place within your .html afterwards.
I used this same technique with several large ebooks I converted, the World Fact Book and Webster's Dictionary 1913.
Below is a screenshot of what that Table of Contents screen looks like (ignore the second and third levels).

|
Please let me get this straight.
I'm looking at a HTML with an internal link of --- <A HREF="unique identifier">...</A>.
The receiving link is <A name=unique identifier></A>
I can see plugging the A and the HREF but what do you do with the unique indentifier? (Each internal link has a different tag...)
Sorry for the ignorant questions, but you can't learn without asking....