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


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 2 rates
Labels:
intermediate intermediate Delete
voyager voyager Delete
marc marc Delete
webvoyage webvoyage Delete
record record Delete
bibliographic bibliographic Delete
linking linking Delete
redirect redirect Delete
redirection redirection Delete
searching searching Delete
opac opac Delete
elympics elympics Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

WebVoyage 7 (Tomcat) additional redirects

Tags: , , , , , , , , , , ,
Last Updated: Feb 25, 2010 00:57


Description

This XSL template will allow extra linking within the OPAC based on data in the MARC tags.

Author: Tom Pasley

Institution: UCOL Library

Year: 2009


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

XSL

Software requirements

TomCat (not the Classic version) of WebVoyage

Screen captures

The section outlined in red below is providing links using this additional code.

Author(s) email

t.pasley\no spam@ucol.ac.nz

Download

there are no downloads - simply copy and past from the examples below. If you have problems with the code getting munged, then email me.

Working example

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

Changes

Version 1.2 - 15 January 2010

Significant revision of code - removes a parameter, closer match to existing redirection links. Also handles multiple sets of field data.

Version 1.1 - 22 December 2009

Actually implemented the altText option, so it will work as a tooltip, (using both "alt" and "title" options), so should display a generic tooltip under most circumstances.

If you want standard links to multiple sources, it should be easy enough to copy and modify this code to direct the links to another target, (such as an OpenURL resolver-type service, target database, or Syndetics).

Version 1.0 - 21 December 2009

Original release

Release notes

Currently on version 7.0.4, we have only 4 redirects:

  1. Author
  2. Title
  3. Subject
  4. Call number (DDC/LC)

This template will allow any links to be created for searches on the OPAC, in a similar way to the regular redirectOn option:

- although the syntax and setup is more advanced/less sysadmin friendly.

There are 4 options which are required:

  1. preText -any text you want to appear before the subfield data as the link text
  2. postText - any text you want to appear after the subfield data as link text
  3. altText- any "alternative text" you might want to use as a tooltip (displays when mouse hovers over the link, using standard html code)
  4. newSearchCode - the new search key you want to use (such as GKEY, etc). This code has to be defined in your searching options.

Installation instructions

Backup/Save a working copy of your skin\xsl\contentLayout\displaydisplay.xsl

Insert the following just after the end of the template called buildCoverImageLinks.

To find this, search for

and find the next set of comment lines

and paste the following after the comment line:

Info sample:

To make use of this linking, find the outputDisplayData template which starts with these lines

and paste code similar to this in there:

Known issues

None yet!

Comments

Text...


Page Attachments

No files have been attached to this page.

Added by Tom Pasley on Dec 21, 2009 04:03, last edited by Tom Pasley on Feb 25, 2010 00:57

Adaptavist Theme Builder Powered by Atlassian Confluence