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


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

Show SFX link in OPAC according user IP only for records with ISSN

Tags:
intermediate level, sfx, opac, server ip validation,
Last Updated: May 24, 2010 19:51


  • Description

    Displays SFX link/button on OPAC's full record screen according user's IP address (IP validation made on server side via PERL) and only for records with ISSN.
    It can be used on all Aleph500 versions.


  • Author: Michelangelo Mazzardo Marques Viana
  • Additional author(s):
  • Institution: Pontificia Universidade Catolica RS
  • Year: 2010
  • License: MPL 1.1 / GPL 2.0
  • 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: MPL 1.1, GPL 2.0
  • Skill required for using this code:
    intermediate.

State

Stable (in production use)

Programming language

Javascript and PERL

Software requirements

Tested with Aleph 18 under Linux Red Hat.
Should work in different environments too.
Requires Aleph native PERL and Javascript.

Author(s) homepage

http://www.linkedin.com/pub/michelangelo-mazzardo-marques-viana/3/723/857

Download

http://www.exlibrisgroup.org/download/attachments/29590261/show_sfx_link_according_user_ip_may242010.zip
See installation instructions below.

Working example

http://verum.pucrs.br/F/?func=find-b&find_code=WTI&request=american+journal&local_base=sfxlinkip
Search for title = american journal

Using the following Ex Libris open interfaces

None so far.

Version

  • 1.1 (May 24th, 2010)

Release notes

Version 1.1

  1. Gets only ISSN as issn variable value: ####-####, supressing the extra HTML code when searching for ISSN
  2. Corrects two bugs on the code: a missing ")"; and the wrong use of "</SCRIPT>" term as a comment.

Installation instructions

  • Log in to the server as aleph user
  • save the ip.pl file into:
    /exlibris/aleph/u18_1/alephe/apache/cgi-bin/ip.pl
  • Change u18_1 according your aleph installation
  • Add execution attribute to this file:
    chmod +x ip.pl
  • Insert the codes into the files according instructions indicated in each file:
    full-999-body
    full-set-head
    full-set-tail
  • Restart Aleph WWW Server.
  • Make an OPAC search that return periodicals for testing.

Page Attachments

File NameCommentSizeNumber of Downloads
show_sfx_link_according_user_ip_may242010.zipFull-set-tail updated4 kB55
OUT-OF_DATE-show_sfx_link_according_user_ip.zipOUT OF DATE = USE THE OTHER ONE4 kB44

Added by Michelangelo Mazzardo Marques Viana on May 20, 2010 23:11, last edited by Michelangelo Mazzardo Marques Viana on May 24, 2010 19:51

Adaptavist Theme Builder Powered by Atlassian Confluence