[Koha-devel] Amazon Cover Images

Frédéric Demians frederic at tamil.fr
Mon Feb 4 18:55:29 CET 2013


> It seems that Amazon provides some services to find ASIN from any
> ISBN but it's not clear for me how to use it. Has anyone already try
> them ?

http://docs.aws.amazon.com/AWSECommerceService/latest/DG/EX_LookupbyISBN.html

Currently, Amazon books cover are retrieved simplistically, with a HTML
<img> tags which src attribute is build based on sanitized biblio record
ISBN. It doesn't work always, as you said.

A better approach would be to do as for GoogleBooks covers: after HTML
page loading, sending asynchronously requests to Amazon Web Service
(AWS) in order to get ASIN from ISBN, then book covers, and then
complete HTML DOM with appropriate <img> tags.



More information about the Koha-devel mailing list