User`s guide
Publishing on Kindle: Guidelines for Publishers
<navLabel><text>PART ONE</text></navLabel>
<content src="Sway_body.html#part_1" />
<navPoint class="chapter" id="level2-book1chap01" playOrder="3">
<navLabel><text>THE HOUSES, 1969</text></navLabel>
<content src="Sway_body.html#chapter_1" />
</navPoint>
<navPoint class="chapter" id="level2-book1chap02" playOrder="4">
<navLabel><text>ROCK AND ROLL, 1962</text></navLabel>
<content src="Sway_body.html#chapter_2" />
</navPoint>
<navPoint class="chapter" id="level2-book1chap03" playOrder="5">
<navLabel><text>THE EMPRESS, 1928–1947</text></navLabel>
<content src="Sway_body.html#chapter_3" />
</navPoint>
</navPoint>
</navMap>
The NCX example above defines the following TOC hierarchy:
AUTHOR'S NOTE
PART ONE
THE HOUSES, 1969
ROCK AND ROLL, 1962
THE EMPRESS, 1928–1947
This excerpt from the OPF (publication header file) shows how to add an NCX table of contents to a book.
Declare the NCX in the <manifest>:
<manifest>
<item id="toc" media-type="application/x-dtbncx+xml"
href="toc.ncx"/>
And use it in the <spine>:
<spine toc="toc">
3.3.2 TOC Guideline #2: HTML TOC Must Be Linked
Place an HTML page with a table of contents at the beginning of the book, so that users can easily jump
to locations within it (typically to a chapter). The entries in the TOC must be HTML links so that users can
click to go to a specific location. A table of contents that is not made of links is not useful on Kindle.
3.3.3 TOC Guideline #3: HTML TOC Must Be Referenced
To enable the customer to jump to the TOC from the Kindle menu, the OPF file must reference the TOC
from a TOC guide item or the navigation html file must reference a TOC in a landmarks nav element.
Every Kindle device or application has a user interface element that allows the user to jump to the TOC
guide item or TOC item in a landmarks nav element from anywhere in the book.
Kindle Publishing Guidelines Amazon.com 19










