Improved OUP journals target parser
Tags: basic
Last Updated: Oct 30, 2009 01:38
- Description
An improved target parser for Oxford University Press journals, to replace OUP::OUP. There are four main improvements:
(1) can generate WAYFless URLs for use with Shibboleth authentication in UK Federation
(2) if the volume and issue of the journal are not provided in the OpenURL, this parser will fall back to a link to the correct year, if supplied, rather than merely the journal home page.
(3) rewrites volume and issue numbers in roman numerals when required for linking to the journal. The current OUP::OUP target parser fails to construct the target URL correctly for such journals.
(4) if the starting page of the article is supplied in the URL, the target parser will work out what the correct issue number is. Sometimes sources do not supply the issue number, or supply the wrong style (see examples). - Author: Matthew Phillips
- Additional author(s):
- Institution: University of Dundee
- 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:
basic
State
Stable
Programming language
Perl
Download
Working example
If you try the following examples, you will be taken to Dundee's IdP for authentication. Replace our SFX server with yours to see the problems with the standard supplied target parser. Install the new one from this page, try again, and see the improvements!
Example of incomplete data in OpenURL (issue number missing). New target parser links to year, 1945, rather than to journal homepage.
Example with issue number missing from OpenURL. New target parser works out what it needs to be.
Example where source (Web of Knowledge) is supplying continuous issue numbering, while OUP site has issue numbering starting afresh for each volume:
Example where source gives issue as "PART 3" but OUP require "3":
Installation instructions
Download the file OUP_Dundee.pm and place on your server in /exlibris/sfx_ver/sfx_version_3/sfxlcl3/lib/Parsers/TargetParser/OUP
Then go to your Oxford journals targets (for example, OXFORD_UNIVERSITY_PRESS_DIGITAL_ARCHIVE) and edit the target service as follows:
(1) change the target parser from OUP::OUP to OUP::OUP_Dundee
(2) Change the parse param field to
url=http://www.oxfordjournals.org/ & archive=yes & shibentity=https://idp.dundee.ac.uk/shibboleth
where the shibentity value needs to be changed to the entity ID for your own IdP in the UK Federation. (For the other OUP targets the archive=yes bit should be omitted.)
The second step is optional. You will benefit from the other improvements (handling roman numerals, etc.) whether you turn on Shibboleth authentication or not.
Known issues
For some reason the Highwire target parser gets used for many Oxford journals articles. I cannot work out why, even with target debugging turned on.
It would obviously be better if the entity ID of the Shibboleth IdP were supplied as a user parameter rather than in the parse param field, but I could not work out how to do this.

