Build a digital book with EPUB
The open XML-based eBook format
Liza Daly, Software Engineer and Owner, Threepress Consulting Inc.
Liza Daly is a software engineer who specializes in applications for
the publishing industry. She has been the lead developer on major
online products for Oxford University Press, O'Reilly Media, and other
publishers. Currently she is an independent consultant and the founder
of Threepress, an open source project developing ebook applications.
Summary: Need to distribute documentation, create an eBook, or just archive your
favorite blog posts? EPUB is an open specification for digital books based on
familiar technologies like XML, CSS, and XHTML, and EPUB files can be read on
portable e-ink devices, mobile phones, and desktop computers. This tutorial explains
the EPUB format in detail, demonstrates EPUB validation using Java technology, and moves step-by-step through automating EPUB creation using DocBook and Python.
05 Feb 2009 - As a followup to reader comments, the author revised the content
of Listing 3 and refreshed the epub-raw-files.zip file (see
Downloads).
27 Apr 2010 - Refreshed the epub-raw-files.zip file (see Downloads).
03 Jun 2010 - At author request,revised the content of Listings 3 and 8.
Also refreshed the epub-raw-files.zip file (see Downloads).
11 Jan 2011 - At author request,revised the content of Listing 5. Changed second line of code from <item id="ncx" href="toc.ncx" media-type="text/xml"/>; to
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>.
12 Jul 2011 - As a followup to reader comments, revised the content of Listing 14. Removed ` character near end of first line of code from <?xml version="1.0" encoding="utf-8"?`>. Revised code now reads: <?xml version="1.0" encoding="utf-8"?>.