The script is found at URL:
http://scripts.uvm.edu/cgi-bin/CT_Cal.pl
Used "as is," it will generate one week of "Campus Calendar" agenda. Or, more correctly, the agenda for CorporateTime user family-name="Calendar" and given-name="Campus."
It accepts additional parameters as name=value pairs. Separate the name=value pairs from the URL with a ?, and separate each name=value from each other with a & . Thus,
http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?period=month
or
http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?period=month&ascal=1
Names and values can be:
| period | day, week, month, nextmonth, twomonth, year The period determines how much agenda to show. month shows this month, nextmonth shows next month, twomonth shows this month and next month |
| gn1 | "Given name" or "first name" of an agenda to display |
| fn1 | "Family name" or "last name" of an agenda to
display
These are usually used as a pair (but sometimes you only need the family name) to display the agenda for someone. You may also specify a fn2 and gn2 and/or fn3 and gn3 and so on to display several agendas all mushed together. For example, http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?fn1=Wright&gn1=Wesleyis Wesley Wright's agenda for the next week. And http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?fn1=ASDean&period=monthis the College of Arts and Sciences agenda, while http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?fn1=ASDean&fn2=Wright&gn2=Wesley&period=monthis Wesley's AND Arts and Sciences's combined agendas. |
| s | start time in UTC format |
| f | end time in UTC format
Use together to be more specific about the range of events to display. UTC format is YYYYMMDDTHHMMSSZ as measured in Universal Time (GMT) Zone. See http://www.cl.cam.ac.uk/~mgk25/iso-time.html. events that overlap the specified start and end times are displayed. |
| ascal | =1 to display output as a table that looks like a wall calendar. |
| asical |
=1 to generate downloadable iCal
file (calendar.ics) |
Last modified January 20 2005 03:29 PM