<div dir="ltr">I agree Chris, <div><br></div><div style>I'de like to see this either stay client side, or have the URL's cached within koha's DB server side.  I don't much like the idea of having to run a further server/service.</div>

<div style><br></div><div style>Martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 February 2013 10:42, Chris Cormack <span dir="ltr"><<a href="mailto:chrisc@catalyst.net.nz" target="_blank">chrisc@catalyst.net.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
* Frédéric Demians (<a href="mailto:frederic@tamil.fr">frederic@tamil.fr</a>) wrote:<br>
> I've played with this idea of a cover images centralized cache of URLs.<br>
> I have a mock-up. Anybody interested in testing, commenting?<br>
><br>
> Client side (Koha), two syspref enable the service. URL are fetched from<br>
> the cache, via JSONP, just Google Books:<br>
><br>
> <a href="http://git.tamil.fr/?p=koha;a=commitdiff;h=e8e223437a5f61c8320cba1b9563a2eb81a6f9f2" target="_blank">http://git.tamil.fr/?p=koha;a=commitdiff;h=e8e223437a5f61c8320cba1b9563a2eb81a6f9f2</a><br>
><br>
> Server side, it's a node.js + redis small application:<br>
><br>
> <a href="http://git.tamil.fr/?p=coce;a=commitdiff;h=5e8021a95df07c7a5b14692955ac4c23c7490990" target="_blank">http://git.tamil.fr/?p=coce;a=commitdiff;h=5e8021a95df07c7a5b14692955ac4c23c7490990</a><br>
><br>
> It works now with Amazon and Google Books, but can be extended easily to<br>
> support other providers. It could work with other ILS than Koha. I can<br>
> show how it works on a Koha devel instance.<br>
<br>
</div>I was thinking we could do it all client side with js and html5 (and<br>
localstorage or indexdb) You'd define the order in system preferences,<br>
local, google, amazon, ltfl etc. Then the js would try them in that<br>
order and cache the resulting url (or the fact it couldn't find one)<br>
in localstorage or indexdb, which persists even when the browser is<br>
closed.<br>
<br>
That way it wouldnt need to be another server/service, since you have<br>
the js already, it shouldn't be too hard to convert it to an html5<br>
client side app.<br>
<br>
Thoughts?<br>
<br>
Chris<br>
<div class="HOEnZb"><div class="h5"><br>
> _______________________________________________<br>
> Koha-devel mailing list<br>
> <a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
> <a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
> website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
> git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Chris Cormack<br>
Catalyst IT Ltd.<br>
<a href="tel:%2B64%204%20803%202238" value="+6448032238">+64 4 803 2238</a><br>
PO Box 11-053, Manners St, Wellington 6142, New Zealand<br>
</font></span><br>_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Martin Renvoize<div>Software Engineer, PTFS Europe Ltd</div>

<div>Content Management and Library Solutions</div><div>Skype: <img src="http://mystatus.skype.com/bigclassic/ashimema" width="96" height="23"></div><div>Mobile: 07725985636</div><div><br></div><div><a href="http://www.ptfs-europe.com" target="_blank">http://www.ptfs-europe.com</a></div>


</div>