]> 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:57 +0000 (19:09 -0500)
commit22f7c28bbfe83b204cbc1107ed7d3bcd3b21ff2d
treebdcf706d5a8510940de5ba4d1437de519910aa16
parentf015e53f90ec0ab52c5d66fac24ad34d592922ee
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