PHP Script for hCalendar to iCalendar Conversion

I try to do the “right thing” in postings on DLTJ. In the context of this discussion “right” is an attempt to be progressive: including hCalendar microformat markup for postings that include mention of events. The latest example of this was yesterday’s posting of the Learning, Libraries and Technology Conference. Embedded in the first paragraph is markup that another application reading the DLTJ feed can use to understand that the posting is talking about an event. (The Technorati Events” service is one example.) The key parts of the HTML are bolded below:

Downloading the ALA Annual Meeting Planner to Your Mac iCal

First, kudos to the vendor that runs the ALA Meeting Planner website. They listened to suggestions and now include a way to download your event planner information to your desktop/handheld device using the iCalendar standard. It is available from the “Downloads and Printing” page of your meeting planner homepage. (You’ll need to sign in using the e-mail address listed on your ALA Annual Registration form plus the password “ala”.) Jump down to the end and select the “iCAL” button next to “Personal Itinerary” to download the iCalendar file.