UPC lookups in Syndetics.pm and improvements to added content by record ID
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Apr 2012 08:23:28 +0000 (04:23 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 28 Feb 2013 04:29:49 +0000 (23:29 -0500)
commit735b6aa508a448dc4e459e17f3318c12ce87a527
tree55b53dfc6358871dd969a4e4adc4cb1565d04a3d
parent20aa9bceeec099f7ab713e5a3f8175faf06c2013
UPC lookups in Syndetics.pm and improvements to added content by record ID

Teach OpenILS::WWW::AddedContent::Syndetic to use the new added content by
record ID. Also, teach it to pass UPC when requesting additional content
from the source.

Use Business::ISBN to clean ISBN values.

If we find no valid ISBN and no UPC values in the record, do not attempt
to call an AC handler. This will need to change when we have AC handlers
that rely on other possible keys.

Caching improvement: serve from cache before fetching keys from the bib
record in the database.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm