Issued items as Calendar import format
Tags: elympics, vcalendar, icalendar, calendar, items, issued, voyager, interface, open, webvoyage, intermediate, perl
Last Updated: Jan 10, 2010 21:48
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...