Click here to skip to this page's main content.

New Feature: You can now embed Open Library books on your website!   Learn More
Last edited by Richard Caceres
September 15, 2008 | History

Book Reader

Requested Features

  • Ability to work with non-archive books (which means the bookreader should not expect data in any format)
  • Ability to embed into any webpage with ease
  • Possibility of keeping multiple books in the same page (no global state)

To make is it easier to work with other sources, the bookreader can expect a book interface with the following functions from the client.


The book reader can have optional functionality which is enabled only when the book implementation has the required method defined.
For example, bookmarks functionality can be enabled only when the book interface has getBookmarks method defined.


Typical usage:

<script src="/js/bookreader.js" type="text/javascript"/>
<script src="/js/archivebook.js" type="text/javascript"/>
<div id="book1"></div>
    document.onload = function() {
        var b = bookreader("book1", ArchiveBook("tomsayer"));

History Created September 15, 2008 · 158 revisions

August 9, 2017 Edited by Richard Caceres Updated github link. Added myself to contributors.
March 16, 2017 Edited by Mek added anchor to serving-images
November 29, 2015 Edited by Jessamyn West rm lists that don't work
October 24, 2015 Edited by Jessamyn West https
September 15, 2008 Created by Anand Chitipothu book reader suggestions