accidentally, we have discovered the following pattern:
When one uses a link to the bib record which comes from the search
results page, the preview does not show up, e.g.:
However, when permalink (without all those search parameters) is used,
the preview does show up:
I have been trying to verify whether it also occurs in other Evergreen
installations. It seems that demo servers
(https://wiki.evergreen-ils.org/doku.php?id=community_servers) do not
have the previews switched on.
So I tried a couple of live systems and have found out that Laurentian
probably uses at least 3.1.0 because one can see search terms being
highlighted. The Google Books previews rewrite has been introduced in
3.0 (http://docs.evergreen-ils.org/3.0/_public_catalog_2.html), so if
Laurentian also uses it (and it is, indeed, the case) it would also use
the rewritten code for the previews.
It follows the same pattern like the one we have discovered in our
https://laurentian.concat.ca/eg/opac/record/3138661?locg=105 - the
preview shows up
- the preview fails to show up
Is there anybody else using Google Books previews? Could you help
confirm if it also looks like described above? If so, I would report it
as a bug...
On 08/31/2018 08:47 AM, Linda Jansova wrote:
We have been trying to set up Google Books Preview in our 3.1.4
installations. We have followed instructions from
– changed ctx.google_books_preview = 0; to ctx.google_books_preview =
1; in parts/config.tt2 (which – judging by other examples in the same
config file – should be okay).
When testing whether changed configuration actually changed anything,
we used examples of bib records about which we were sure they had a
preview in Google Books.
We have also restarted Evergreen (including memcached) but to no avail.
Is there anything else that needs to be set up (apart from setting
ctx.google_books_preview to 1 instead of 0)? Or anything else we might
Thank you for any hints!