Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Frédéric Demians 9570439c50 Bug 9580 Cover images from Coce, a remote image URL cache
Add to Koha support for displaying Book cover requested to Coce, a
remote image URL cache:

  https://github.com/fredericd/coce

With this enhancement, cover images are not fetched directly from
Amazon, Google, and so on. Their URL are requested via a web service to
Coce which manages a cache of URLs.

Three cover image providers are now available: Google Books (gb), Amazon
(aws), and Open Library (ol). Two system preferences enable this service:

  - CoceHost - URL of Coce server
  - CoceProviders - Ordered list of requested providers. For example
    gb,aws,ol, will return the first available URL from those providers.

Several advantages to this architecture:

  - If a book cover is not available from a provider, but is available
    from another one, Koha will be able to display a book cover, which
    isn't the case now
  - Since URLs are cached, it isn't necessary for each book cover to
    request, again and again, the provider, and several of them if
    necessary.
  - Amazon book covers are retrieved with Amazon Product Advertising
    API, which means that more covers are retrieved (ISBN13).

Test plan:

- Apply this patch, and test with 'Bootstrap' themes
- You can verify that nothing has changed on OPAC result and detail
  page, since new syspref haven't been filled
- Install Code: https://github.com/fredericd/coce
  Or ask me directly for the URL of a Coce server
- In sysprefs, tab Enhanced content, modify:
  CoceHost -- enter the URL of your Coce server
  CoceProviders -- fill with: gb,aws,ol
- Do a search. On result page, and detail page, you will see cover
  images originating from the 3 providers: fly over the image to see its
  URL. Try to compare with a Koha with just GoogleJacket or Amazon cover
  to confirm that you have more images. Verify that it's quick, and even
  quicker for cached images URLs.
- Check that Browse Shelf functionnality works properly.
- The ID sent to Coce is EAN or ISBN. Try with various type of biblios. DVD
  have often EAN, but no ISBN.
- You can try with those sysprefs:
    CoceProviders: aws,gb
    CoceHost: http://coce.tamil.fr:8080
  and this EAN (or ISBN): 3333297517744
  => OPACAmazonCoverImages enabled doesn't display a cover because, it's a DVD
  => Coce find and display the DVD cover.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Amended patch: replaced 1 tab with spaces in C4/Shelfbrowser.pm

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-01 09:31:42 -03:00
..
acquisitions.pref Bug 12557: DB changes - Add the AcqItemSetSubfieldsWhenReceiptIsCancelled pref 2014-09-09 10:09:58 -03:00
admin.pref Bug - 5511 [Followup]: QA Fixes 2015-02-09 17:00:09 -03:00
authorities.pref
cataloguing.pref Bug 13676 - OpacSuppression description says 'items' but means 'records' 2015-03-02 15:25:47 +01:00
circulation.pref Bug 5786 - Move AllowOnShelfHolds and OPACItemHolds system prefs to the Circulation Matrix 2015-03-25 10:33:14 -03:00
enhanced_content.pref Bug 9580 Cover images from Coce, a remote image URL cache 2015-04-01 09:31:42 -03:00
i18n_l10n.pref Bug 13686: Change wording 2015-03-31 11:44:34 -03:00
local_use.pref
logs.pref
opac.pref Bug 10328 - Rename opaccolorstylesheet to OpacAdditionalStylesheet 2015-03-31 11:30:54 -03:00
patrons.pref Bug 11401: QA followup 2014-11-14 09:42:45 -03:00
searching.pref Bug 13088: Add a syspref so the user can chose the amount of facets to show 2014-10-27 12:21:20 -03:00
serials.pref Bug 9958: Improve RoutingSerials sys pref description 2014-12-28 20:32:37 -03:00
staff_client.pref Bug 10878: Correct Display856uAsImage pref description 2014-11-16 21:18:21 -03:00
tools.pref
web_services.pref