The Islandora Internet Archive Bookreader is an implementation of Open Library's Internet Archive Bookreader web app. It is used by the Islandora Book Solution Pack to display a series of pages as an entire book that can be accessed on the book's 'View' page.
The Islandora Internet Archive Bookreader module can be found on the Release Notes and Downloads page.
Download/clone the Internet Archive BookReader to sites/all/libraries/bookreader
.
The actual Bookreader library from Open Library can be found at their GitHub repository here: https://github.com/openlibrary/bookreader
Internet Archive BookReader Developer documentation
This module requires that you set up Djatoka, please follow the steps outlined at here.
This module requires Colorbox and its dependant library Colorbox library. Depending on the version of the Colorbox module and library you are using, there can be some issues with Colorbox finding the library. This comment solves the issue.
Though the actual Bookreader module is installed the same way as any Drupal module is, the Bookreader library needs to be downloaded and placed manually. This can be done in two different ways:
After you install and enable the module, go to Administration > Islandora > Solution pack configuration > Book solution pack (admin/islandora/solution_pack_config/book).
Controls for the Islandora Internet Archive Bookreader are identical to the standard Internet Archive Bookreader:
Configuration options for the Islandora Internet Archive Bookreader can be found:
To configure the Internet Archive Bookreader, go to Administration > Islandora > Islandora Viewers > Internet Archive Bookreader (admin/islandora/islandora_viewers/internet_archive_bookreader).
Field | Default Value | Explanation |
---|---|---|
djatoka image compression level | 4 | The level of compression djatoka will use when creating images (usually set at 4 or 5). |
Solr field relating pages to book PIDs | RELS_EXT_isMemberOf_uri_ms | This field is necessary to allow the "Search inside" option in the IAV to search across the full text OCR datastreams of all pages associated with this book. Enter the solr field that indexes the relationship that associates Islandora Page objects with Islandora Book objects. |
Overlay Opacity | 0.5 | The opacity of the overlay, when opening the info, fulltext and share dialogs. Enter a decimal number between 0 (fully transparent) and 1 (fully opaque). |
The content type being displayed within the IAV. | book | This will be displayed in the viewer in places such as the info and share dialogs. |
Default page view | Single page | The number of pages the IAV will show by default. Options are Single page, Side by Side (2 pages), or Thumbnails (all pages). |
Force the Internet Archive Bookreader into full screen for mobile users? | unchecked | Checking this will make book objects full screen by default on mobile devices. |
Use the JPG datastream as a backup. | unchecked | This option can slow a site down, so use it only if necessary. The viewer usually loads JP2 derivatives, but it won't return a JP2 that is smaller than 4096 bytes. If you have a collection with JP2 derivatives smaller than the minimum size, or no JP2s, select this option to use JPG derivatives as the page image instead. |
Having problems or solved a problem? Check out the Islandora google groups for a solution.