SFX Persistent Link Creator
Tags: sfx
Last Updated: Oct 30, 2009 02:03
- Description
This persistent link creator makes the URLs computed by SFX available for users to copy and paste into their syllabi, electronic reserves or other webpages.
- Author: Deborah Mouw
- Institution:
Western Michigan University - Year: 2008
- 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
In Development
Screen captures

Download
Release notes
The current version is only tested to work with journals and articles. We have a display logic rule which only shows this target if an ISSN is present.
Installation instructions
There are five files attached. The first file (link_creator_templates.cgi) should be placed in the cgi/public folder on your SFX server. At the top of the file, you need to add the URL for your SFX instance (http://sfx.exampleuniversity.edu:9003/sfx_local) where it says "<<<<Add Your SFX URL here>>>".
The next three files are template files which should be placed in a directory within the templates/targets directory called "link_creator".
The last file should be placed in the target parsers directory. I created a directory called "LOCAL" within the target parsers directory. If you put the parser in a directory called something different, make sure to change the first line of the parser to match your directory.
After placing all the files in the correct directories, you need to create the target in SFX Admin. You'll need to create a new Target, Target Service (we used getReference service) with a parser set to LOCAL::PERSISTENT (or wherever you placed the parser) and a local threshold of $obj->need('rft.issn') since this parser is only tested for use with journals with ISSNs. See screenshot: 
TO DO list
Add functionality for eBooks, conference proceedings and other content types.
Known issues
I have come across some issues with targets that allow DOI linking not showing the DOI URL but the URL computed by the parser if there is no DOI.

