]> git.evergreen-ils.org Git - Evergreen.git/commit
Switch to new Google Books API; make SSL friendly
authorDan Wells <dbw2@calvin.edu>
Thu, 17 Nov 2011 21:22:58 +0000 (16:22 -0500)
committerDan Scott <dscott@laurentian.ca>
Fri, 18 Nov 2011 00:09:21 +0000 (19:09 -0500)
commite054848701fe49df001847e740eecd24aa149a17
tree074e0e20b6a2d5dddcb0863fd764df7ab653906d
parent93c98586b1a4e7fa93c92b852e9491bf3ef12327
Switch to new Google Books API; make SSL friendly

As implied in the title, this commit does two things.  First, it
switches to the new Google Books API (which is both imminent and
also necessary to make SSL calls work).  From what I have read and
experienced, we do not need an API key to do searches and previews.
I have also not hit any kind of unauthenticated limit in several
days of heavy testing, so I would figure we are safe (at this
point) for normal end-user OPAC browsing.

Second, all Google Book requests are now done over https.  This
eliminates the majority of mixed content warnings when browsing
securely, though you still get a warning when you actual do preview
a book.

In addition to possibly implementing protocol detection (rather
than doing https all the time as a "lowest" common denominator),
there are a few minor points where we might consider future changes.
Those points are commented within the code.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/web/opac/skin/default/js/result_common.js