Last active
March 8, 2016 18:09
-
-
Save elmimmo/d7b8dbebc4e972734e9a to your computer and use it in GitHub Desktop.
The NCX DOCTYPE is not required in EPUB 2, and you are actually better off without it. See why.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/"> | |
<head> | |
<meta name="dtb:uid" content="urn:uuid:e04c4d19-57af-4495-a8c8-882695b7c8dc" /> | |
</head> | |
<docTitle> | |
<text/> | |
</docTitle> | |
<navMap> | |
<navPoint id="title_page"> | |
<navLabel> | |
<text>My EPUB test</text> | |
</navLabel> | |
<content src="title_page.xhtml" /> | |
</navPoint> | |
<navPoint id="ch001"> | |
<navLabel> | |
<text>First chapter</text> | |
</navLabel> | |
<content src="ch001.xhtml" /> | |
</navPoint> | |
<navPoint id="ch002"> | |
<navLabel> | |
<text>Second chapter</text> | |
</navLabel> | |
<content src="ch002.xhtml" /> | |
</navPoint> | |
</navMap> | |
</ncx> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" | |
"http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> | |
<ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/"> | |
<head> | |
<meta name="dtb:uid" content="urn:uuid:e04c4d19-57af-4495-a8c8-882695b7c8dc" /> | |
<meta name="dtb:depth" content="1" /> | |
<meta name="dtb:totalPageCount" content="0" /> | |
<meta name="dtb:maxPageNumber" content="0" /> | |
</head> | |
<docTitle> | |
<text>My EPUB test</text> | |
</docTitle> | |
<navMap> | |
<navPoint id="title_page" playOrder="1"> | |
<navLabel> | |
<text>My EPUB test</text> | |
</navLabel> | |
<content src="title_page.xhtml" /> | |
</navPoint> | |
<navPoint id="ch001" playOrder="2"> | |
<navLabel> | |
<text>First chapter</text> | |
</navLabel> | |
<content src="ch001.xhtml" /> | |
</navPoint> | |
<navPoint id="ch002" playOrder="3"> | |
<navLabel> | |
<text>Second chapter</text> | |
</navLabel> | |
<content src="ch002.xhtml" /> | |
</navPoint> | |
</navMap> | |
</ncx> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been leaving off play order for months, never a validation error, never a problem with retailers.