Amazon Kindle Kindle Podręcznik Użytkownika Strona 18

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 90
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 17
Publishing on Kindle: Guidelines for Publishers
<nav epub:type="toc">
<ol>
<li><a href="Sway_body.html#preface_1">AUTHOR'S NOTE</a></li>
<li><a href="Sway_body.html#part_1">PART ONE</a>
<ol>
<li><a href="Sway_body.html#chapter_1">THE HOUSES, 1969</a></li>
<li><a href="Sway_body.html#chapter_2">ROCK AND ROLL, 1962</a></li>
<li><a href="Sway_body.html#chapter_3">THE EMPRESS, 1928–1947</a></li>
</ol>
</li>
</ol>
</nav>
The example above defines the following TOC hierarchy:
AUTHOR'S NOTE
PART ONE
THE HOUSES, 1969
ROCK AND ROLL, 1962
THE EMPRESS, 19281947
This excerpt from the OPF (publication header file) shows how to declare the toc nav element in the
<manifest>:
Example:
<manifest>
<item id="toc" properties="nav" href="xhtml/toc.xhtml" media-
type="application/xhtml+xml"/>
Using it in the <spine> is optional if it will be used as the HTML TOC.
<spine>
<itemref idref="toc"/>
3.3.1.2 Creating a Logical TOC Using NCX
NCX is part of the IDPF 2.0 specification and is described at
http://www.niso.org/workrooms/daisy/Z39-
86-2005.html#NCX.
NCX Example:
<navMap>
<navPoint class="titlepage" id="L1T" playOrder="1">
<navLabel><text>AUTHOR'S NOTE</text></navLabel>
<content src="Sway_body.html#preface_1" />
</navPoint>
<navPoint class="book" id="level1-book1" playOrder="2">
Kindle Publishing Guidelines Amazon.com 18
Przeglądanie stron 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 89 90

Komentarze do niniejszej Instrukcji

Brak uwag