How to use iCal (Mac) for read/write access to Kronolith
Written by Niko (horde att enikao doot net)
KronolithSunbird describes how to use Mozilla Sunbird for read/write access to Kronolith 2.2 calendars via WebDAV. You can also use Apple iCal (tested with 3.0.2) for this, once you have figured out how to set this up. Below is a step-by-step description.
The basic issue is Kronolith not providing real CalDAV access to the calendar, but only understands data written to it in iCalendar format. If you set up the connection via Preferences | Accounts, iCal tries to use CalDAV.
Follow these steps for using iCal with Kronolith:
(Note: I'm working with the German translation of Horde and iCal, and then translating the labels back to English. Thus, the labels may not match exactly.)
- Open your calendar in Horde.
- Click on "Calendar" in the upper right corner.
- Click on "Manage Calendars".
- You will see a list of all your calendars. The right hand column (labeled "Subscribe Address") lists a URL. Right-click this URL and copy the target. For the purposes of this demonstration, we assume that it says "https://firstname.lastname@example.org".
- Open iCal on the Mac.
- Create a new local calendar by clicking the + sign in lower left corner (you can also use an existing calendar). If you're creating a new calendar be sure to add at least one event. If you get a 500 error from the server it is probably because your iCal calendar is empty.
- Right-click the calendar in the list, choose "Publish".
- Now the important step: In "Publish as", you MUST enter what's in your URL between "/kronolith/" and ".ics", so in our demonstration case this would be "email@example.com". If your URL is of the form: http://yourserver.org/horde/rpc.php/kronolith/username/username.ics, then just put in your username.
- Enter your server address as base URL, in our demonstration case this would be "https://yourserver.org/horde/rpc.php/kronolith". If your URL is of the form: http://yourserver.org/horde/rpc.php/kronolith/username/username.ics, then just drop '/username.ics'.
- Enter your Horde login and password as Username and Password.
- I haven't yet figured out which of the checkboxes are taken into account by Kronolith, so feel free to add such information here.
- Click Publish.
And you're done. This method will overwrite contents of your Kronolith calendar.
It should be noted that this will not only overwrite your calendar the first time you set it up, but also will overwrite the kronolith data with each synchronization/publish. Essentially this becomes the master and kronolith should be treated as read-only as events added within kronolith will be deleted on the next sync.