Patch from David Christensen to add support for fetching jacket images from Open...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Jun 2009 20:45:20 +0000 (20:45 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Jun 2009 20:45:20 +0000 (20:45 +0000)
commit4eb6e78a4d9d383fff78fc8442c26e7e1631ff03
treea44679542b4f34a3eab32e41f169fa7815da2158
parent84761f73dc698d522618155ba15cfcb4344bd262
Patch from David Christensen to add support for fetching jacket images from Open Library:

Hi folks,

At a suggestion from the #OpenILS-Evergreen IRC channel, I'm putting this out there :-)

This is a patch to /openils/lib/perl5/OpenILS/WWW/AddedContent/Amazon.pm (it probably makes sense if it were to end up as OpenLibrary.pm, or some such) that enables getting book cover images from OpenLibrary (see http://openlibrary.org/dev/docs/api/covers for details on the OpenLibrary API).

A little comment section at the top shows the two changes that need to be made to opensrf.xml as well.

-David

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best

    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am

    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified

    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is

    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: David.A.Christensen@gmail.com
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13435 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/WWW/AddedContent/OpenLibrary.pm [new file with mode: 0644]