<?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>Threepress Consulting blog &#187; opf</title>
	<atom:link href="http://blog.threepress.org/tag/opf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.threepress.org</link>
	<description>Threepress creates software for publishers, educators and authors.</description>
	<lastBuildDate>Mon, 09 Jan 2012 13:02:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quick ePub check</title>
		<link>http://blog.threepress.org/2009/01/19/quick-epub-check/</link>
		<comments>http://blog.threepress.org/2009/01/19/quick-epub-check/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:36:44 +0000</pubDate>
		<dc:creator>Liza Daly</dc:creator>
				<category><![CDATA[bookworm]]></category>
		<category><![CDATA[epub]]></category>
		<category><![CDATA[epubcheck]]></category>
		<category><![CDATA[opf]]></category>
		<category><![CDATA[svg]]></category>

		<guid isPermaLink="false">http://blog.threepress.org/?p=267</guid>
		<description><![CDATA[If you&#8217;re producing ePub files, take the time to ask yourself two simple questions:

Are all the files I listed in the OPF file actually in the ePub archive?
Are all the files in the archive in the OPF file?

The OPF file is meant to be the canonical listing of all resources in your ePub.  If it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re producing ePub files, take the time to ask yourself two simple questions:</p>
<ol>
<li>Are all the files I listed in the OPF file actually in the ePub archive?</li>
<li>Are all the files in the archive in the OPF file?</li>
</ol>
<p>The OPF file is meant to be the canonical listing of all resources in your ePub.  If it&#8217;s in the ZIP but not in the OPF, reading systems are required to ignore it.  Likewise, including an entry in the OPF but not including the actual file (or putting it in the wrong folder) is also an error.</p>
<p><a href="http://bookworm.threepress.org/">Bookworm</a> used to reject ePubs which failed the first case, but I saw so many bad files (usually missing CSS or images) that it now simply ignores the error.</p>
<p>However, I sometimes also see case #2, where the OPF file is missing resources (again, frequently CSS and images).  For example, these <a href="http://www.hindawi.com/epub.html">ePubs from Hindawi Publishing Company</a> make admirable use of SVG, but none of their SVG files are in the OPF.  Bookworm can&#8217;t find them and therefore can&#8217;t display them.</p>
<p><a href="http://code.google.com/p/epubcheck/">EpubCheck</a> does flag both of these cases with the following errors:</p>
<ol>
<li>Case 1, where the file is declared in OPF but not in the archive:  <strong>resource &#8216;XXXX.html&#8217; is missing</strong></li>
<li>Case 2, where the file is in the archive but is missing from the OPF:  <strong>referenced resource exists, but not declared in the OPF file </strong></li>
</ol>
<p>Other <a href="http://code.google.com/p/epubcheck/wiki/Errors">explanations for error messages</a> from EpubCheck.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.threepress.org/2009/01/19/quick-epub-check/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

