Combine two iCalendar files

How do you combine two iCalendar files? Just catting them together is no good, because there might be duplicate events. All I want to do is share data between KOrganizer on my Zaurus and Mozilla Sunbird on my desktop. They both use iCalendar files to store data. I have spent twelve hours and not worked out how to do this. Help!

6 Responses to “Combine two iCalendar files”

  1. Not sure if you are aware of it: there is a Python module called (interestingly enough) iCal.py which you could use to parse both iCalendar files and spit back a combined one. Hope this helps.

    Antonio Cavedoni
  2. Personally, I use icalx.com. You can create ‘shared’ calendars and subscribe to them on multiple machines. Subscribing to all my published calendards gives an immediate visual reference of any potential conflicts. I have a calendar which I ‘publish’ from each machine I use and then subscribe to the others. If there is ever something I need noting in both my ‘home’ and ‘work’ calendars I end up ‘inviting myself’ to an appointment to tie them together!

    Josh Hart
  3. Antonio: I do know about that library, and it doesn’t seem to actually work when confronted with real ics files (as opposed to test example ones). I’m hacking on it, though.
    Josh: Heh. icalx is no good for me; I thought of the solution you’re proposing. KOrganizer, on the Zaurus, doesn’t allow more than one calendar file.

    sil
  4. I’m in the same position. The new version of Korganizer supports multiple calendars…eventually I suppose it will make it to the zaurus. I’d be interested in other solutions too though.

    Bob
  5. Bob: I’m avoiding the problem. Instead, I’m using multisync to sync the Opie datebook on my Z with mobical.net, an online syncml server. I then handle displaying appointments on my desktop by regularly (programmatically) fetching a vCalendar export from mobical and displaying it with gdeskcal. This does mean that I can’t alter my calendar from my desktop, but that’s not a critical requirement for me.

    sil
  6. Seth Cohn

Leave a Reply

OpenID is a decentralised authentication system. If you use LiveJournal or Vox you already have an OpenID; just use the URL of your homepage there. See also how to get yourself an OpenID.