::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Open Formats Are Nice: iCal

January 25th, 2011
programming, ical, python, tech  [html]
A while ago I decided that I wanted my schedule to show up on google calendar so I could look at one calendar that had both my events and julia's events. So I wrote something to convert it into ical format, and set my scripts to run that whenever I changed the calendar. At the time, this turned out not to be very helpful: google would load my calendar feed but then wouldn't make updates. So I left it alone for a year.

Now my situation changes: I have a mac. So I open up ical, import my feed, import julia's google calendar feed, and everything just works [1]. The reason this all worked is that google advertised support of someone else's open format, ical, so that when I wanted google calendar support that's what I implemented. If they had instead chosen to write their own format or something, I would have needed to start all over to get ical integration and might never have taken the time.


[1] Actually, it doesn't. I hadn't implemented all-day events properly, so I had to tweak my feed generation scripts.

Recent posts on blogs I like:

Veganism and restrictive eating

I’m reading the book Intuitive Eating, which I highly recommend. I was looking for something like it that could get me back to trusting my biological hunger without worrying that I need to control myself or my weight. It’s raised my consciousness to the w…

via Holly Elmore January 17, 2020

Cops on Public Transportation

I wrote a post about American moral panics about fare evasion two months ago, which was mirrored on Streetsblog. I made a mistake in that post that I’d like to correct – and yet the correction itself showcases something interesting about why there are arm…

via Pedestrian Observations January 17, 2020

Algorithms interviews: theory vs. practice

When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site d…

via Posts on Dan Luu January 5, 2020

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact