[Tickets #917] patch: automatic export to iCalendar format
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Feb 2 14:06:50 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=917
-----------------------------------------------------------------------
Ticket | 917
Updated By | Chuck Hagenbuch <chuck at horde.org>
Summary | patch: automatic export to iCalendar format
Queue | Kronolith
Version | HEAD
State | Assigned
Priority | 1. Low
Type | Enhancement
Owners | Chuck Hagenbuch
+Attachment | icalsub.php
-----------------------------------------------------------------------
Chuck Hagenbuch <chuck at horde.org> (2005-02-02 14:06) wrote:
Date: Tue, 1 Feb 2005 12:06:31 -0800 (PST) [02/01/2005 03:06:31 PM EST]
From: John Adams <jna at retina.net>
To: kronolith at lists.horde.org
Subject: [kronolith] Script: Subscribe to Kronolith calendars with Apple
iCal
I think kronolith is pretty cool, but one of the major issues I have with
the way that you export calendar records to iCal is that you have to keep
logging in and exporting the data. I modified data.php and produced a
script that will allow you to -subscribe- iCal to kronolith calendars. It
dumps all events for the specified calendar in icalendar format.
Some caveats I found out the hard way: Apple iCal doesn't support pulling
calendar data over SSL (lame!!!) so you have to run this on an unsecured
server until they get around to fixing that. You should be okay with other
apps like thunderbird/outlook/etc, though.
Granted, there's some security issues here - I've disabled authentication
to view the calendars and I'm just dumping all events for the requested
calendar, but you get the idea. You can modify this script to have some
sort of md5 variable/security/whatever and then modify the URL to require
that variable if you're concerned about security. For most users it won't
matter. Hey, the data is read-only anyway, so don't panic too much ;)
Save this script as 'icalsub.php', and access data using the following URL:
http://your.server.com/horde/kronolith/icalsub.php/<id>
You can also subscribe to multiple calendars and combine them as one like:
http://your.server.com/horde/kronolith/icalsub.php?c=<id1>|<id2>|<id3>
<id> should match the calendar_id in the database (you can get it
also by looking at the "Free/busy" URL that appears in the "My Calendars"
page.)
Enjoy.
--john
More information about the bugs
mailing list