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:
You must be logged in to post a comment.