[Koha-bugs] [Bug 7187] Prioritize cover image sources such as Amazon, Google and add fail over i.e. if first source fails, go to next
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 12 10:21:56 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7187
--- Comment #19 from Manos PETRIDIS <egpetridis at yahoo.com> ---
(In reply to comment #6)
> One thing we need to decide on is whether the logic that checks multiple
> sources should be in JavaScript on the client side or Perl on the server
> side. I'm leaning towards Perl on the server, for two reasons:
>
> 1. Displaying an image could be as simple as this:
>
> <img src="opac-ver.pl?biblionumber=x" />
>
> 2. We could cache the results of looking through multiple sources. (Caching
> might violate the terms of service for e.g. Amazon, but then we could check
> them last, after we have checked the ones that we can cache.)
I know it is quite late, but it just came to me that using server-side code
might simplify using/intergrating local images with the ones provided by
external sources, and allow for displaying the same images at the OPAC and the
administrative calatogs.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list