I'm working on redesigning our site and would love to use the BookPost module when it is in production. The problem I am running into is whenever Open Library is unavailable (Which has been often) I receive this error and my page fails to load.

Uncaught exception 'Exception' with message 'Open Library Data Unavailable'

Looking through several of the other issues I see where an updated version of this module hopes to cache this data so performance is improved. With the current version is there any way to have this module output a generic "Service is not available" message as opposed to producing an error that stops the page from loading?

Comments

aimutch’s picture

Ditto on caching. I've worked with some PHP code on another project where queries to Amazon checked a local image cache and then went to Amazon for the bookcover (and cached the cover for future requests). That speeds up the process instead of making remote server calls over and over again.

daengo’s picture

I'm wondering the same thing. The module was posted three years ago and that seems like an awfully long time. Is it still being maintained?

aimutch’s picture

Doesn't look like it. The maintainer said back in 2009 that he was looking to get back into working on this but nothing since then.

mattrweaver’s picture

You can also check out the openlibrary api module:
http://drupal.org/project/openlibrary

Not stable, but it looks like there is active development.

darrell_ulm’s picture

Hi all,

Interested in working on a new version with lots of additional options.

Emailed the maintainer yesterday to see if I could become a co-maintainer, or just take it over.

And have some ideas for nice upgrades to this (also for Drupal 7).

Attached are some images of some idea plans.

darrell_ulm’s picture

I started a new module for Drupal 7

http://drupal.org/project/1372154/git-instructions

Should be out of sandbox soon - has many display options.

This one works with Google Book API data instead of Open Library data.

Works similar with the {{ search string }} filter.

darrell_ulm’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new23.37 KB

Not sure if the patch uploaded. Need to try again tomorrow. Naming convention.

Ignore this one.

darrell_ulm’s picture

Category: support » task
Status: Patch (to be ported) » Needs review
StatusFileSize
new23.37 KB

OK, here is a go at uploading the patch again for the upgrade to Drupal 7.

I set the status to 'needs review' so the rule will catch.

darrell_ulm’s picture

OK, I just tested and the patch *is* there. Drupal.org deleted the 1st try, possibly because the auto *.patch test needed the status == 'needs review.'

Hope you can use it!

Cheers,
-Darrell

darrell_ulm’s picture

I released a Drupal 7 module to display book data from Google Books data. It includes configurable data fields, on a global or item level, configurable images, can customize the CSS or theme, and Google's built in reader for books that have previews or are public domain.

Here is the link.
http://drupal.org/project/google_books

A demo can be seen at:
http://superpowerplanet.com/content/drupal-google-book-filter-module

Cheers,