Closed (duplicate)
Project:
Event
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Mar 2005 at 15:11 UTC
Updated:
1 Jul 2005 at 08:23 UTC
The attached patch adds iCal support to event.module.
Patch and point your calendar application to webcal://your.site/event/ical to get updated events.
I have made this for Drupal 4.5.2, but I guess it should be trivial make adjustments (if any) for use with 4.6.x.
| Comment | File | Size | Author |
|---|---|---|---|
| event.module.with.ical.patch | 3.37 KB | hba |
Comments
Comment #1
(not verified) commentedI have a couple of questions. ICal seems to be references to serveral different applications on the Internet, does your patch add support for this application http://www.brownbearsw.com/ical/icalpage.html ? If not, can you tell me which ICal your referring to. Also, I'm running suse 9.2 and have not had very good luck patching modules. Would you mind posting your patched event module. Thanks very much for your help.
Comment #2
hba commentedThis is limited support for the iCalendar standard, which is supported by a lot of applications. Examples are later versions of Microsoft Outlook, Evolution, Mozilla Sunbird and Apple iCal.
The iCalendar standard is documented in RFC2445: http://www.ietf.org/rfc/rfc2445.txt
Comment #3
hba commentedTo apply this patch, be sure to have event.module v4.5.x, and enter the following in a terminal window:
voila!
Comment #4
danyell commentedHi, I looked at your code -- pretty clean!
I too had been working on this. I posted a patch for vCalendar support a while back at http://drupal.org/node/15855 and I'm almost done with iCalendar.
It took me longer to add iCalendar because:
- I wanted to support both formats;
- I wanted to choose iCal vs. vCal based on a Mac vs. PC browser-detect;
- I wanted the iCal/vCal data to support other patches, such as event end-times.
Perhaps we should coordinate our efforts? Take the best of what you have and the best of what I have, and provide the Drupal community with a single patch for this valuable feature?
My next step after having reliable support for both vCalendar and iCalendar was going to be adding support for an RSS feed of events, in vCal/iiCal format of course. The idea being, let folks "subscribe" to a particular list of events (all the concerts of a specific musician, for example) and have the stuff in a feed, ready to add to Outlook, Entourage or some other PIM.
Comment #5
boris mann commentedBoth of you should focus on the 4.6 version of Event, which has a full API. It is planned to have all these types of import/export functions as separate modules that can be enabled.
Comment #6
philoxenia commentedHas anyone tested this with 4.6? This is something I'm very interested in asap. Thanks for your work everybody!
Comment #7
crunchywelch commentedI am working on this for the current (4.6) version.
more discussion on this here: http://drupal.org/node/9697
Comment #8
crunchywelch commentedical export is now supported, you can get it from cvs and the tarball should be updated by now. Also, you will have to use the update-event script if upgrading from a version of event before the daylight savings time support was added. If your database does not have a 'timezone' field, then you must run this script.
ical import is on its way.
Comment #9
echidna commentedI'm a drupal newbie.
I've installed 4.6.0 and upgraded to 4.6.1. Your event module is really useful. Thanks for creating the module.
When I click on the ical icon, I get the 'webcal is not a registered protocol. message.
How do I get ical to work in 4.6.x?
Is there an event.module.with.ical.patch for 4.6.x?
Any advice is greatly appreciated.
Thanks in advance.
Comment #10
Greg Delisle commentedechidna,
Your browser needs to be set up to support the webcal:// protocol before you can click on links that use it (incl. the iCal export). Some browsers (Safari and Firefox, I think) come with this already set up, and some software packages should allow you to one-click configure it. But this is not an issue with the module, patch, or 4.6 (in fact, this version of event will only run in 4.6) -- it's an issue with the browser you're using. The same thing would happen if you clicked on any iCal syndication link.
Comment #11
killes@www.drop.org commentedhttp://drupal.org/node/19381#comment-30663
Comment #12
hba commentedkilles' duplicate link was self-referencing, I guess he really meant to link to http://drupal.org/node/24547 instead?
Comment #13
hba commentedAnd yeah, this thread is really about 4.5, and not 4.6. 4.6 has iCal support.