[Melbourne-pm] vCalandar -> RSS etc...
stephen.edmonds at its.monash.edu.au
Tue Dec 7 16:28:01 CST 2004
I suspect that the format that iCal exports (and imports and subscribes
to) is actually iCalendar  not vCalendar. When I wrote a script to
scrape my work calendar in order to create a ics file that I could then
subscribe to in iCal I followed the iCalendar spec and it works fine...
The other thing is that I have only seen vCalendar files with a .vcs
There does exist a set of classes under Net::ICal (on CPAN) but when I
had a quick look earlier in the year I couldn't get it to work, or
install cleanly. It is part of Reefknot  but that doesn't seems to
have moved in four years :(
This meant that for my script I had to create the ics file manually.
However I did use Date::ICal to format the dates...
Scott Penrose wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hey Dudes
> vCalendar (like vCard only Calendars) is used by things like iCal on a Mac.
> I was wondering if any of you know an easy way to convert these in Perl.
> ie: i would like to be able to do something like this...
> http://www.mysite.com/MyCal.ics - vCalendar file from iCal
> http://www.mysite.com/rss/MyCal.ics - Convert to RSS
> Thus supporting people who can read RSS but not iCal - don't worry about
> the URLs etc - I am really just looking for something that can read the
> vCalendar - I can EASILY write it myself - but I don't want to !
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
> -----END PGP SIGNATURE-----
> Melbourne-pm mailing list
> Melbourne-pm at mail.pm.org
Portal Developer / Integrator
Flexible Learning and Teaching Program
ITS, Monash University
More information about the Melbourne-pm