Openbook WordPress Plugin

4,679 views
4,576 views

Published on

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,679
On SlideShare
0
From Embeds
0
Number of Embeds
1,661
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Openbook WordPress Plugin

  1. 1. OpenBook WordPress Plugin John Miedema One Big Library Unconference Toronto, Ontario June 27, 2008
  2. 2. Overview <ul><li>Impetus: Amazon </li></ul><ul><li>Comparison of Catalogues </li></ul><ul><li>Technical Overview </li></ul><ul><li>Future Enhancements </li></ul><ul><li>Code is Political </li></ul>
  3. 3. Impetus: Amazon <ul><li>Book reviews. Often indie titles. </li></ul><ul><li>Common practice of linking to Amazon </li></ul><ul><li>Random House asked to link to their publisher’s website. Made sense. </li></ul><ul><li>Amazon: will only sell print-on-demand books printed by its own service </li></ul><ul><li>Links = coin on the web. Need an easy alternative to Amazon. </li></ul>
  4. 5. Comparison of the Catalogues <ul><li>Amazon: Fewest titles, closed source, closed data </li></ul><ul><li>LibraryThing: Closed source, open data, social data, private </li></ul><ul><li>WorldCat: Most titles, closed data, social data but not used, not-for-profit </li></ul>
  5. 6. I Picked Open Library <ul><li>WorldCat ranked highest by straight count </li></ul><ul><li>Initial impetus: often review indie titles not in WorldCat, cannot add titles, as closed as Amazon </li></ul><ul><li>Open Library: open source, open data, not-for-profit = about as library-like as you can get. Hence “OpenBook” </li></ul><ul><li>Stable? </li></ul>
  6. 7. Technical Overview <ul><li>WordPress: good for book reviewers, library websites, open source </li></ul><ul><li>Open Library API: querystring http:// openlibrary .org/ api /get?key=/b/OL3674869M </li></ul><ul><li>PHP: file_get_contents , gets data, replaced by curl because forbidden by some servers </li></ul><ul><li>json_decode , easy to parse data, requires PHP 5.2 </li></ul>
  7. 8. Technical Overview - 2 <ul><li>Cover images: Not in data, standard format, alternate in data </li></ul><ul><li>Publisher link: Not available by API, added as an argument </li></ul><ul><li>Hook into WordPress: make a “filter” function, replace tags with HTML [openbook]ISBN#[/openbook] </li></ul><ul><li>Upload to WordPress server => thousand hits, >100 downloads </li></ul>
  8. 9. Sample
  9. 10. Future Enhancements <ul><li>Remove dependency on json_decode </li></ul><ul><li>Insert multiple anywhere in text </li></ul><ul><li>Search by other numbers, not just ISBN </li></ul><ul><li>Choice of data source </li></ul><ul><li>Internationalization </li></ul><ul><li>Rich data: Open Library has scans </li></ul>
  10. 11. Code is Political <ul><li>Impetus: Alternative to Amazon’s monopoly, support independent pressses/ideas = very library </li></ul><ul><li>Can private company do this for libraries? </li></ul><ul><li>Can not-for-profit do this? </li></ul><ul><ul><li>Is OCLC really not-for-profit? </li></ul></ul><ul><ul><li>Is Open Library ready? Adding titles. </li></ul></ul><ul><li>Does it matter who does this? </li></ul>
  11. 12. Sources <ul><li>Amazon Muscles Print-On-Demand Services http://www. techcrunch .com/2008/03/27/ amazon -muscles-print-on-demand-services/ </li></ul><ul><li>Small Publishers Feel Power of Amazon’s ‘Buy’ Button http://www. nytimes .com/2008/06/16/business/media/16amazon.html </li></ul><ul><li>Open Library http:// openlibrary .org </li></ul><ul><li>OpenBook download page at WordPress (open source): http:// wordpress .org/extend/ plugins / openbook -book-data/ </li></ul><ul><li>My OpenBook page: http:// johnmiedema .ca/ openbook - wordpress - plugin / </li></ul>
  12. 13. Contact <ul><li>Blog: http:// johnmiedema .ca </li></ul><ul><li>Mail: mail@ johnmiedema .ca </li></ul>

×