Skip to content

Instantly share code, notes, and snippets.

@takahashim
Forked from masuidrive/content.opf
Created April 5, 2010 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takahashim/356289 to your computer and use it in GitHub Desktop.
Save takahashim/356289 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title>samp001</dc:title>
<dc:creator opf:role="aut">sample</dc:creator>
<dc:language>ja</dc:language>
<dc:identifier id="BookID" opf:scheme="URL">http://example.com/epub/sample/sample1.epub</dc:identifier>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="0.xhtml" href="0.xhtml" media-type="application/xhtml+xml"/>
<item id="1.xhtml" href="1.xhtml" media-type="application/xhtml+xml"/>
<item id="2.xhtml" href="2.xhtml" media-type="application/xhtml+xml"/>
<item id="3.xhtml" href="3.xhtml" media-type="application/xhtml+xml"/>
<item id="4.xhtml" href="4.xhtml" media-type="application/xhtml+xml"/>
<item id="5.xhtml" href="5.xhtml" media-type="application/xhtml+xml"/>
<item id="6.xhtml" href="6.xhtml" media-type="application/xhtml+xml"/>
<item id="7.xhtml" href="7.xhtml" media-type="application/xhtml+xml"/>
<item id="8.xhtml" href="8.xhtml" media-type="application/xhtml+xml"/>
<item id="9.xhtml" href="9.xhtml" media-type="application/xhtml+xml"/>
<item id="10.xhtml" href="10.xhtml" media-type="application/xhtml+xml"/>
<item id="11.xhtml" href="11.xhtml" media-type="application/xhtml+xml"/>
<item id="12.xhtml" href="12.xhtml" media-type="application/xhtml+xml"/>
<item id="13.xhtml" href="13.xhtml" media-type="application/xhtml+xml"/>
<item id="14.xhtml" href="14.xhtml" media-type="application/xhtml+xml"/>
<item id="15.xhtml" href="15.xhtml" media-type="application/xhtml+xml"/>
<item id="16.xhtml" href="16.xhtml" media-type="application/xhtml+xml"/>
<item id="17.xhtml" href="17.xhtml" media-type="application/xhtml+xml"/>
<item id="18.xhtml" href="18.xhtml" media-type="application/xhtml+xml"/>
<item id="19.xhtml" href="19.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="0.xhtml"/>
<itemref idref="1.xhtml"/>
<itemref idref="2.xhtml"/>
<itemref idref="3.xhtml"/>
<itemref idref="4.xhtml"/>
<itemref idref="5.xhtml"/>
<itemref idref="6.xhtml"/>
<itemref idref="7.xhtml"/>
<itemref idref="8.xhtml"/>
<itemref idref="9.xhtml"/>
<itemref idref="10.xhtml"/>
<itemref idref="11.xhtml"/>
<itemref idref="12.xhtml"/>
<itemref idref="13.xhtml"/>
<itemref idref="14.xhtml"/>
<itemref idref="15.xhtml"/>
<itemref idref="16.xhtml"/>
<itemref idref="17.xhtml"/>
<itemref idref="18.xhtml"/>
<itemref idref="19.xhtml"/>
</spine>
</package>
<!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN"
"http://www.daisy.org/z3986/2005/ncx-2005-1.dtd">
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" dir="rtl">
<head>
<meta name="dtb:uid"
content="http://example.com/epub/sample/sample1.epub"/>
<meta name="dtb:depth" content="1"/>
<meta name="dtb:totalPageCount" content="0"/>
<meta name="dtb:maxPageNumber" content="0"/>
</head>
<docTitle>
<text>sample</text>
</docTitle>
<navMap>
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Page 0</text>
</navLabel>
<content src="0.xhtml"/>
</navPoint>
<navPoint id="navPoint-2" playOrder="2">
<navLabel>
<text>Page 2</text>
</navLabel>
<content src="1.xhtml"/>
</navPoint>
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>Page 4</text>
</navLabel>
<content src="2.xhtml"/>
</navPoint>
<navPoint id="navPoint-4" playOrder="4">
<navLabel>
<text>Page 6</text>
</navLabel>
<content src="3.xhtml"/>
</navPoint>
<navPoint id="navPoint-5" playOrder="5">
<navLabel>
<text>Page 8</text>
</navLabel>
<content src="4.xhtml"/>
</navPoint>
<navPoint id="navPoint-6" playOrder="6">
<navLabel>
<text>Page 10</text>
</navLabel>
<content src="5.xhtml"/>
</navPoint>
<navPoint id="navPoint-7" playOrder="7">
<navLabel>
<text>Page 12</text>
</navLabel>
<content src="6.xhtml"/>
</navPoint>
<navPoint id="navPoint-8" playOrder="8">
<navLabel>
<text>Page 14</text>
</navLabel>
<content src="7.xhtml"/>
</navPoint>
<navPoint id="navPoint-9" playOrder="9">
<navLabel>
<text>Page 16</text>
</navLabel>
<content src="8.xhtml"/>
</navPoint>
<navPoint id="navPoint-10" playOrder="10">
<navLabel>
<text>Page 18</text>
</navLabel>
<content src="9.xhtml"/>
</navPoint>
<navPoint id="navPoint-11" playOrder="11">
<navLabel>
<text>Page 20</text>
</navLabel>
<content src="10.xhtml"/>
</navPoint>
<navPoint id="navPoint-12" playOrder="12">
<navLabel>
<text>Page 22</text>
</navLabel>
<content src="11.xhtml"/>
</navPoint>
<navPoint id="navPoint-13" playOrder="13">
<navLabel>
<text>Page 24</text>
</navLabel>
<content src="12.xhtml"/>
</navPoint>
<navPoint id="navPoint-14" playOrder="14">
<navLabel>
<text>Page 26</text>
</navLabel>
<content src="13.xhtml"/>
</navPoint>
<navPoint id="navPoint-15" playOrder="15">
<navLabel>
<text>Page 28</text>
</navLabel>
<content src="14.xhtml"/>
</navPoint>
<navPoint id="navPoint-16" playOrder="16">
<navLabel>
<text>Page 30</text>
</navLabel>
<content src="15.xhtml"/>
</navPoint>
<navPoint id="navPoint-17" playOrder="17">
<navLabel>
<text>Page 32</text>
</navLabel>
<content src="16.xhtml"/>
</navPoint>
<navPoint id="navPoint-18" playOrder="18">
<navLabel>
<text>Page 34</text>
</navLabel>
<content src="17.xhtml"/>
</navPoint>
<navPoint id="navPoint-19" playOrder="19">
<navLabel>
<text>Page 36</text>
</navLabel>
<content src="18.xhtml"/>
</navPoint>
<navPoint id="navPoint-20" playOrder="20">
<navLabel>
<text>Page 38</text>
</navLabel>
<content src="19.xhtml"/>
</navPoint>
</navMap>
</ncx>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment