[Melbourne-pm] vCalandar -> RSS etc...

Stephen Edmonds 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 [1] 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 
extension :)

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 [2] 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...


[1] http://www.faqs.org/rfcs/rfc2445.html
[2] http://reefknot.sourceforge.net/

Scott Penrose wrote:

> 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 !
> Scooter
> Version: GnuPG v1.2.4 (Darwin)
> iD8DBQFBtXe1DCFCcmAm26YRAg67AKCcxQqhvmeKwe3CO7rFcas/AMNYjwCfeSZI
> 7Pu+D4U2sgm0RcB292+sFrs=
> =OJhr
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at mail.pm.org
> http://www.pm.org/mailman/listinfo/melbourne-pm

Stephen Edmonds
Portal Developer / Integrator
Flexible Learning and Teaching Program
ITS, Monash University

More information about the Melbourne-pm mailing list