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


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 3 rates
Labels:
moodle moodle Delete
interface interface Delete
open open Delete
intermediate intermediate Delete
perl perl Delete
html html Delete
elympics elympics Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Issued items as HTML snippet

Tags: , , , , , ,
Last Updated: Jan 10, 2010 21:53


  • Description Using the same criteria as we use for someone to log into MyAccount, I have created a CGI script which will display someone's issued items as an HTML snippet.
  • 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

Either 'Stable' or 'In Development', depending on what voters think!

Programming language

Perl

Software requirements

Most of the required modules should be present on a Voyager server.

Screen captures

N.B. The screenshot here shows the ISBNs as links - these are not provided by the script! (but could be...)

Download

issued_items_html.cgi

Working example

http://libcat.ucol.ac.nz/vwebv/issued_items_html.cgi?patronbarcode=31232&lastname=Pasley

Using the following Ex Libris open interfaces

Voyager AuthenticatePatronService to obtain the patron_id.

Changes

Release notes

Original release.

Uses lots of code borrowed from Michael Doran's New Books scripts.

Hopefully this is also an "open" interface which can be used by benign 'bots, and included in products such as Moodle (using an AJAX script?, after accessing the $USER object to derive the HTML url).

URL is server location/issued_items_html.cgi?patronbarcode=libraryid&lastname=lastname

Installation instructions

Edit the script using something like Notepad++

Place this script in a valid cgi-enabled directory on a server, using FTP or whatever works!

Using a telnet terminal, use this as the voyager user to make the cgi script executable:

If your Voyager installation is running Michael Doran's New Books list, then put this cgi script in the same directory as "newBooks.cgi" once configured.

TO DO list

Possibly add a parameter to allow the client to specify the image size used?

No support for internationalisation - though could be edited manually.

Known issues

A bit slooow on our server, but your mileage might vary!


Comments

Text...


Page Attachments

File NameCommentSizeNumber of Downloads
issued_items_html.cgi12 kB117

Added by Tom Pasley on Dec 16, 2009 05:03, last edited by Tom Pasley on Jan 10, 2010 21:53

Adaptavist Theme Builder Powered by Atlassian Confluence