<!--here are the files and templates you need to convert your Kindle material to an ePub book-->
<!--the container, which goes inside the META-INF folder-->
<?xml version="1.0"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml" />
</rootfiles>
</container>
<!--this is the contents of the mimetype file-->
application/epub+zip
<!--these are the three items inside an ePub file-->
META-INF
OEBPS
mimetype
<!--the css file template; leave out text-align for ragged right margin-->
body
{margin-left:3%;
margin-right:3%;
margin-top:3%;
margin-bottom:3%;
text-align:justify;}
[Add your <style> units here, omit beginning and ending tags.]
=========================================================
<!--this is the template for your book chunk XHTML files; clone them and name them: title page, copyright page, chapter one through whatever, about-the-author page, cover page, and maybe XHTML Table of Contents-->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>EPub Template</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
[New content goes here...]
</body>
</html>
=======================================================
<!--ncx file template-->
<?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" xml:lang="en" xmlns="http://www.daisy.org/z3986/2005/ncx/">
<head>
<meta name="dtb:uid" content="[large unique number which matches the one in the opf file - see www.framkruithof.net/uuid/uuidgen]" />
<meta name="dtb:depth" content="1" />
<meta name="dtb:totalPageCount" content="0" />
<meta name="dtb:maxPageNumber" content="0" />
</head>
<docTitle>
<text>Your Title</text>
</docTitle>
<docAuthor>
<text>Lastname, Firstname</text>
</docAuthor>
<navMap>
<navPoint id="cp" playOrder="1">
<navLabel><text>Cover</text></navLabel>
<content src="cover_page.xhtml" />
</navPoint>
<navPoint id="tp" playOrder="2">
<navLabel><text>Title Page</text></navLabel>
<content src="title_page.xhtml" />
</navPoint>
<navPoint id="copy" playOrder="3">
<navLabel><text>Copyright Page</text></navLabel>
<content src="copyright.xhtml" />
</navPoint>
<navPoint id="c1" playOrder="4">
<navLabel><text>Chapter 1</text></navLabel>
<content src="chap_1.xhtml" />
</navPoint>
<navPoint id="c2" playOrder="5">
<navLabel><text>Chapter 2</text></navLabel>
<content src="chap_2.xhtml" />
</navPoint>
<navPoint id="c3" playOrder="6">
<navLabel><text>Chapter 3</text></navLabel>
<content src="chap_3.xhtml" />
</navPoint>
<navPoint id="c4" playOrder="7">
<navLabel><text>Chapter 4</text></navLabel>
<content src="chap_4.xhtml" />
</navPoint>
<navPoint id="c5" playOrder="8">
<navLabel><text>Chapter 5</text></navLabel>
<content src="chap_5.xhtml" />
</navPoint>
<navPoint id="c6" playOrder="9">
<navLabel><text>Chapter 6</text></navLabel>
<content src="chap_6.xhtml" />
</navPoint>
<navPoint id="c7" playOrder="10">
<navLabel><text>Chapter 7</text></navLabel>
<content src="chap_7.xhtml" />
</navPoint>
<navPoint id="c8" playOrder="11">
<navLabel><text>Chapter 8</text></navLabel>
<content src="chap_8.xhtml" />
</navPoint>
<navPoint id="c9" playOrder="12">
<navLabel><text>Chapter 9</text></navLabel>
<content src="chap_9.xhtml" />
</navPoint>
<navPoint id="c10" playOrder="13">
<navLabel><text>Chapter 10</text></navLabel>
<content src="chap_10.xhtml" />
</navPoint>
<navPoint id="c11" playOrder="14">
<navLabel><text>Chapter 11</text></navLabel>
<content src="chap_11.xhtml" />
</navPoint>
<navPoint id="c12" playOrder="15">
<navLabel><text>Chapter 12</text></navLabel>
<content src="chap_12.xhtml" />
</navPoint>
<navPoint id="c13" playOrder="16">
<navLabel><text>Chapter 13</text></navLabel>
<content src="chap_13.xhtml" />
</navPoint>
<navPoint id="c14" playOrder="17">
<navLabel><text>Chapter 14</text></navLabel>
<content src="chap_14.xhtml" />
</navPoint>
<navPoint id="c15" playOrder="18">
<navLabel><text>Chapter 15</text></navLabel>
<content src="chap_15.xhtml" />
</navPoint>
<navPoint id="c16" playOrder="19">
<navLabel><text>Chapter 16</text></navLabel>
<content src="chap_16.xhtml" />
</navPoint>
<navPoint id="c17" playOrder="20">
<navLabel><text>Chapter 17</text></navLabel>
<content src="chap_17.xhtml" />
</navPoint>
<navPoint id="c18" playOrder="21">
<navLabel><text>Chapter 18</text></navLabel>
<content src="chap_18.xhtml" />
</navPoint>
<navPoint id="c19" playOrder="22">
<navLabel><text>Chapter 19</text></navLabel>
<content src="chap_19.xhtml" />
</navPoint>
<navPoint id="c20" playOrder="23">
<navLabel><text>Chapter 20</text></navLabel>
<content src="chap_20.xhtml" />
</navPoint>
<navPoint id="about" playOrder="24">
<navLabel><text>About the Author</text></navLabel>
<content src="about.xhtml" />
</navPoint>
</navMap>
</ncx>
==========================================================
<!--the opf file template-->
<?xml version="1.0"?>
<package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title>Your Title</dc:title>
<dc:language>en</dc:language>
<dc:identifier id="BookId" opf:scheme="uuid">[large unique number which matches the one in the ncx file - see www.framkruithof.net/uuid/uuidgen]</dc:identifier>
<dc:creator opf:file-as="Lastname, Firstname" opf:role="aut">Firstname Lastname</dc:creator>
<dc:publisher>Fake-out Publications</dc:publisher>
<dc:date>YYYY-MM-DD</dc:date>
<dc:subject>Type of book</dc:subject>
<dc:description>Say a few words about your book.</dc:description>
<meta name="cover" content="cover" />
</metadata>
<manifest>
<item id="cover_page" href="cover_page.xhtml" media-type="application/xhtml+xml" />
<item id="title_page" href="title_page.xhtml" media-type="application/xhtml+xml" />
<item id="copyright" href="copyright.xhtml" media-type="application/xhtml+xml" />
<item id="chap1" href="chap_1.xhtml" media-type="application/xhtml+xml" />
<item id="chap2" href="chap_2.xhtml" media-type="application/xhtml+xml" />
<item id="chap3" href="chap_3.xhtml" media-type="application/xhtml+xml" />
<item id="chap4" href="chap_4.xhtml" media-type="application/xhtml+xml" />
<item id="chap5" href="chap_5.xhtml" media-type="application/xhtml+xml" />
<item id="chap6" href="chap_6.xhtml" media-type="application/xhtml+xml" />
<item id="chap7" href="chap_7.xhtml" media-type="application/xhtml+xml" />
<item id="chap8" href="chap_8.xhtml" media-type="application/xhtml+xml" />
<item id="chap9" href="chap_9.xhtml" media-type="application/xhtml+xml" />
<item id="chap10" href="chap_10.xhtml" media-type="application/xhtml+xml" />
<item id="chap11" href="chap_11.xhtml" media-type="application/xhtml+xml" />
<item id="chap12" href="chap_12.xhtml" media-type="application/xhtml+xml" />
<item id="chap13" href="chap_13.xhtml" media-type="application/xhtml+xml" />
<item id="chap14" href="chap_14.xhtml" media-type="application/xhtml+xml" />
<item id="chap15" href="chap_15.xhtml" media-type="application/xhtml+xml" />
<item id="chap16" href="chap_16.xhtml" media-type="application/xhtml+xml" />
<item id="chap17" href="chap_17.xhtml" media-type="application/xhtml+xml" />
<item id="chap18" href="chap_18.xhtml" media-type="application/xhtml+xml" />
<item id="chap19" href="chap_19.xhtml" media-type="application/xhtml+xml" />
<item id="chap20" href="chap_20.xhtml" media-type="application/xhtml+xml" />
<item id="about" href="about.xhtml" media-type="application/xhtml+xml" />
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="stylesheet" href="style.css" media-type="text/css" />
<item id="cover" href="cover.jpg" media-type="image/jpeg" />
<item id="title" href="title_page.gif" media-type="image/gif" />
<item id="chap1_start" href="cs-1.gif" media-type="image/gif" />
<item id="chap2_start" href="cs-2.gif" media-type="image/gif" />
<item id="chap3_start" href="cs-3.gif" media-type="image/gif" />
<item id="chap4_start" href="cs-4.gif" media-type="image/gif" />
<item id="chap5_start" href="cs-5.gif" media-type="image/gif" />
<item id="chap6_start" href="cs-6.gif" media-type="image/gif" />
<item id="chap7_start" href="cs-7.gif" media-type="image/gif" />
<item id="chap8_start" href="cs-8.gif" media-type="image/gif" />
<item id="chap9_start" href="cs-9.gif" media-type="image/gif" />
<item id="chap10_start" href="cs-10.gif" media-type="image/gif" />
<item id="chap11_start" href="cs-11.gif" media-type="image/gif" />
<item id="chap12_start" href="cs-12.gif" media-type="image/gif" />
<item id="chap13_start" href="cs-13.gif" media-type="image/gif" />
<item id="chap14_start" href="cs-14.gif" media-type="image/gif" />
<item id="chap15_start" href="cs-15.gif" media-type="image/gif" />
<item id="chap16_start" href="cs-16.gif" media-type="image/gif" />
<item id="chap17_start" href="cs-17.gif" media-type="image/gif" />
<item id="chap18_start" href="cs-18.gif" media-type="image/gif" />
<item id="chap19_start" href="cs-19.gif" media-type="image/gif" />
<item id="chap20_start" href="cs-20.gif" media-type="image/gif" />
</manifest>
<spine toc="ncx">
<itemref idref="cover_page" />
<itemref idref="title_page" />
<itemref idref="copyright" />
<itemref idref="chap1" />
<itemref idref="chap2" />
<itemref idref="chap3" />
<itemref idref="chap4" />
<itemref idref="chap5" />
<itemref idref="chap6" />
<itemref idref="chap7" />
<itemref idref="chap8" />
<itemref idref="chap9" />
<itemref idref="chap10" />
<itemref idref="chap11" />
<itemref idref="chap12" />
<itemref idref="chap13" />
<itemref idref="chap14" />
<itemref idref="chap15" />
<itemref idref="chap16" />
<itemref idref="chap17" />
<itemref idref="chap18" />
<itemref idref="chap19" />
<itemref idref="chap20" />
<itemref idref="about" />
</spine>
</package>
======================
<!--if you add an XHTML TOC, add this to the <manifest> section-->
<item id="toc" href="toc.xhtml" media-type="application/xhtml+xml" />
<!--add this to the bottom of the <spine>-->
<itemref idref="toc" />
<!--to get your ePub to open after the cover page, modify the listing in the <spine> section-->
<itemref idref="cover" linear="no" />
=========================================================
<!--assembling the ePub file with zip.exe, use these lines at the command prompt-->
zip book.epub -DX0 mimetype
zip book.epub -rDX9 META-INF OEBPS
<!--end of ePub templates-->
No comments:
Post a Comment
Comments are welcome -- and moderated by me. Please be patient.