Simon Fell > Its just code > sfical.py

Thursday, June 26, 2008

sfical.py

Sometimes full blown 2 way sync is just overkill, for some people just having a read only copy of their salesforce.com calendar in iCal is all they want, fortunately this is pretty straightforward, iCal supports subscribing to iCalendar feeds, and conveniently your Mac includes a copy of Apache httpd, so can easily run perl, python etc in response to a request. Throw in a library for accessing the Salesforce.com API, and you have all the ingredients needed. I put this together in Python using Beatbox, it makes API calls to login and to query events, and to generate an iCalendar formated response, You then subscribe to the url on your local Mac in iCal to show the data in iCal with the rest of your calendars.

That's it!, you're good to go, you should have all your upcoming events now showing in iCal.

< 9:06 PM PDT # > tags : OSX Salesforce.com [playing "Keep on Playin'" by Breakestra (from Hit the Floor)]

You can't post a Comment

Sorry i got sick of comment spam, have something to say about one of my posts, post it to your own weblog.