Tuesday, 16 January 2007
syncing orage with google calendar
This really came out of playing with Xubuntu on parallels, the VM server for the mac. Xubuntu is a lightweight window manager and comes with orage as a basic calendar application. The question is, how to sync it with google calendar - or more accurately how to set it up to provide an offline calendar service so that you can have a recent calendar available (I'm so taken with Xubuntu I'm thinking about using it on an old machine that's not online all the time)
The trick actually is incredibly simple - google gives you the unique url of you calendar. This is an ics format file. Orage reads ics format files as archive files.
The trick really is to do a
wget -nH -rK your_calendar_url
as a cron job and hey presto, you have as recent a copy of your calendar as your cron job is set up to run.
Of course calendar files are kind of big so you probably wouldn't like to do this too often over a slow link, but even so you could probably run it once a day even over dialup