<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>epubBlog &#187; EPUB</title>
	<atom:link href="http://blog.epubbooks.com/tag/epub-format/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.epubbooks.com</link>
	<description>epubBlog: EPUB eBook Help &#38; Resources</description>
	<lastBuildDate>Tue, 15 May 2012 08:49:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Why Amazon Needs to Support the EPUB eBook Format</title>
		<link>http://blog.epubbooks.com/655/why-amazon-needs-to-support-the-epub-ebook-format</link>
		<comments>http://blog.epubbooks.com/655/why-amazon-needs-to-support-the-epub-ebook-format#comments</comments>
		<pubDate>Mon, 23 Aug 2010 17:05:02 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[IDPF]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[ZDNet]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=655</guid>
		<description><![CDATA[In a recent ZDNET article, Jason Perlow described his hesitations for buying one of the new Amazon Kindle&#8217;s, which was due to its lack of EPUB support. Many responses to the article noted that the &#8220;average user&#8221; doesn&#8217;t care about the format of an eBook, only for the buying experience. I&#8217;m not going to argue [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/655/why-amazon-needs-to-support-the-epub-ebook-format" title="Permanent link to Why Amazon Needs to Support the EPUB eBook Format"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/amazon-kindle-3.jpg" width="128" height="217" alt="Post image for Why Amazon Needs to Support the EPUB eBook Format" /></a>
</p><p>In a recent <a title="ZDNet article from Jason Perlow on EPUB and the Kindle" href="http://www.zdnet.com/blog/perlow/epub-the-final-barrier-for-kindle-adoption/13804" rel="nofollow">ZDNET article</a>, Jason Perlow described his hesitations for buying one of the new <a title="Amazon Kindle" href="http://www.epubbooks.com/links/post655/amazon/kindle/" rel="nofollow" target="_blank">Amazon Kindle&#8217;s</a>, which was due to its lack of EPUB support. Many responses to the article noted that the &#8220;average user&#8221; doesn&#8217;t care about the format of an eBook, only for the buying experience. I&#8217;m not going to argue on that point because in essence, they are right; the average user doesn&#8217;t care. Yet there are two real reasons why having one eBook standard is important, and these reasons will certainly impact the end user.</p>
<h2>Publishing Infrastructure and Costs</h2>
<p>Although most publishers will use a XML Master Format for storing the original book content, they still have to spend a lot of time, effort and costs in producing and maintaining all the different output formats they need to get their books in to the buyer&#8217;s hands. There are also no guarantees that all these different output formats will support the same kinds of features, which will mean even more resources (costs) will be needed to support these alternate formats.</p>
<p>Now, if the publishers only had work one eBook standard then they could spend more resources on improving their own tools to produce better output, which will ultimately give the user an even more enjoyable reading experience. Publisher will also have more resources available to give input back to the IDPF on improving the EPUB standard; bringing more and better features to the eBook world. Certainly a win-win situation for consumers and publishers. Without universal support for EPUB though, everyone will be forced to maintain multiple tool sets, which do nothing but increase costs.<span id="more-655"></span></p>
<p><em>I won&#8217;t bring DRM in to this conversation as it is actually independent to the eBook format itself and should not be used as an argument against embracing EPUB.</em></p>
<h2>Independent Authors</h2>
<p>One important issue Jason brought up in his ZDNet article was that of self publishing authors. By giving independent authors just one eBook format to think about they are able to spend less time producing eBooks files and more time writing content. They&#8217;ll have fewer headaches in getting their books out to the public because all vendors will accept EPUB. With just one eBook standard, more and more EPUB-ready word processors and tools will be developed. The more authors that get content on to Amazon&#8217;s self publishing system, the more money Amazon will make. Isn&#8217;t this what Amazon wants?</p>
<p>Until just a couple of years ago the publishing world was in turmoil with a multitude of eBook formats it had to support, yet the arrival of EPUB had a hugely positive impact which continues to be seen today.</p>
<p>Sure, EPUB itself is not perfect, but it is being continually improved and with the <a title="EPUB Working Group" href="http://www.daisy.org/epub/">formation of the EPUB Working Group</a>, there are huge improvements being made right now.</p>
<p>I still can&#8217;t make up my mind if Amazon will ever support EPUB but I do believe that it will be more and more difficult for them to refuse to do so. Let&#8217;s hope it&#8217;s sooner rather than later.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/655/why-amazon-needs-to-support-the-epub-ebook-format/feed</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>EPUB Creation: When Subject Matters</title>
		<link>http://blog.epubbooks.com/642/epub-creation-when-subject-matters</link>
		<comments>http://blog.epubbooks.com/642/epub-creation-when-subject-matters#comments</comments>
		<pubDate>Fri, 30 Jul 2010 20:41:43 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[BISAC]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Genres]]></category>
		<category><![CDATA[LoC]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=642</guid>
		<description><![CDATA[Whether you call them categories, subjects or genres, how you label your book is vitally important, perhaps especially so in these times of the digital marketplace. Being placed correctly in ebook stores and libraries can help in both regular searches and with discovery techniques such as “Similar Titles”. The EPUB format has been developed to [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/642/epub-creation-when-subject-matters" title="Permanent link to EPUB Creation: When Subject Matters"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/epub_logo-image-only.gif" width="140" height="140" alt="EPUB Creation: When Subject Matters" /></a>
</p><p>Whether you call them categories, subjects or genres, how you label your book is vitally important, perhaps especially so in these times of the digital marketplace. Being placed correctly in ebook stores and libraries can help in both regular searches and with discovery techniques such as “Similar Titles”.</p>
<p>The EPUB format has been developed to allow your work to be properly tagged with as many subjects as is necessary to describe the title correctly, allowing any ebook reading system to categorise your books appropriately.</p>
<p>If you&#8217;re creating your EPUB files manually then you&#8217;ll need to open the .OPF in your favourite text editor. Then inside the <code>metadata</code> tags you can add your <code>subject</code> tags.</p>
<p>Here are some example entries;</p>
<p><code>&lt;dc:subject&gt;Fiction&lt;/dc:subject&gt;<br />
&lt;dc:subject&gt;Comedy&lt;/dc:subject&gt;<br />
&lt;dc:subject&gt;Satire&lt;/dc:subject&gt;</code></p>
<p>You can add as many subjects as you like, though it’s probably best to keep things focused&#8211;adding 50 tags will be just as bad as adding none.</p>
<p>The arbitrary keyword or phrase used inside the <code>subject</code> tag <a title="subject tag in the IDPF EPUB specs" href="http://www.idpf.org/doc_library/epub/OPF_2.0.1_draft.htm#Section2.2.3">hasn&#8217;t been standardised by the IDPF</a>, but I&#8217;d recommend using the <a title="BISAC Subject Headings for 2009" href="http://www.bisg.org/publications/product.php?p=14">BISAC</a>, LoC (Library of Congress) or other standardised system.</p>
<p>At this point you probably think there’s nothing more to be said on the topic, however&#8230;<span id="more-642"></span></p>
<h2>eReaders Don’t Use All Provided Genres</h2>
<p>When you send your EPUB out into the wild you’ll be somewhat disappointed to find that many eReaders don’t display every subject you placed in the OPF file, if any at all.</p>
<p>There are no IDPF requirements stating that a reading system must use any or all of the <code>subject</code> tags for categorisation and if it does use them, then you&#8217;ll find that it&#8217;s usually just the first entry. In the example above this would be <em>Fiction</em>. Still, we should take the time to add appropriate genres now as you can fully expect that future eReaders will utilise them more fully.</p>
<p>So, along with choosing the correct genres to describe your work I&#8217;d also recommend you list them in an appropriate order, and with the understanding that at this time, only the first entry will likely be used to categorise your book.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/642/epub-creation-when-subject-matters/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Experiment: Advancing EPUB with HTML5 Video&#8217;s</title>
		<link>http://blog.epubbooks.com/559/experiment-advancing-epub-with-html5-videos</link>
		<comments>http://blog.epubbooks.com/559/experiment-advancing-epub-with-html5-videos#comments</comments>
		<pubDate>Mon, 16 Nov 2009 12:20:45 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bookworm]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Liza Daly]]></category>
		<category><![CDATA[Threepress]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=559</guid>
		<description><![CDATA[There are a number of people in the eBook world who really know their ePub format &#8211; luckily for us they enjoy sharing this knowledge among the community. One of these such people is Bookworm developer, Liza Daly. There&#8217;s a lot of a misconception around the ePub format with the belief that it is not [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There are a number of people in the eBook world who really know their ePub format &#8211; luckily for us they enjoy sharing this knowledge among the community. One of these such people is Bookworm developer, Liza Daly.</p>
<p>There&#8217;s a lot of a misconception around the ePub format with the belief that it is not a very advance format to work with, this is certainly not the case. Being based on several web standards, ePub can do pretty much whatever those standards can do themselves.</p>
<p>In a recent blog post, Liza conducted an experiment to include a <a title="Liza Daly Blog" href="http://blog.threepress.org/2009/11/15/using-html5-video-in-epub/">HTML5 &lt;video&gt; in an ePub file</a>, which she accomplished by using out-of-island XML mark-up. Okay, so this is something of a hack, and very few ePub readers will render the content (although Bookworm does), but this just goes to show there&#8217;s some power in the ePub standard.</p>
<p><em>All you ePub developers out there might want to keep an eye on Lizas blog as she will be sharing lots of ePub tips throughout this month.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/559/experiment-advancing-epub-with-html5-videos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An EPUB Experience</title>
		<link>http://blog.epubbooks.com/502/an-epub-experience</link>
		<comments>http://blog.epubbooks.com/502/an-epub-experience#comments</comments>
		<pubDate>Fri, 09 Oct 2009 11:17:19 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DocBook]]></category>
		<category><![CDATA[DTBook]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[OPS]]></category>
		<category><![CDATA[PoD]]></category>
		<category><![CDATA[Publit]]></category>
		<category><![CDATA[TEI]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=502</guid>
		<description><![CDATA[A few days ago I had the pleasure of being invited up to Stockholm to sit with a bunch of like minded people and talk about eBooks &#8211; specifically the ePub format. This was a very eye-opening experience indeed. I was invited to Sweden by Publit, a company who have set themselves the task of [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/502/an-epub-experience" title="Permanent link to An EPUB Experience"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/publit-logo.jpg" width="330" height="80" alt="Post image for An EPUB Experience" /></a>
</p><p>A few days ago I had the pleasure of being invited up to Stockholm to sit with a bunch of like minded people and talk about eBooks &#8211; specifically the ePub format. This was a very eye-opening experience indeed.</p>
<p>I was invited to Sweden by <a title="Publit" href="http://www.publit.se">Publit</a>, a company who have set themselves the task of making all the Swedish out-of-print books available as PoD (Print on Demand) titles. Considering that 95% of all Swedish books ever in existence are now out of print, this is a very worthy project, if perhaps somewhat daunting. Although Publit&#8217;s main business is PoD, they are making use of this opportunity to also provide these titles as ePub eBooks.</p>
<p>During my time in Sweden we discussed the many different areas of the eBook world, including DRM (of course), the processes involved in going from scanned document (TIFF/PDF/DOC) to an eBook Master format and onto ePub creation itself.</p>
<p>Now, the people at Publit are a group of very talented individuals with plenty of technical knowledge, yet there were aspects of ePub which has left them somewhat perplexed. There were two main points which I found interesting and have heard before around the web so I thought I would share them here.<span id="more-502"></span></p>
<p><strong>&#8220;What flavours of ePub exist?&#8221;</strong> There is only one flavour of ePub, although it does currently support two different core formats; XHTML and <a title="Daisy Consortium: DTBook" href="http://www.daisy.org/">DTBook (Daisy Talking Book)</a>. I won&#8217;t go further into what makes an ePub here as Jon Noring has already written an excellent article over at Teleread.org; <a title="Teleread: ePub Demystified" href="http://www.teleread.org/2008/05/16/epub-demystified-tomorrows-e-book-reader-the-web-browser/">ePub Demystified</a>.</p>
<p>They were also asking  if I thought &#8220;<strong>the next release of ePub would have more advanced features?</strong>&#8221; (meaning video and Flash media). The answer to this question is that video and Flash, along with audio, are already possible.</p>
<p>The ePub standard (OPS) can already use these types of media because the standard is built upon  XHTML, a standard that already supports advanced media. The problem arises not from ePub but from the reading systems&#8217; ability to render these advanced features.</p>
<p><em>ePub can do more than most people think; the main restriction  is the reading system not the format.</em></p>
<p>I guess the question should be, when will the reading systems allow us to use more advanced media.</p>
<p>We also had a number of discussions on <em>Master Formats</em> (TEI, DTBook, DocBook, etc.) and which is the best to go for. That&#8217;s a difficult question but one thing that ties in with my recent thoughts is the question as to whether we can use the native DTBook format not only as the end user ePub format, but also as the eBook master. I will be looking into this further myself but if anyone has any thoughts on the use of DTBook then please share.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/502/an-epub-experience/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Free EPUB books at epubBooks.com</title>
		<link>http://blog.epubbooks.com/424/free-epub-books-at-the-new-epubbooks-com</link>
		<comments>http://blog.epubbooks.com/424/free-epub-books-at-the-new-epubbooks-com#comments</comments>
		<pubDate>Sun, 14 Jun 2009 19:08:25 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Illustrated eBooks]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=424</guid>
		<description><![CDATA[After several months of development my new epubBooks.com website is live. The new site has been developed to give access to free EPUB book downloads and I&#8217;ve designed it with simplicity of use in mind &#8211; hopefully it&#8217;s visually pleasing too. All the current downloads have been produced from public domain titles using my own [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/424/free-epub-books-at-the-new-epubbooks-com" title="Permanent link to Free EPUB books at epubBooks.com"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/epubbooks-logo-short.gif" width="201" height="60" alt="Free epubBooks" /></a>
</p><p>After several months of development my <a title="epubBooks.com homepage" href="http://www.epubbooks.com">new epubBooks.com website is live</a>. The new site has been developed to give access to free EPUB book downloads and I&#8217;ve designed it with simplicity of use in mind &#8211; hopefully it&#8217;s visually pleasing too.</p>
<p>All the current downloads have been produced from public domain titles using my own automation tools (with a little help from Liza Daly). These tools have been developed to give features which are often only found in commercial eBooks, and even then, many of the <em>classics</em> available don&#8217;t have such features.</p>
<p>All <em><strong>footnotes</strong></em> are fully linkable (as endnotes at the back of the book) both to the note itself and then back to the page it was linked from. <em><strong>Illustrations</strong></em> are included for books where they were available. Many other advanced layout and formatting features have been included, which are often only available with <em>handmade</em> books.</p>
<p>At present the library of books is quite small, but from now I will be concentrating on converting new books and improving the speed at which I can convert them.</p>
<p>Over the last year or so I&#8217;ve seen forums and blogs asking why there are not that many books which have illustrations, and so this was one area I wanted to concentrate on. It should be noted that illustrated ebooks are quite tricky to convert automatically, so the numbers of new titles being added is going to be limited, however, I&#8217;ll work to try and improve in this area.</p>
<p>If you have comments on the new website or the EPUB ebooks that I provide, then please do <a title="Contact epubBooks.com" href="http://www.epubbooks.com/contact">contact me</a>. I&#8217;d love to hear from you.</p>
<p>While developing the new site I&#8217;ve neglected the Blog terribly so I am going to make much more of an effort to update this with any EPUB relevant news on a more regular basis.</p>
<p>I hope you enjoy the new website &#8212; Mike.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/424/free-epub-books-at-the-new-epubbooks-com/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EPUB books can now be borrowed from the library</title>
		<link>http://blog.epubbooks.com/389/epub-books-can-now-be-borrowed-from-the-library</link>
		<comments>http://blog.epubbooks.com/389/epub-books-can-now-be-borrowed-from-the-library#comments</comments>
		<pubDate>Sat, 17 Jan 2009 17:00:54 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[OverDrive]]></category>
		<category><![CDATA[TeleRead]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=389</guid>
		<description><![CDATA[I Twittered (@epub) about the Cleveland Public Library press release when it was first announced, and David from TeleRead has also written a post on this. &#8220;This&#8221; being that the Cleveland library is the first library to offer up eBook downloads in the EPUB format! Naturally this is great news for the EPUB fans, but [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/389/epub-books-can-now-be-borrowed-from-the-library" title="Permanent link to EPUB books can now be borrowed from the library"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/clevnet-library-logo.jpg" width="196" height="82" alt="CLEVNET Library Logo" /></a>
</p><p>I Twittered (<a title="epubBooks.com on Twitter" href="http://www.twitter.com/epub">@epub</a>) about the Cleveland Public Library press release when it was first announced, and David from TeleRead has also written a post on this. &#8220;This&#8221; being that the Cleveland library is the first library to offer up eBook downloads in the EPUB format! Naturally this is great news for the EPUB fans, but more importantly it&#8217;s great for the general public at large.</p>
<p>OverDrive are providing them and another 8,500 libraries access to EPUB books for borrowing. We must also presume that as OverDrive increase their number of EPUB titles , all these libraries will be offered them too.</p>
<p><a title="TeleRead blog on the OverDrive/Cleaveland news" href="http://www.teleread.org/blog/2009/01/17/epub-coming-to-many-more-libraries-clevelands-just-a-start/">As TeleRead mentions</a>, it would be great if they could also offer their books via popular iPhone readers such as Stanza which could then encourage younger readers to get back to books.</p>
<p>I expect 8,500 libraries is a good coverage across the U.S. but as an European I hope our libraries can strike a similiar deal. If both sides of the big pond can offer up these services then there&#8217;s potential for more countries to follow suit, which would be particularly useful for those where moving a ton of paper books around can be quite difficult and expensive.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/389/epub-books-can-now-be-borrowed-from-the-library/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Marking Up Page Numbers in the EPUB NCX</title>
		<link>http://blog.epubbooks.com/346/marking-up-page-numbers-in-the-epub-ncx</link>
		<comments>http://blog.epubbooks.com/346/marking-up-page-numbers-in-the-epub-ncx#comments</comments>
		<pubDate>Tue, 09 Dec 2008 19:47:18 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[NCX]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=346</guid>
		<description><![CDATA[Below is an example &#60;pageList&#62; markup (that is valid per the NCX DTD) which can be used to mark up page numbers within ePub documents. Note that &#60;pageList&#62; must be placed right after the required &#60;navMap&#62;, and must occur before the first optional &#60;navList&#62;. There may be one and only one &#60;pageList&#62; (but there can [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Below is an example &lt;pageList&gt; markup (that is valid per the NCX DTD) which can be used to mark up page numbers within ePub documents.</p>
<p>Note that &lt;pageList&gt; must be placed right after the required &lt;navMap&gt;, and must occur before the first optional &lt;navList&gt;. There may be one and only one &lt;pageList&gt; (but there can be any number of &lt;navList&gt; &#8212; of course, there can only be one &lt;navMap&gt;).</p>
<pre>&lt;pageList id="page-mapping"&gt;

  &lt;navLabel&gt;&lt;text&gt;Paper Edition Page Mapping&lt;/text&gt;&lt;/navLabel&gt;

  &lt;pageTarget id="page-iii" value="3" type="front" playOrder="82"&gt;
    &lt;navLabel&gt;&lt;text&gt;Page iii&lt;/text&gt;&lt;/navLabel&gt;
    &lt;content src="frontmatter.html#pageiii"/&gt;
  &lt;/pageTarget&gt;

  &lt;!-- ... --&gt;

  &lt;pageTarget id="page-105" value="105" type="normal" playOrder="192"&gt;
    &lt;navLabel&gt;&lt;text&gt;Page 105&lt;/text&gt;&lt;/navLabel&gt;
    &lt;content src="chap5.html#page105"/&gt;
  &lt;/pageTarget&gt;

&lt;/pageList&gt;</pre>
<p><strong>Notes:</strong></p>
<p><strong>1.</strong> Currently there is an error in epubcheck 1.0.3 which says &lt;pageList&gt; must include both the <em>id</em> and <em>class</em> attributes, while they should be optional. Hopefully that bug will get fixed. The above markup includes the optional <em>id</em> (generally a good idea), but not the <em>class</em> so it will not validate to 1.0.3.<br />
<span id="more-346"></span><br />
<strong>2.</strong> On &lt;pageTarget&gt;, the <em>type</em> attribute is required and takes one of three values: <em>front</em>, <em>normal</em>, or <em>special</em>. I interpret <em>front</em> to mean front-matter, <em>normal</em> to mean ordinary body matter, and <em>special</em> to mean back matter or some other special section which is not front or body matter.</p>
<p><strong>3.</strong> On &lt;pageTarget&gt;, the <em>value</em> attribute is optional and I interpret it to contain an integer number expressing the page value associated with the given <em>type</em>. a <em>type</em>:<em>value</em> pair must be unique in the NCX, which cannot be checked by XML validation. [Note that <em>playOrder</em> is required.]</p>
<p><strong>4.</strong> Based on figuring out how this would work in the authoring and reading system environments, it is <strong>highly recommended</strong> that the target fragment identifier for the &#8220;new page&#8221; NOT point to an existing <em>id</em> associated with some document structure, but should point to an <em>id</em> specifically associated with the beginning of a new page.</p>
<p>This means adding <em>id</em> to either an existing element marking the beginning of a new page which does not already have an <em>id</em>, or adding a &lt;span class=&#8221;newpage&#8221; id=&#8221;pagexxx&#8221;&gt;&lt;/span&gt; or &lt;div class=&#8221;newpage&#8221; id=&#8221;pagexxx&#8221;&gt;&lt;/div&gt; as needed to pinpoint the location of the start of a new page and its value.</p>
<p>Note that in my example above, I added special <em>id</em> values of <em>pageiii</em> and <em>page105</em> to the content, and not used <em>id</em> values associated with some document structure (such as header, paragraph, etc.)</p>
<p>[<strong>Editors Note:</strong> Thanks to Jon Noring for writing the above article.</p>
<p>I would like to add that although the above method IS valid against the NCX DTD, marking up <em>pages numbers</em> in this way has not yet been officially approved by the IDPF. It must also be noted that there are yet no reading systems that would utilize this information.</p>
<p>This method is now being discussed in the EPUB Working Group. If it does become part of the official specification, then it should not be a burden on reading system developers since the syntax for &lt;navList&gt; and &lt;pageList&gt; is the same as that for &lt;navMap&gt;.]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/346/marking-up-page-numbers-in-the-epub-ncx/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>epubcheck and Adobe&#8217;s page-map</title>
		<link>http://blog.epubbooks.com/330/epubcheck-and-pagemap-attribute</link>
		<comments>http://blog.epubbooks.com/330/epubcheck-and-pagemap-attribute#comments</comments>
		<pubDate>Sun, 07 Dec 2008 23:36:29 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[epubcheck]]></category>
		<category><![CDATA[NCX]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=330</guid>
		<description><![CDATA[A couple of weeks back we had a new release of the epub validation tool as the old one was not validating documents properly. epubcheck-1.0.3 was released to fix the XMLParser as it was not allowing multiple validators to be added. The error was first realised by Jon Noring who noticed that Adobe&#8217;s &#8220;page-map&#8221; attribute [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A couple of weeks back we had a new release of the epub validation tool as the old one was not validating documents properly. epubcheck-1.0.3 was released to fix the XMLParser as it was not allowing multiple validators to be added.</p>
<p>The error was first realised by Jon Noring who noticed that Adobe&#8217;s &#8220;page-map&#8221; attribute extension, which is used in the NCX , was being validated incorrectly. This extended markup can be used for mapping page numbers (to align with those in the paper book edition).</p>
<p>Jon Noring has posted to several communities about the page-map issue. Here&#8217;s a short extract (slightly edited);<span id="more-330"></span></p>
<blockquote><p>I recently became aware that a few publishers are using Adobe&#8217;s &#8220;page-map attribute extension&#8221; in their EPUB publications for mapping page numbers (such as in a parallel paper book edition) to the EPUB content.</p>
<p>In principle it is a great feature [the "page-map attribute extension"], and EPUB now provides a standard way (via NCX) to do this. However, Adobe&#8217;s proprietary implementation violates two very clear requirements in the OPF &#8220;Package&#8221; specification (OPF is one of the specs which underlie EPUB):</p>
<ul>
<li><a title="IDPF OPF Specification item iii" href="http://www.idpf.org/2007/opf/OPF_2.0_final_spec.html#Section1.4.1.1">See item iii &#8212; the &#8216;page-map&#8217; attribute is not supported in the OPF Package Schema</a></li>
<li><a title="IDPF OPF Specification item A-iii" href="http://www.idpf.org/2007/opf/OPF_2.0_final_spec.html#Section1.4.2">See item A-iii. A reading system must ignore all Package markup not supported by the OPF Package schema.</a></li>
</ul>
<p>Therefore, any publisher wishing their EPUB to be fully conformant to the IDPF specifications MUST NOT use Adobe&#8217;s &#8216;page-map&#8217; extension.</p>
<p>[...] Adobe implemented &#8216;page-map&#8217; a long while back, and they may no longer officially support it after NCX became a requirement.</p></blockquote>
<p>Here is Jon&#8217;s full post; <a title="Jon Noring's page-map post at the epub community" href="http://groups.yahoo.com/group/epub-community/message/160">Important Advisory to Publishers on EPUB Format: Do not use &#8216;page-map&#8217; extension</a>.</p>
<p>Jon is pushing on this point as there is actually an alternative to the &#8216;page-map&#8217; functionality already built into NCX specifications.</p>
<blockquote><p>The right way to add page markers is with NCX, using the element which is already supported in EPUB, and furthermore is fully accessible! It is trivial for reading system developers, including Adobe, to support it since they already have to support the primary navigation list in NCX &#8212; pretty much the same code can be used to support the other link lists NCX can also support, such as page mapping, list of illustrations, and pretty much any other list one wants. NCX support for multiple navigation link lists is very powerful!</p></blockquote>
<p>I&#8217;ll make a post with more details on how to do this in the next few days.</p>
<p>Perhaps it&#8217;s difficult to ask publishers to give up a feature that currently works, but as more and more ePub reader systems implement EPUB in accordance with the specifications, then you might suddenly find that your eBooks start to break. I&#8217;m sure it&#8217;s worth a little effort now to save on what will be lots of effort in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/330/epubcheck-and-pagemap-attribute/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can we hope for an Amazon and ePub union?</title>
		<link>http://blog.epubbooks.com/277/can-we-hope-for-an-amazon-epub-union</link>
		<comments>http://blog.epubbooks.com/277/can-we-hope-for-an-amazon-epub-union#comments</comments>
		<pubDate>Wed, 26 Nov 2008 21:43:47 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[BookGlutton]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Feedbooks]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[Stanza]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=277</guid>
		<description><![CDATA[EPUB formatted books as an industry wide standard is what I, and many others want. But can we achieve this without Amazon&#8217;s adoption &#8212; at least with ePub support on their Kindle eBook reader. It will certainly be a lot easier to have a standard eBook format if Amazon joined the ePub party. I&#8217;m reluctant [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/277/can-we-hope-for-an-amazon-epub-union" title="Permanent link to Can we hope for an Amazon and ePub union?"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/amazon-epub-logo.gif" width="180" height="80" alt="Amazon/ePub Logo" /></a>
</p><p>EPUB formatted books as an industry wide standard is what I, and many others want. But can we achieve this without Amazon&#8217;s adoption &#8212; at least with ePub support on their Kindle eBook reader.</p>
<p>It will certainly be a lot easier to have a <em>standard</em> eBook format if Amazon joined the ePub party. I&#8217;m reluctant to say it but all current indications show that Amazon will not adopt the ePub format in the near future &#8211; but perhaps there is hope.</p>
<p>Recently we have seen a flurry of publishers and eBook projects (including yours truly) adopting the ePub format and a number of these are pushing their titles onto the iPhone/iPod Touch platform via the Stanza eBook reader. Feedbooks, Project Gutenberg are the two big projects but we now have Pan Macmillan offering commercial <em>Tasters</em> and in the last few days <a title="Book Glutton Press Release on STanza partnership" href="http://www.booktrade.info/index.php/showarticle/18393">BookGlutton announced that they have joined forces with Stanza</a>. Interesting times ahead for sure.</p>
<p>With all this recent iPhone/eBook activity I am asking myself, where is Amazon? The Kindle is certainly making waves with big sale numbers but this is probably nothing compared to iPhone sales. This makes me wonder if Amazon will start making their titles available on this platform and if so, what format will they use. If they use their own eBook format (AZW), they would need to release a dedicated &#8216;Amazon eBook Reader&#8217; &#8212; how many different iPhone reader applications will people accept?</p>
<p>Everyone around here knows that having one standard eBook format will better serve everyone. If Amazon opens their Kindle to the ePub format and strikes a deal with a company such as Lexcycle (Stanza) they could kill two birds with one stone. Hmm, perhaps an Amazon/Stranza union is a little too much wishful thinking.</p>
<p>Providing direct purchase and download would make Amazon a serious option for any iPhone or iPod Touch user, and vise versa.</p>
<p>So, can Amazon leverage the iPhone to further dominate the eBook market and can they continue to resist the ePub eBook format?</p>
<p><em>Disclaimer: The Amazon/ePub logo I created is intended just for fun.<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/277/can-we-hope-for-an-amazon-epub-union/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Q tags in ePub documents</title>
		<link>http://blog.epubbooks.com/263/using-q-tags-in-epub-documents</link>
		<comments>http://blog.epubbooks.com/263/using-q-tags-in-epub-documents#comments</comments>
		<pubDate>Fri, 14 Nov 2008 21:19:39 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bookworm]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IDPF]]></category>
		<category><![CDATA[OPS]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=263</guid>
		<description><![CDATA[Recently I&#8217;ve been making great progress on my ePub converter but in the process I&#8217;ve come across a few areas that have needed some thought. For this short article I&#8217;m going to discuss the XHTML Quote tag. When looking though the IDPF OPS specs I noticed that &#60;q&#62; tags are allowed within ePub documents. As [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Recently I&#8217;ve been making great progress on my ePub converter but in the process I&#8217;ve come across a few areas that have needed some thought. For this short article I&#8217;m going to discuss the XHTML Quote tag.</p>
<p>When looking though the IDPF OPS specs I noticed that &lt;q&gt; tags are allowed within ePub documents. As I mark up all quotes in my master TEI documents with a &lt;q&gt; tag I was really happy to see this. However, when I came to test my files in Adobe Digital Editions none of my quotes showed.</p>
<p>After seaching around the net I also noticed that &lt;q&gt; tags are not supported by all web browsers (i.e. Internet Explorer). Liza Daly has also noted that the HTML 5.0 specs will depreciate Q tags &#8211; will a version of XHTML follow suite in the future? Will a future IDPF OPS spec implement that future XHTML spec?</p>
<p>(FYI, Liza mentioned that she is currently working on implementing &lt;q&gt; tags in her <a title="Bookworm, the online ePub book reader" href="http://bookworm.threepress.org/">Bookworm reader</a>, with a work around for IE.)</p>
<p>This is an area which I believe ePub developers should give some serious thought over. Even if Adobe DE go ahead and implement this feature, other readers may not necessarily follow suite.</p>
<p>For my own project I have decided to convert all my &lt;q&gt; tags into regular &#8220;quote&#8221; characters. Providing more safety both now and in the long term.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/263/using-q-tags-in-epub-documents/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>W.H.Smith&#8217;s are now selling ePub eBooks!</title>
		<link>http://blog.epubbooks.com/255/whsmiths-are-now-selling-epub-ebooks</link>
		<comments>http://blog.epubbooks.com/255/whsmiths-are-now-selling-epub-ebooks#comments</comments>
		<pubDate>Mon, 27 Oct 2008 20:40:37 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Frankfurt Book Fair]]></category>
		<category><![CDATA[W.H.Smith]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=255</guid>
		<description><![CDATA[During the Digital Lunch seminar at this years Frankfurt Book Fair, Michael Vantusko from Overdrive commented that W.H.Smith was one of their eBook customers. As I was updating the epubbooks.com homepage I thought I&#8217;d check them out to see if they actually have them online yet. I don&#8217;t know the date W.H.Smith went live with [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>During the Digital Lunch seminar at <a title="2008 Frankfurt Book Fair" href="/244/epubbooks-attends-frankfurt-book-fair-2008">this years Frankfurt Book Fair</a>, Michael Vantusko from Overdrive commented that W.H.Smith was one of their eBook customers. As I was updating the epubbooks.com homepage I thought I&#8217;d check them out to see if they actually have them online yet. I don&#8217;t know the date W.H.Smith went live with their ePub books but they currently have almost 6,500 ePub titles.</p>
<p>As Overdrive also distribute to Waterstones I would imagine that the W.H.Smith eBook collection will grow quite quickly. It&#8217;s great to see more stores offering ePub formatted books to the consumers &#8211; perhaps this extra competition will result in lower eBook prices sooner rather than later.</p>
<p>There is however quite some way to go before the number of ePub titles reaches the overall eBook numbers. Here&#8217;s a quick breakdown of the current eBook titles in the W.H.Smith eBook store;</p>
<p><span id="more-255"></span><code>56056 - PDF<br />
15368 - MobiPocket<br />
6441 - ePub</code></p>
<p>I also found it interesting that they&#8217;re offering eBooks in languages other than just English. Here&#8217;s a breakdown of those in the ePub format, which I will follow up with total eBooks in any particular language.</p>
<p><code>5863 - English ePub Books<br />
509 - French<br />
50 - German<br />
9 - Spanish<br />
6 - Italian<br />
2 - Swedish<br />
1 - Finnish<br />
1 - Norwegian</code></p>
<p>A selection of different languages in all eBook formats found on the website;</p>
<p><code>60586 - English (All eBook Formats)<br />
946 - Spanish eBooks<br />
885 - Japanese eBooks<br />
801 - French eBook<br />
424 - Italian eBooks<br />
390 - German eBooks<br />
35 - Dutch eBooks<br />
26 - Russian eBooks<br />
19 - Chinese eBooks<br />
14 - Portuguese eBooks</code></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/255/whsmiths-are-now-selling-epub-ebooks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>epubBooks at Frankfurt Book Fair 2008</title>
		<link>http://blog.epubbooks.com/244/epubbooks-attends-frankfurt-book-fair-2008</link>
		<comments>http://blog.epubbooks.com/244/epubbooks-attends-frankfurt-book-fair-2008#comments</comments>
		<pubDate>Sat, 18 Oct 2008 19:53:45 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Frankfurt Book Fair]]></category>
		<category><![CDATA[IDPF]]></category>
		<category><![CDATA[Sony Reader]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=244</guid>
		<description><![CDATA[I was very lucky this year to be able to attend the Frankfurt Book Fair. As it was only going to be a one day affair for me I choose Thursday, the day of the Digital Lunch: Digital Publishing and the EPUB Standard’ seminar. Before the session got under way I had a quick look [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/244/epubbooks-attends-frankfurt-book-fair-2008" title="Permanent link to epubBooks at Frankfurt Book Fair 2008"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/frankfurt-book-fair-logo.gif" width="123" height="44" alt="Frankfurt Buch Messe" /></a>
</p><p>I was very lucky this year to be able to attend the Frankfurt Book Fair. As it was only going to be a one day affair for me I choose Thursday, the day of the Digital Lunch: Digital Publishing and the EPUB Standard’ seminar.</p>
<p>Before the session got under way I had a quick look around the ‘Digital Market Place’ Hall and came across the iRex Digital Reader stand where they were showing off their DR1000 model. Along with having a basic reader they also have two models with a Wacom touch screen and one of those with Wi-Fi. All models have a 10.2 inch display (1024&#215;1280 pixels) – so no need to go zooming in on your PDF files now. This looks a great piece of equipment. After checking out the iRex stand I then made my way down to the IDPF session.</p>
<p>There were four speakers at the Digital Lunch, Michael Smith (IDPF Executive Director), Michael Vantusko (Overdrive &#8211; unfortunately Steve Potash could not make it), Fionnuala Duggan (Random House Digital Group UK) and Robert Nell (Sony Reader).</p>
<p>Mike Smith got things started with an outline of the IDPF and the ePub format. He discussed the amazing sales figures we’ve been seeing in the eBook world and the uptake of the ePub standard from publishers and conversion houses.</p>
<p><span id="more-244"></span>Then Mike Vantusko from Overdrive talked a little about the challenges of being the first distributor to offer ePub formatted books. He was also was very positive on the uptake from stores such as Waterstones, Borders and <a title="W.H.Smith.co.uk and other eBook stores" href="http://www.epubbooks.com/buy-epub-books">W.H.Smith</a> from the UK.</p>
<p>Fionnuala Duggan from Random House UK was very positive toward ePub although she did have some reservations regarding piracy. This seems a common issue among publishers and although I agree that the one-click piracy that digital content offers makes it easier, with or without official digital versions, piracy happens. We all saw what happened with the Harry Potter books.</p>
<p>Random House are now working on having core user formats of both ePub and PDF. Fionnuala also mentioned that as from 2009 they will simultaneously release both Paper and eBook editions of all their new titles.</p>
<p>If you’ve been keeping your eyes open then you would of heard recently that Sony made an unprecedented move by relocating their entire eBook division from Japan to the U.S. to better promote the Sony Reader. Robert Nell talked very emphatically about the future of the Reader and told of their expectations for tens of millions of Readers being sold – Sony is serious about eBooks!</p>
<blockquote><p>“Two years ago there was no [eBook] standard&#8230;now there is a standard, the IDPF ePub standard” – Robert Nell</p></blockquote>
<p>I managed to grab a few moments with Robert after the seminar in the hope of getting some juicy details about the Readers future, but as one would expect, he was very careful not to give anything away. I asked about a release date for the upcoming Wi-Fi features and even when I offered up an October 2009 date, to tie in with their current one model per year schedule, he calmly said nothing. :)</p>
<p>Neither would he give a release date for the PRS-700 in the UK, although he did confirm that it would be released. I got the impression that we won’t see the PRS-700 in the UK until the latter half of 2009 – very likely September or October. If you’re from the UK and were holding off buying a Reader in case a PRS-700 release was imminent&#8230;I wouldn’t wait. So get along to <a title="Sony Reader PRS-505" href="http://www.epubbooks.com/ereaders/sony-reader-prs-505">SonyStyle.co.uk</a> (or Waterstones UK) and buy yourself a PRS-505 – I’m sure you won’t regret it.</p>
<p>For their big push into Europe, Sony is continuing their partnerships, such as they have done with Waterstones in the UK. In France from the 23rd October, the PRS-505 will be sold at fnac and Germany will get theirs early 2009 in partnership with Libri GmbH.</p>
<p>Later in the afternoon I met up with Michael Smith for a couple of beers and had a great chat on all things ePub. Mike showed a real interest in ePubBooks.com so it was nice to get some positive feedback on my project. I very much got the feeling that as well as supporting the large publishers and conversion houses, the IDPF are also very encouraged and supportive of what is happening in the community with projects such as ePubBooks and Feedbooks.</p>
<p>In the evening we headed down to the Jazil Bar for more drinks, as did a number of other people.<br />
Hadrien Gardeur from Feedbooks was hoping to make it to the fair, but unfortunately he didn’t show. I did meet Andrew Savikas from TOC O’Reilly, though only briefly, which was a real shame as it would have been great to have a good chat with him – alas I had my train to catch.</p>
<p>The big message I took from the fair was that publishers, conversion houses and distributors are serious about the ePub format. Everyone is getting excited about the growth of eBook sales in general and publishers seem to be almost relieved that we are now seeing an eBook standard developed, which in the long term will save them money and be better for the end consumer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/244/epubbooks-attends-frankfurt-book-fair-2008/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating an ePub document from XHTML</title>
		<link>http://blog.epubbooks.com/183/creating-an-epub-document</link>
		<comments>http://blog.epubbooks.com/183/creating-an-epub-document#comments</comments>
		<pubDate>Thu, 25 Sep 2008 22:10:55 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[epubcheck]]></category>
		<category><![CDATA[IDPF]]></category>
		<category><![CDATA[NCX]]></category>
		<category><![CDATA[OCF]]></category>
		<category><![CDATA[OPF]]></category>
		<category><![CDATA[OPS]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=183</guid>
		<description><![CDATA[In my last post I talked about the epubBooks Project and how I plan to convert Project Gutenberg .txt eBooks to the ePub format and how I will make these eBooks available for download from ePubBooks.com. I already have in place a converter to transform the PG .txt files to a TEI Master Format and [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/183/creating-an-epub-document" title="Permanent link to Creating an ePub document from XHTML"><img class="post_image alignleft" src="http://blog.epubbooks.com/images/epub-logo.png" width="108" height="51" alt="epubBooks" /></a>
</p><p>In my last post I talked about the <a title="The epubBooks Project announcement" href="/161/the-epub-books-project-part-1-an-introduction">epubBooks Project</a> and how I plan to convert Project Gutenberg .txt eBooks to the ePub format and how I will make these eBooks available for download from ePubBooks.com.</p>
<p>I already have in place a converter to transform the PG .txt files to a TEI Master Format and also an XSLT script to convert these into XHTML. The final task now is to create a converter for TEI to the ePub format.</p>
<p>Before I attempt to write this converter I will need to have a much better understanding on how a book is laid out inside the ePub OEBPS Container Format (OCF) .zip archive. So I set about taking my XHTML output file and breaking it up into the appropriate parts ready to be packaged in to an .epub file.</p>
<p>On the whole this went fairly smoothly, although I did encounter a couple of issues, which I&#8217;ll explain at the end of this article.</p>
<p><span id="more-183"></span>A great way to understand how to make your own ePub Book is to download and examine a pre-existing book. My reference book was <a title="Jon Noring's ePub version of My Antonia" href="http://www.idpf.org/forums/viewtopic.php?t=59&amp;sid=b8f0598930a8e23bdcf554918ad9f917">Jon Noring&#8217;s submission of &#8220;My Ántonia&#8221; by Willa Cather</a>, found on the IDPF website.</p>
<p>After unzipping and examining the contents everything looked straight forward, so went ahead and started editing Jon&#8217;s file into my own.</p>
<h4>OPS</h4>
<p>My first task was to split up the all-in-one XHTML file into separate chapters, title page, footnotes, etc., thus creating the OPS files. During this I added the appropriate header and footer (using My Ántonia as the guide), making sure I also included the correct link to the CSS file and giving each its own title.</p>
<p>As XHTML 1.1 can be used directly within an ePub document there was nothing to change within the text itself.</p>
<h4>OPF</h4>
<p>Once I had all my separate OPS parts I went ahead and started editing the ePub OPF file.</p>
<p>Again using Jon&#8217;s example as a guide, I entered all the book information (Title, Author, etc..) into the meta tags &#8211; an important tag to note is the <code>dc:identifier</code>. For this you will need to create a unique identifier for the book/document. You can use anything you like here (including an ISBN number) as long as it is completely unique. As this is just a test file I used the epubbooks.com domain name, the date and the time. (This ID will also be used in the NCX file.)</p>
<p>Once I was happy with the data I went on to the <code>manifest</code> section and listed all the files used in the publication<code>; </code>cover, title page, introduction, chapters, footnotes, CSS Style Sheets, images and finally the NCX file.</p>
<p>The <code>spine</code> section lists the reading order for the book and was pretty straight forward.</p>
<h4>NCX</h4>
<p>Next I edited the NCX (Navigation Center eXtended) file. This provides the <em>Reading System</em> with the TOC listing and navigation links. Each entry is given an ID, PlayOrder, Label and filename. ID&#8217;s should always be unique and the &#8216;PlayOrder&#8217; starts at &#8220;1&#8243; with no gaps in the sequence.</p>
<p>There are couple of important points to take note on here. The &#8216;Unique ID&#8217; created in the OPF file (<code>dc:identifier</code>) needs to be included in this <code>meta</code> section. You will also need to adjust the <code>&lt;meta name="dtb:depth" content="1"/&gt;</code> value.</p>
<p>If you have an eBook with just chapters then the depth will be &#8220;1&#8243;. If you have an eBook that has Books, Chapters and Sections, then <strong>Book is Level 1</strong>, <strong>Chapters are Level 2</strong> and <strong>Sections are Level 3</strong>. The more sections you have within your TOC the more &#8216;depths&#8217; you will need to state.</p>
<h4>Footnotes</h4>
<p>All the final editing needed was to set up links for the footnotes. As I&#8217;m storing the footnotes in a separate file I marked up the entry in the <code>spine</code> with <code>linear="no"</code> as this should be considered an &#8220;auxiliary&#8221; file.</p>
<p>Now all that was needed was to add the filename to the <code>a</code> tag in the <code>footnotes.xml</code> file, which in this case became <code>chapter001.xml#fn-place-1</code> and In the <code>chapter001.xml</code> file I added a link to the footnote file, <code>footnotes.xml#fn-1.</code></p>
<h4>Creating the .epub file</h4>
<p>There&#8217;s a couple of rules to follow when creating your .zip (ePub) file.</p>
<ul>
<li><code>mimetype</code> must be the first file in the .zip</li>
<li>No compression is to be used on this file.</li>
</ul>
<p>Once you have this file in place then you can then go ahead and add the rest of the content, just make sure you retain the directory structure.</p>
<h4>Problems and further research</h4>
<p>One thing to remember is that filenames are case sensitive. Make sure you use the same case as stated in your OPF and NCX files, otherwise they will not be displayed.</p>
<p>When I created my XHTML version I had each TOC entry linking to the appropriate chapter, if you clicked on the chapter heading you would be transported back to the TOC entry. When using DE on my desktop computer there did not seem to be a need to use linking back to the TOC, but until I get myself a Sony Reader or BeBook I won&#8217;t be able to test exactly how this works on a dedicated reader.</p>
<h4>epubcheck</h4>
<p>Although my .epub eBook displays perfectly well in Adobe DE, it does however fail on many points when tested against the epubcheck tool. Most of these seem related to undeclared entities (<code>ndash</code>) and some undefined <code>fragment identifier</code>s. I guess I&#8217;ll just need to get stuck into the specifications and see where I&#8217;m going wrong &#8211; I don&#8217;t think these are going to be major issues though.</p>
<p>I hope article has provided a nice overview on creating an ePub eBook. I still need to clean up these epubcheck errors but once that&#8217;s done I can get on with writing the XSLT conversion script. I will likely do a follow up article covering what was need to validate against epubcheck and I will try and write some more detailed articles on creating both the OPF and NCX files.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/183/creating-an-epub-document/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Want to read EPUB ebooks on your iPhone?</title>
		<link>http://blog.epubbooks.com/42/do-you-want-to-read-epub-books-on-your-iphone</link>
		<comments>http://blog.epubbooks.com/42/do-you-want-to-read-epub-books-on-your-iphone#comments</comments>
		<pubDate>Mon, 14 Jul 2008 19:02:37 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[eReaders]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Feedbooks]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[Stanza]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=42</guid>
		<description><![CDATA[Ready &#8230; Set &#8230; Read! This is the headline on the Lexcycle website for their new iPhone eBook reader called Stanza. They&#8217;re touting this as the &#8216;premier electronic book reader for the iPhone and the iPod Touch&#8216; which more importantly (at least for me) has the ability to read ebooks in the EPUB format. Stanza [...]]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://blog.epubbooks.com/42/do-you-want-to-read-epub-books-on-your-iphone" title="Permanent link to Want to read EPUB ebooks on your iPhone?"><img class="post_image alignnone" src="http://blog.epubbooks.com/images/lexcycle-logo.png" width="250" height="49" alt="Stanza/iPhone EPUB Reader" /></a>
</p><p><strong>Ready &#8230; Set &#8230; Read!</strong></p>
<p>This is the headline on the Lexcycle website for their new iPhone eBook reader called Stanza. They&#8217;re touting this as the &#8216;<em>premier electronic book reader for the iPhone and the iPod Touch</em>&#8216; which more importantly (at least for me) has the ability to read ebooks in the EPUB format.</p>
<p>Stanza is still in beta at the moment so there will be a few bugs hanging around but hopefully lexcycle will go final soon. [UPDATE: Stanza is now considered one of the best free eReaders out there with most bugs fixed, and available for iPhone and iPad].</p>
<p><a title="Stanza App from iTunes" href="http://www.epubbooks.com/links/post42/apple-apps/stanza_284956128" rel="nofollow" target="_blank"><img src="/images/stanza-iphone-itunes-download.gif" alt="" /></a></p>
<p>Okay, so now you have your Stanza/iPhone EPUB reader, but where do you get your books from? This is the easy part&#8230;</p>
<p>You can download lots of free EPUB ebooks right here on <a title="Free eBooks from epubBooks.com" href="http://www.epubbooks.com">epubBooks.com</a>.</p>
<p>Alternatively, you can use Feedbooks, whose catalogue is available from directly within the Stanza app.</p>
<blockquote><p>Browsing and downloading books once you&#8217;ve installed Stanza is very intuitive, just select Online Catalog and Feedbooks to get books from our service &#8212; feedbooks.com</p></blockquote>
<p>Commercial ebooks are not currently available so all the titles you&#8217;ll find are in the public domain, but what&#8217;s available from both epubBooks and Feedbooks should keep everyone <em>reading happy</em> for a lifetime.</p>
<p>Right, all I need now is an iPhone&#8230;</p>
<p><strong>UPDATE</strong>: I now have a full review of the <a title="iPod Touch Review" href="http://www.epubbooks.com/ereaders/apple-iphone-ipod-touch">iPod Touch</a> and the <a title="epubBooks iPad Review" href="http://www.epubbooks.com/ereaders/apple-ipad">Apple iPad</a> &#8211; these two reviews have lots of information on adding ebooks to your Apple device as well as what other EPUB eReader apps are available, and all of which can be used on the iPhone, iPad and iPod Touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/42/do-you-want-to-read-epub-books-on-your-iphone/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What image formats are suitable for ePub?</title>
		<link>http://blog.epubbooks.com/36/image-formats-in-epub</link>
		<comments>http://blog.epubbooks.com/36/image-formats-in-epub#comments</comments>
		<pubDate>Tue, 17 Jun 2008 19:23:55 +0000</pubDate>
		<dc:creator>Mike Cook</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[EPUB]]></category>
		<category><![CDATA[Images]]></category>

		<guid isPermaLink="false">http://www.epubbooks.com/blog/?p=36</guid>
		<description><![CDATA[A question posted over on the ePub Community Group was asking what image formats are suitable for use in ePub. As Jon Noring replied, the OPS 2.0 Specifiaction says that an OPS (ePub) Reading System must support the GIF, PNG, JPEG and SVG image formats. These are pretty standard formats to be supported so I [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A question posted over on the ePub Community Group was asking what image formats are suitable for use in ePub.</p>
<p>As Jon Noring replied, the <a title="OPS Specifiaction at www.idpf.org" href="http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section1.3.7">OPS 2.0 Specifiaction</a> says that an OPS (ePub) Reading System must support the GIF, PNG, JPEG and SVG image formats.</p>
<p>These are pretty standard formats to be supported so I don&#8217;t see any problems with rendering these. But I do have some concerns regarding SVG &#8211; these of course stem form having absolutely no clue at all about the format!</p>
<p>Still, I am wondering if there will be any issues when rendering SVG, akin perhaps, to what we had during the browser wars.</p>
<p>Is there anyone out there who understands SVG and can shed some light on this matter?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.epubbooks.com/36/image-formats-in-epub/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

