Sign In

Dausha CommunicationsA Resource for the Renaissance Man

Technical »

Remote Syncing Mozilla Sunbird

One of the things I like about open-source software is the ability to massage things to make it work for me. In the Winter of 2006, I started trying to use Mozilla Sunbird. The problem is that I wanted to be able to synchronize my calendars with various other computers. Now, when you have a WebDAV server, this is a no-brainer. However, for those of us who host on non-WebDAV servers, there has to be another way.

The closest I was able to get was to use phpICalendar. It comes with a tool that allows one to manage calendars that already exist on the server. However, the tool that application used to publish did not work well with Sunbird when Sunbird first starts using a calendar that does not exist on the remote server. I wanted to be able to use Sunbird to create that remote calendar. So, I whipped out my developer's hat and started working.

It turns out that when the Mozilla publish script is called to pull up a non-existant calendar it just complains. I chose instead to have the script return a one-event calendar. The event is keyed to the creation of the calendar itself. This allows the user to create a new remote calendar with Sunbird and phpICalendar. However, for those who don't want to use phpICalendar, there is another script. Of course, you'll want to change the file extension.

remote sharing without phpICalendar.

(:commentable:)