<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub"/><id>http://norman.walsh.name/2010/06/07/epub/comments.atom</id><updated>2012-05-23T23:30:19.47632Z</updated><entry><title>Comment 1 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2010-06-09T13:36:08Z</published><updated>2010-06-09T13:36:08Z</updated><author><name>Keith Fahlgren</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Thank you for sharing these ePubs.
</p>
    <p>
I'd strongly suggest that you use the open-source epubcheck validator (release 1.0.5 or later) to try to ensure that the ePubs you're producing follow the machine-enforceable elements of the ePub specification:
<a rel="nofollow" href="http://code.google.com/p/epubcheck/">http://code.google.com/p/epubcheck/</a>
</p>
    <p>
From looking at the epubcheck results, it looks like you're falling into a few common traps:
</p>
    <p>
* The mimetype MUST be the first file in the archive (you're not ensuring that) and MUST be STORed rather than compressed (you are doing that)
</p>
    <p>
* ePub (OPF) content MUST be valid against either DTBook or XHTML <b>1.1</b> (Strip @name, @width, and @clear and you'll be close)
</p>
    <p>
* The stylesheet for your cover.html uses a fully-qualified URL rather than a relative file reference</p>
  </div></content></entry><entry><title>Comment 2 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2010-06-09T16:07:40Z</published><updated>2010-06-09T16:07:40Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>It's come to my attention that I'm not actually resolving all the external references correctly. I'll try to fix that.</p>
  </div></content></entry><entry><title>Comment 3 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2010-06-09T16:08:51Z</published><updated>2010-06-09T16:08:51Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Thanks, Keith. I'll try to fix these errors as quickly as I can.</p>
  </div></content></entry><entry><title>Comment 4 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2010-06-10T19:44:51Z</published><updated>2010-06-10T19:44:51Z</updated><author><name>Scott Hudson</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Curious as to why the RelaxNG spec made the cut, but not DocBook v5.0 or DocBook Publishers specs?! ;-)
</p>
    <p>
Nice work, BTW. Cool stuff!</p>
  </div></content></entry><entry><title>Comment 5 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2010-06-15T21:23:54Z</published><updated>2010-06-15T21:23:54Z</updated><author><name>Dick Hamilton</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I'm not sure if this is the reason for Norm not converting the Publisher's spec, but when I pointed the tool to the spec on OASIS, I got only a cover.html file and no other content. I suspect there's some magic needed for OASIS specs, since I was able to generate (minus covers, since I'm not on a mac) the w3c xproc spec with no problem.
</p>
    <p>
Norm, how did you process the OASIS specs? Did it take some extra steps?</p>
  </div></content></entry><entry><title>Comment 6 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2010-07-13T12:01:20Z</published><updated>2010-07-13T12:01:20Z</updated><author><name>Brian Gough</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">We've recently been making conversions of W3C standards to print (as 6"x9" paperback books) -- e.g. <a rel="nofollow" href="http://www.network-theory.co.uk/w3c/xml/">The XML 1.0 Standard (5th Edition)</a> and <a rel="nofollow" href="http://www.network-theory.co.uk/w3c/xpath/">The XPath 2.0 Standard</a>.

<p>Although the main part of the conversion works well (we used XHTML -&gt; LaTeX with a custom Ruby-based converter) we found that quite a lot of hand-tweaking was needed to get high-quality final output.  For example, rotating very wide tables and formal grammars in the XPath standard to landscape, and dealing with other line-breaking issues.   

</p><p>I don't know how well these parts of an EPUB file would render on current devices with smaller screen sizes, but with a larger display it would be less of an issue.</p></div></content></entry><entry><title>Comment 7 on /2010/06/07/epub</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2010/06/07/epub#comment0007"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0007</id><published>2011-05-05T07:09:40Z</published><updated>2011-05-05T07:09:40Z</updated><author><name>Werner Donné</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>I also like to have W3C specifications in ePub format and indeed
the consistent layout the W3C uses is an advantage. For the
conversion I use the following process:</p>
<p>- Open the spec with FireFox and save it to the desktop - Import
the result in OpenOffice.org and export it to ODT</p>
<p>- Open the result again in OpenOffice.org</p>
<p>- Modify the styles "Heading 2" and "Heading 3" to give them a
page-break before, which produces segments that are manageable by
e-readers.</p>
<p>- Export to ePub with <a href="http://www.pincette.biz/odftoepub/">ODFToEPub</a>.</p>
<p>Here are some examples:</p>
<p><a href="http://personalbookspace.com/home/werner/Technical/XML%20Path%20Language%20(XPath)%202.0%20(Second%20Edition).epub">
XPath 2.0</a></p>
<p><a href="http://personalbookspace.com/home/werner/Technical/XSL%20Transformations%20(XSLT)%20Version%202.0.epub">
XSLT 2.0</a></p>
<p>Here is also an example of an OASIS spec, which was produced
directly from the ODT version:</p>
<p><a href="http://pincette.biz/odftoepub/OpenDocument-v1.1_segments.epub">ODF
1.1</a></p>
<p>Werner.</p></div></content></entry></feed>

