Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Changing matching criteria for Google Books links

    • Product: Voyager
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local


    Where can the matching criteria (LCCN, ISBN, OCLC) be changed for matching Google Books links in the OPAC?


    1. Navigate to /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/en_US/xsl/local_googleBooksAvail.xsl.
    2. Edit the first stanzas of the file to match the correct MARC fields to the matching criteria.

    Additional Information

    You can manage the fields used for matching with Google Books on OCLC number, LCCN number, or ISBN.

    If you look at /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/en_US/xsl/ and find the local_googleBooksAvail.xsl file, there are stanzas at the beginning of the file where you can adjust the MARC fields used for the matching point for each criteria.

    For example, the following code limits the information passed to Google to just the ISBN by commenting out the LCCN and OCLC options:

    <form action="googleBk" name="googleBk" onSubmit="return false">
     <xsl:if test="string-length($ISBN)"><input type="hidden" name="gisbn" id="gisbn" value="ISBN:{$ISBN}"/></xsl:if>
     <!--<xsl:if test="string-length($LCCN)"><input type="hidden" name="glccn" id="glccn" value="LCCN:{normalize-space($LCCN)}"/></xsl:if>
     <xsl:if test="string-length($OCLC)"><input type="hidden" name="goclc" id="goclc" value="OCLC:{translate($OCLC,'OCLClcocm//r()','')}"/></xsl:if>-->

    Please be aware that in certain circumstances Google displays the wrong cover image for a title. This is due to a faulty association on Google's part. We advise customers to contact Google via the "Report an Issue" link on the Google Book's page when this issue is encountered.

    Article last edited: 10-Jun-2019

    • Was this article helpful?