Bug 10320 - Integrate OverDrive search into OPAC
authorJesse Weaver <pianohacker@gmail.com>
Thu, 16 May 2013 23:11:15 +0000 (17:11 -0600)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 8 Sep 2013 07:00:40 +0000 (07:00 +0000)
commit2d0bdc80fda5344cd3ef6613d26676267a82142a
tree569b55661d176b6c96d2afce1c0060c94a4bda7f
parent794f0f28c931ae885232c23d02f94bfed66158f5
Bug 10320 - Integrate OverDrive search into OPAC

Show any relevant results from the OverDrive ebook/audiobook service
on the OPAC search. This is done by showing a link with "Found xx
results in the library's OverDrive collection" at the top of search
results and linking to a page that shows the full results.

This requires an OverDrive developer account, and is enabled by
setting the OverDriveClientKey and OverDriveClientSecret
system preferences.  In addition, this patch adds the
OverDriveLibraryID system preference.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Henry Bankhead <hbankhead@losgatosca.gov>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
17 files changed:
C4/External/OverDrive.pm [new file with mode: 0644]
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref
koha-tmpl/opac-tmpl/ccsr/en/js/overdrive.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/js/overdrive.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/prog/images/Star0.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/images/Star1.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/images/Star2.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/images/Star3.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/images/Star4.gif [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/images/Star5.gif [new file with mode: 0644]
opac/opac-overdrive-search.pl [new file with mode: 0755]
opac/opac-search.pl
opac/svc/overdrive_proxy [new file with mode: 0755]