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

    Changing matching criteria for Google Books links

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

    Question

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

    Answer

    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>-->
     </form>


    Article last edited: 10-Jun-2019

    • Was this article helpful?