holidays_ical - scrape the Holidays wiki page into ics
So this is why I wanted an iCal generator/parser.
We have an intranet, with a page for who's going to be out of the office which blech suggested might be good to have available as .ics.
The page is structured roughly like so:
= 2004 = == February == * [[Richard Clamp]] ** 1st - 3rd Baying at the moon
This script scrapes that page and makes it available as a vCalendar. It's called as a cgi so you can subscribe to it with iCal.app and phpICal.
Richard Clamp <richardc@unixbeard.net>
To install Text::vFile::asData, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::vFile::asData
CPAN shell
perl -MCPAN -e shell install Text::vFile::asData
For more information on module installation, please visit the detailed CPAN module installation guide.