The following pages provide an exercise in developing a small system to create an ics iCalendar file which will contain the fixtures for the FIFA 2010 Football World Cup. The calendar file will then be published on a public caldav server enabling those that wish to subscribe to the calendar.
It is not in my nature to sit down and type in all the World Cup fixtures! Therefore the first tutorial will show how to screenscrape the fixtures from a news site off the Internet.
The engine room of this little project is to generate the .ics file. I am using the Perl scripting language - the ideal choice for this particular type of work.
Once the .ics file is ready to rumble, it needs to be copied into a public place so anyone who wants can subscribe to it.