iCalendar feeds

July 21, 2007

Last weekend I sat down and implemented iCalendar feeds for your projects. There are several to select from, both personal and for all people in your ClockingIT company.

After finding the icalendar gem for Ruby and reading a bit of documentation, implementation was a breeze. What took most time was finding an export format that contained correct information so that Google Calendar could parse it. It seems that if you use an end time of less then an hour, Google Calendar sets it to one hour, but if you specify a duration it gets it right. The gem also output the wrong tag for a VTODO percentage, but that was easily fixable with a gsub.

The end result is that Google Calendar now polls my feeds once a day, and I get a nice view of the work I log and the tasks I close. And as I split different information into different feeds, I can filter the view easily to see just the information I’m looking for.

Google Calendar Feeds

3 Responses to “iCalendar feeds”

  1. Marcelo Says:


    Is this functionality still working? I tried to register ClockingIT on my Google Calendar and it didn’t work (Error adding imported calendar in http://username.clockingit.com/feeds/ical_all/afdu8oaj4u5oaasursau7483?mode=tasks to username@gmail.com) (I translated the message to English). I also tried to add mode=logs and mode=milestones.

    Best regards,

  2. It’s still working for me, but Google Calendar has earlier needed a couple of tries to get going.

    I might have broken something while trying to make Outlook happy, though, iCal is a mess!

    — Erlend

  3. Marcelo Says:

    Thanks for your reply, Erlend!

    I’ll try again and again. I’ll give you a feedback as soon as possible.

    Best regards!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: