22
Open source ePub Wednesday, May 13, 2009 Good afternoon. My name is Liza Daly, Iʼm a software engineer and the owner of Threepress Consulting. Iʼm going to talk about the Bookworm ePub reading application and its support for publishers and developers.

Open-source ePub with Bookworm

Embed Size (px)

DESCRIPTION

A brief demo of the Bookworm ePub reader and its support for publishers and developers. http://bookworm.oreilly.com/

Citation preview

Page 1: Open-source ePub with Bookworm

Open source ePub

Wednesday, May 13, 2009Good afternoon. My name is Liza Daly, Iʼm a software engineer and the owner of Threepress Consulting. Iʼm going to talk about the Bookworm ePub reading application and its support for publishers and developers.

Page 2: Open-source ePub with Bookworm

Wednesday, May 13, 2009In case youʼve never used it, Bookworm is a web-based ePub reader. Users can upload books in ePub format and then read them online, transfer them to Stanza on the iPhone, and search and organize their library.

Page 3: Open-source ePub with Bookworm

Allows users to add ePub books to a library in the “cloud”

Supports full XHTML/CSS

Indexes full text and book metadata

Launched June 2008, part of O’Reilly Labs since February 2009

Bookworm

Wednesday, May 13, 2009The workflow is very simple: you add books via a web form, and then they appear in this library listing shown here. You can click on a book to read it, sort or search your library. Because the books are rendered in your browser you get full support for all XHTML and CSS features. Itʼs not a book-sharing site; all books you upload are private.

Page 4: Open-source ePub with Bookworm

Readers

Wednesday, May 13, 2009I think of Bookworm as serving three audiences. The first is obviously the reader, or user of the site. Our users have uploaded more than 13,000 books.

Page 5: Open-source ePub with Bookworm

Readers

Wednesday, May 13, 2009There are lots of features to support a good online reading experience: one is a choice of different user interfaces. On the left is the default or “TOC” mode, where the bookʼs structure is revealed. The second is Reading Mode, which provides a very clean, text-centric interface, and on the right is the UI thatʼs optimized for reading on a mobile browser.

Page 6: Open-source ePub with Bookworm

Publishers

Wednesday, May 13, 2009You can check out the reading features of Bookworm yourself; instead I want to focus on the other two audiences. The first is publishers. If you upload a book to Bookworm that has some kind of formatting problem, Bookworm provides a lot of diagnostics.

Page 7: Open-source ePub with Bookworm

“The file you uploaded was not recognized as an ePub archive.”

“We detected a problem with your ebook that is most likely related to it

being too big to display safely in a

web browser.”

“It appears that you’ve uploaded a book that contains DRM (Digital Rights Management).”

“Did not get a docTitle from the NCX, although this is required.”

Wednesday, May 13, 2009There are a dozen or more plain-English messages to help publishers understand what is wrong with a particular damaged ebook.

Page 8: Open-source ePub with Bookworm

http://code.google.com/p/epubcheck/

Wednesday, May 13, 2009One of the tools that Bookworm leverages to do this is the EpubCheck application by Adobe. If you are producing ePubs and not running them through EpubCheck, well, start doing that.

Page 9: Open-source ePub with Bookworm

http://threepress.org/tools/epub-validate

Wednesday, May 13, 2009Bookworm talks to EpubCheck via this simple web interface I created. This validator is just a wrapper around EpubCheck for people who donʼt know how to install a standalone Java program.

Page 10: Open-source ePub with Bookworm

Wednesday, May 13, 2009In addition to ePub validation services, there is a lot of content on Bookworm thatʼs meant to help publishers work with ePub. This text is from Bookworm; itʼs a list of questions you should be asking when reviewing an ePub.

Page 11: Open-source ePub with Bookworm

Developers

Wednesday, May 13, 2009The last audience is developers. The most obvious way Bookworm serves developers is by being open source. It uses the BSD license, which is a so-called permissive license, meaning it withholds very few rights. You can use Bookworm code in your own application, even if itʼs commercial, without asking my permission.

Page 12: Open-source ePub with Bookworm

Wednesday, May 13, 2009One of the most valuable pieces in Bookworm has turned out to be the test suite. Bookworm includes more than 100 automated tests which use 50 sample documents. These are sample ePubs or parts of ePubs that exhibit various characteristics. Almost all of these are based on real books that people tried to upload to Bookworm.

Page 13: Open-source ePub with Bookworm

People love to help with open source

Wednesday, May 13, 2009Iʼm going to give one quick use case here about the real economic value provided by open source.

Page 14: Open-source ePub with Bookworm

Wednesday, May 13, 2009This is a visualization of changes to the Bookworm source code over time. You can see in the upper right that some of these relate to other languages.

Page 15: Open-source ePub with Bookworm

Wednesday, May 13, 2009First to launch was German

Page 16: Open-source ePub with Bookworm

Wednesday, May 13, 2009Followed by Danish

Page 17: Open-source ePub with Bookworm

Wednesday, May 13, 2009Finnish

Page 18: Open-source ePub with Bookworm

Wednesday, May 13, 2009And weʼre almost done with Spanish, French and Italian.

Page 19: Open-source ePub with Bookworm

GermanDanishFinnishSpanishItalianFrenchRussianChineseJapanese

Wednesday, May 13, 2009These translations arenʼt a trivial task: there are 620 translatable phrases or sentences in Bookworm. Many of these were done by employees of publishers in these countries who were excited about ePub and wanted to use a native-language Bookworm to get buy-in from their organizations to support the format.

Page 20: Open-source ePub with Bookworm

$ = 0

Wednesday, May 13, 2009So soon Iʼll have nine translations into major languages with a total cost to me of zero, and a much higher level of engagement in ePub around the world.

Page 21: Open-source ePub with Bookworm

Other open-source ePub

EpubCheckDocBook XSLTEI to ePubEPUBGenAZARDICalibre

http://labs.oreilly.com/2009/03/epub-resources-and-guides.html

Wednesday, May 13, 2009Of course Bookworm isnʼt the only open source ePub package: thereʼs many more and Iʼve listed some of the major ones here. Thereʼs an even more comprehensive list on OʼReilly Labs.