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


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 1 rates
Labels:
sfx sfx Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

SFX Persistent Link Creator

Tags:
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

link_creator_templates.cgi

head.tmpl

link_creator_main.tmpl

tail.tmpl

PERSISTENT.pm

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.


Page Attachments

File NameCommentSizeNumber of Downloads
link_creator_templates.cgi7 kB553
target_service.jpg67 kB354
link_creator_main.tmpl0.2 kB81
tail.tmpl0.1 kB87
PERSISTENT.pm2 kB120
head.tmpl0.3 kB95
persistent_url.jpg79 kB397

Added by Deborah Mouw on Sep 23, 2008 21:14, last edited by Conf Admin on Oct 30, 2009 02:03

Adaptavist Theme Builder Powered by Atlassian Confluence