So, is importing of iCalendar data on the agenda for the near future? For my Fenway Views site I try to keep up a calendar of all local events, if I could import events (and convince local webmasters to export them:-) it would be so much easier...

Thanks!

Comments

sethcohn’s picture

Bump. Been waiting for ical import a LONG time now.

ryanrain’s picture

yeah, this would be reeely useful to the santa cruz community. l'd dive in but i'm still limping along learning simpler things.

thanks!
-ryan

ezheidtmann’s picture

How, exactly, would you expect it to work? Write a detailed description of your idea, and it stands a better chance of getting implemented.

ryanrain’s picture

rationale: community calendars often fail to live up to their potential because they offer such incomplete listings. users are disappointed by the lack of content and so don't regularly consult calendars, and few are motivated to post their events because they know that only a few people will check it. syndication would help improve the quality of the content offered in order to approach a critical mass of events and users. we're working on sending out weekly mass emails of rss feeds generated by the event module, but need to include events posted to another local community calendar.

tech: i would love to be able to tell the event module to import an ical (.ics) file with each cron run. all events would be automatically posted to the calendar alongside the events that had been posted directly to the calendar.

thanks lots,
-ryan
sumar*at*ucsc*dot*edu

JohnG-1’s picture

and being able to export iCal feeds.

ryanrain’s picture

i think it can already export ical. look for the white and red calendar icon in the bottom right corner of the initial calendar view page (?q=event).

ryanrain’s picture

i know people are probably busy with finalizing things for 4.7 etc. but still i thought i'd try again for a response on this. is anyone else interested in getting the event module to import ical? anyone have sites that could use this feature?

peace,
-r

sethcohn’s picture

now that a basic repeating event addon module exists, this should be possible to code up.

Anyone want to take a try at it?

nikle’s picture

Yes this would be a great feature, it would make keeping a calendar on drupal updated easy. The only issue I see is adding categories to each event, I suppose this could be done through the notes field. Something like:
cat:social cat:business

Bèr Kessels’s picture

yadydadya :)

I suggest you people get a reverse bounty rolling for this. All trow your €10 on a heap, for sure a developer will make a proper patch for this. talk is silver, code is gold.

stephthegeek’s picture

Version: 4.6.x-1.x-dev » 4.7.x-1.x-dev

I would really love to see Event import iCal files. I'm very willing to contribute to a bounty for this. I am new to Drupal (moving over from PHPNuke) and I currently have PHPiCalendar integrated on my site. You can see a schedule page here.

I set up an Outlook macro that exports my calendar, by category, to individual .ics files and then FTPs them to a directory on my site, which is then pulled in by PHPiCalendar. Something similar in Drupal would be phenomenal!

demenece’s picture

Category: feature » support

I was reading in the ical.inc file that there are some items developed for this feature in the function ical_import($filename). I'm trying first to add a Get-file-from-computer form in event.module, but I have to understand more, I don't know where to insert it.

geodaniel’s picture

Title: iCal import? » iCal import to Drupal
Version: 4.7.x-1.x-dev » 5.x-2.x-dev
Category: support » feature
darren oh’s picture

If Drupal could import calendars from users, it would enable events to be scheduled more simply. I could select the users I wanted to invite to the event and see what times would work for the most users. An invited user could look at the list of times and vote on those he considers acceptable. Once a certain number of users have voted, the event could be automatically added to the user's schedule.

mgifford’s picture

Would be so nice if Drupal could import iCal feeds from both other drupal sites (and then aggregate them much like it can do with rss feeds presently). This would be particularly powerful if it could hit google's iCal feeds so that teams could publish a calendar through google and have it appear automatically on their drupal site along with other events.

Would be great if someone put together a estimate for a reverse bounty to do this.

worldcoast’s picture

I'd throw money into a reverse bounty for this.

psi36’s picture

Importing iCal feeds from say Google Agenda into Drupal would be soo handy.

It seems like people have been asking for this for a long time. And as far as I know it hasn't been implemented, has it?

sethcohn’s picture

Assigned: Unassigned » sethcohn

Ok, I've setup a Chipin for this... here's the reverse bounty, let's see the results.

http://sethcohn.chipin.com/ical-import-for-drupal

(If anyone wants a widget to post on their own page/calendar/etc, just let me know)

If you want the feature to happen, pony up. If everyone who uses Drupal's event module would put in a buck, we'd have thousands to pay for this.

If you want to code it for pay, get to it - you have till May 31st to collect.
(It goes without saying: it has to meet Drupal coding standards/etc, either patch or module, in a CVS sandbox or committed)

communitysteps’s picture

Looks like KarenS has added iCal support to the Views Calendar module.

Here is the announcement: http://groups.drupal.org/node/2997
"What I'm doing in the current code is grabbing the ical feed and parsing it into an array of pseudo nodes, then caching the results. In the calendar, I created a hook to add items to the array of event items that the Views produces, and the ical module uses that hook to insert its nodes into the view. Then I run the combined node array through the calendar api to create the calendar."

sethcohn’s picture

Looks like a good start... and since the chipin has raised a bit of money (more would be nicer though), looks like Karen's likely to get the bounty.

Anonymous’s picture

Is anyone interested in converting this to 'Event'? it would be great to have a similar functionality... I am happy to help with any testing!

killes@www.drop.org’s picture

I'd very much like iCal import being added to event.module, however my time is rather limited atm. There already is an import function in ical.inc which could be used.

miau’s picture

What is the Date Import/Export function for? I thought it is for importing ical Feeds to node types? But it does not work. "invalid source file".
Anybody knows what Date Import/Export is intended for?

karens’s picture

@miau - This is an Event module issue, not a Date module issue, so don't go off-topic. That is exactly what the Date Copy module is designed to do. If you get a message that it is an invalid source file, there is something wrong with the url for the ical feed -- it's not finding a feed there. But that's the Date module, not the Event module.

darren oh’s picture

Title: iCal import to Drupal » iCal publish to Drupal
jaynano’s picture

This would be a really great feature. I'm willing to chip in too.

kulfi’s picture

Does the 'assigned' status mean this issue is being actively worked on? Any ETA? TIA.

sethcohn’s picture

Version: 5.x-2.x-dev » 6.x-2.x-dev
Assigned: sethcohn » Unassigned

(status change - any work will likely be for 6.x)

abraham’s picture

Status: Active » Closed (fixed)

This functionality already exists. Use FeedAPI and parser_ical. The following howto covers it well. Just make sure you map the ical data to event nodes.

http://drupal.org/node/341716