-
Notifications
You must be signed in to change notification settings - Fork 8
ePub Navigation Document
kjaebker edited this page Jan 30, 2012
·
4 revisions
The OSCI Toolkit navigation module follows the ePub3 Navigation Document Specification when generating output.
Additional metadata for a content section is added with attributes of the form data-[name] on the <a> element linking to the content.
Example:
<nav epub:type='toc' id='book-11-toc'>
<h1>Table of Contents</h1>
<ol>
<li><a data-section-id='12' data-length='0' data-subtree_length='66' data-timestamp='1327004893' href='/oscitoolkit/node/12/bodycopy'>Section 1</a>
<ol>
<li><a data-section-id='6' data-length='0' data-subtree_length='0' data-timestamp='1327004989' href='/oscitoolkit/node/6/bodycopy'>Brevitas Similis Verto</a></li>
<li><a data-section-id='7' data-length='0' data-subtree_length='0' data-timestamp='1327004998' href='/oscitoolkit/node/7/bodycopy'>Causa Esse Ullamcorper</a></li>
<li><a data-section-id='10' data-length='66' data-subtree_length='66' data-timestamp='1327355244' href='/oscitoolkit/node/10/bodycopy'>Autem Refero Sit Vero</a></li>
</ol>
</li>
<li><a data-section-id='13' data-length='0' data-subtree_length='139' data-timestamp='1327004882' href='/oscitoolkit/node/13/bodycopy'>Section 2</a>
<ol>
<li><a data-section-id='1' data-length='139' data-subtree_length='139' data-timestamp='1327348157' href='/oscitoolkit/node/1/bodycopy'>Dolus Nunc Pagus Qui</a></li>
<li><a data-section-id='8' data-length='0' data-subtree_length='0' data-timestamp='1327005051' href='/oscitoolkit/node/8/bodycopy'>Eligo Gemino Hos</a></li>
<li><a data-section-id='14' data-length='0' data-subtree_length='0' data-timestamp='1327005114' href='/oscitoolkit/node/14/bodycopy'>Sub section</a>
<ol>
<li><a data-section-id='9' data-length='0' data-subtree_length='0' data-timestamp='1327347380' href='/oscitoolkit/node/9/bodycopy'>Ideo Jus Ratis Veniam</a></li>
</ol>
</li>
</ol>
</li>
</ol>
</nav>
Have questions? Please ask on the mailing list.
Table of Contents
Other Links