About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools

Warning: This page has not been updated in over over a year and may be outdated or deprecated.

Book Previews

VuFind is able to fetch previews for books contained in Google Book Service, HathiTrust and the Open Library. These previews are displayed in results pages and on individual record pages. Lookups are made asynchronously using OCLC, LCCN and ISBN numbers. Administrators can choose to enable one or all of these providers by modifying the “previews” line in config.ini.

Branding Issues

Note that there may be some issues with branding of Google Book Search results. See this page before using GBS.

Controlling Which Previews Display

Starting with VuFind 1.4, you can also choose exactly what types of previews you would like to display on the relevant line for each provider. Google Books and Open Library classify their previews as full, partial or noview. Noview pages consist of an index page with some bibliographical information and reviews from 3rd parties. See this page for more details.

HathiTrust classify their previews according to rights codes. The possible codes are pd,ic,opb,orph,und,umall,world,nobody,pdus,cc-by,cc-by-nd,cc-by-nc-nd,cc-by-nc,cc-by-nc-sa,cc-by-sa,orphcand,cc-zero,und-world. See this page for full details

By removing any code from the rights lines, you will prevent previews with these codes from being displayed.

Security Issues

Only the Google Books previews currently operate over SSL. This means that, if your VuFind site runs behind HTTPS, the Open Library and HathiTrust previews may cause security warnings in some browsers. The only way to prevent these errors currently is to set up a proxy (for example, php-simple-proxy) and modify the code to point to it. Before proxying Open Library or HathiTrust content, please contact the service provider to get permission and make appropriate arrangements.

configuration/book_previews.txt · Last modified: 2015/12/21 16:47 by demiankatz