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


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 0 rates

Labels

elympics elympics Delete
vcalendar vcalendar Delete
icalendar icalendar Delete
calendar calendar Delete
items items Delete
issued issued Delete
voyager voyager Delete
interface interface Delete
open open Delete
webvoyage webvoyage Delete
intermediate intermediate Delete
perl perl Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Issued items as Calendar import format

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


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

In Development - I haven't properly determined whether the formatting fully complies with the ICAL format, or whether the data will properly import into anything other than Outlook.

Programming language

Perl

Software requirements

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

Screenshots

Imported data in Outlook:

Download

issued_items_ical.cgi

Working example

http://libcat.ucol.ac.nz/vwebv/issued_items_ical.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.

These instructions will import the data for the due items into Outlook

You can use File | Import in Outlook to Import an iCalendar (.ics) or vCalendar file (.vcs), and the use the url format below for the "Import file" location:

server location/issued_items_ical.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:

 chmod +x issued_items_ical.cgi

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

Check with other programs whether the import format is fine.

Known issues

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


Comments

Text...


Page Attachments

File NameCommentSizeNumber of Downloads
issued_items_ical.cgi12 kB44

Added by Tom Pasley on Dec 21, 2009 23:19, last edited by Tom Pasley on Jan 10, 2010 21:48

Adaptavist Theme Builder Powered by Atlassian Confluence