Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 0 rates
Labels:
series series Delete
webvoyage webvoyage Delete
intermediate intermediate Delete
tomcat tomcat Delete
opac opac Delete
xsl xsl Delete
marc marc Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

WebVoyage TomCat Series linking

Tags: , , , , , ,
Last Updated: Dec 13, 2010 21:43


  • Description

    This code contribution illustrates how to configure a proper series link in TomCat WebVoyage, so that series links work through searching on series data, rather than title data. We've noticed that results from Series data are more relevant, and more comprehensive using this method.


  • Author: Tom Pasley
  • Additional author(s):
  • Institution: Universal College of Learning
  • Year: 2010
  • License: BSD style
  • Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
  • Link to terms: [Detailed license terms]
  • Skill required for using this code:
    Intermediate

State

Stable

Programming language

XML/XSL

Software requirements

None - just TomCat WebVoyage

Screen captures

OPAC result:

SysAdmin configuration:




Author(s) email

t.pasley@(nospam)ucol.ac.nz

Working example

http://libcat.ucol.ac.nz/vwebv/holdingsInfo?bibId=129496

Using the following Ex Libris open interfaces

N/A

Changes

Version 1.0

Text...

Release notes

This works in our configuration where we have a Search Index (Keyword Definition) for the code SERI - this code shows how we have this functioning in our OPAC.

See the screenshots above for SysAdmin for an example of how this is configured at our site.

Installation instructions

Here's the code in full, from Voyager 7.0.4 - add the lines which should be shown below in black (but somehow aren't).

Basically it involves inserting two lines of xml into:

skin_name/xsl/contentLayout/display/display.xsl

under the clause for redirectSearchCode:

<xsl:variable name="redirectSearchCode">

- just under the entry for title, add:

<xsl:when test="$bibSearchRedirect='series'"><xsl:value-of select="'SERI'"/> </xsl:when>
 

under the clause for redirectSearchType:

<xsl:variable name="redirectSearchType">

- just under the entry for title, add:

<xsl:when test="$bibSearchRedirect='series'"><xsl:value-of select="'1'"/> </xsl:when>

as shown below...

below is an excerpt from
skin_name/xsl/contentLayout/configs/displaycfg.xml

by using series rather than title as the redirect, again, as shown in black.

TO DO list

What more could we do?

Known issues

None yet.


Comments

Text...

Page Attachments

No files have been attached to this page.

Added by Tom Pasley on Mar 19, 2010 05:20, last edited by Tom Pasley on Dec 13, 2010 21:43

Adaptavist Theme Builder Powered by Atlassian Confluence