Archives for the month of: November, 2011

Stay tuned, this is about as publishing-geeky as we can get. You might have noticed we’ve been gradually open-sourcing parts of the BookGlutton platform as time permits. We want to share some of the tools we’ve built over the last five years to encourage development of reading systems, startup-technology, and, of course, the publishing revolution (underway now!)

Aaron Miller (@vaporbook), who built the technology running BookGlutton and ReadSocial, and who is now working with NetGalley, has open-sourced the PHP ONIX Importer we use on the BookGlutton site.

GET IT HERE
BookGlutton PHP ONIX Importer
https://github.com/Vaporbook/POI-PHP-ONIX-Importer

WHAT IS ONIX?
Most people probably haven’t heard of ONIX (ONline Information eXchange). ONIX uses XML to process metadata for book publishers. If you’re a publisher that wants to deliver all your titles and associated metadata (title, author, publishing date, price, cover image, etc.), you push it out in an ONIX feed for the retailer to pick up. There are a lot of variations on this — every publisher formats their ONIX feed differently, and they change them at will.

WHAT DOES BOOKGLUTTON’S PHP ONIX IMPORTER DO?
The PHP ONIX Importer is an easy way to import any kind of ONIX and make it available as JSON data structures. JSON interfaces well with web applications and can be served directly from Web APIs and consumed by various kinds of Web clients without depending on other libraries. It’s a small tug, but it gets publishing a bit closer to the web, so we can easily use vital metadata about book products.

WHY IS THIS GOOD?
We attended the Books in Browsers 2011 Conference at the Internet Archive and saw that people are speedily moving toward the web for reading experiences, publishing platforms, book catalogs and reading recommendations. This code will help some of those endeavors get a head start. The BookGlutton PHP ONIX Importer moves the conversation forward, because it is:

  • Based on the most widely proliferated and supported languages of web applications: PHP
  • Timely in the age of HTML 5 where JSON-interchange is replacing XML
  • Compatible with widely used CMS systems such as Drupal and WordPress
  • Battle tested in production on the BookGlutton.com site for several years

AARON MILLER’S OTHER OPEN SOURCE TOOLS
You can find some of Aaron’s other work on github under vaporbook. A lot of it has had a good workout on BookGlutton.com. He’s also involved with the National Information Standards Organization (NISO) and its Standards Development for E-Book Annotation Sharing and Social Reading committee. Here’s some of Aaron Miller’s other open source code:

Good news! Aaron Miller, BookGlutton’s CTO (@vaporbook), has open-sourced the BookGlutton Core Epub Library. This is something that people can use in web-based reading systems, and we hope other developers will use and improve it as a basis for creating Epub 3 workflows.

GET IT HERE
BookGlutton Core Epub Library (PHP):
https://github.com/Vaporbook/BookGluttonEpub

WHAT DOES IT DO?
The Core Epub Library is what powers the BookGlutton converter, as well as much of the book content on the site. It is a self-contained library meant as a server-side component in an Epub content management system, with a special extension to allow for virtual zip containers (without writing files to disk).

The Core Epub Library can be used in conjunction with the previously announced Epub Framework which is a set of command-line tools for viewing and creating Epub files.

WHY IS THIS GOOD?

  1. The BookGlutton Core Epub Library is in PHP, so people now have an alternative to existing libraries, most of which are not written for PHP.
  2. It is the most robust PHP library for working with Epub files – it’s been used in production on a live bookstore and publishing platform for several years, so it has a lot of useful and stable features.
  3. You can use this to allow a system to modify an Epub file or read metadata from it with just a few lines of code; and of course, you can use it to do conversions or even build new Epubs from scratch.
  4. It can be used as reliable a back end to WordPress systems which need to utilize Epub files as part of a content workflow.

FINAL WORD
This is part of a suite of tools Aaron Miller is open-sourcing to drive Epub creation and innovation. We’re hoping to get other developers involved so that we can use the BookGlutton Core Epub Library as a foundation as we all move toward Epub 3!

–Travis (@screenkapture)