Hi,
I can import a .ics file downloaded from my drupal site into google calendar but I can't add the same iCal feed with the "add url" option in google calendar.

CommentFileSizeAuthor
#11 calendar-ics.txt17.59 KBwarpedrive
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

capellic’s picture

Version: 6.x-2.0-rc6 » 6.x-2.0
Category: bug » feature

I have been hunting for information on how to do this, and it would be a great feature to add the ability to present the iCal feed as a Yahoo and Google "add to calendar URL" as seen on Meetup.com and Eventful.com as well as many other event sites I would presume.

I am thinking that the iCal Feed display could handle this quite well by adding an argument that would change the display.

FoolsRun’s picture

I believe the problem lies in Google Calendar not liking the "rrule" fields. Commenting the "RRULE" line out of calendar-view-ical.tpl.php seems to fix Google's inability to "Add by URL".

abraham’s picture

Version: 6.x-2.0 » 6.x-2.1
Category: feature » bug

A work around is to create the alias "calendar.ics" of path "calendar/ical". Google parsed this fine for me.

richard.e.morton’s picture

Hi There,

I have a G1 mobile which uses Google Calendar and a drupal 6 site running date / calendar 2.1. I have the ical working fine. I subscribed to: http://nafof.org.uk/calendar/ical

I did have some issues with this; as in all past events had an end date of the ical generation date (usually today). But this is fixed in recent builds.

using calendar 2.1 and date 2.2

Rich

michellezeedru’s picture

Subscribing.

Also tried the workaround from #3, but when I try to add this to Google Calendar it says "We could not parse the calendar at the url requested".

chiebert’s picture

Version: 6.x-2.1 » 6.x-2.2

I noticed this same issue. If I download the .ics file from the ical feed, it can import it (as a file) to Google Calendar without a problem. If I paste the default ical feed link (http://mysite.tld/calendar/ical) into the 'Add by URL' option in Google Calendar, I get an 'could not parse...' error (as with #5 above). If I simply change the path setting in the iCal display of the calendar view to calendar/ical.ics (i.e., add .ics 'extension'), then the new url works in Google. Go figure. Using Date 2.4 and Calendar 2.2 on D6.14.

kangaroobin’s picture

#6 seemed to work, it pulled in my site title and didn't give me any errors.

Does it take time, like hours or days to actually show events?

TKS’s picture

subscribing....

kangaroobin’s picture

Priority: Normal » Critical

I have tried #3 and #6 and none of them work.

Anyone have any success doing this? how?

abowers’s picture

What seemed to work for me was to use the url complete with the .ics file. So, the full url was http://www.example.com/calendar/ical/calendar.ics. I didn't add any aliases or anything, just http://domain_name/path_from_view/name_of_file. It seems that Google Calendar, as well as Outlook 2007 want the complete path to the file. I got the name of the file from the name that the file saved as when I downloaded it by following the view path.

On a side note, I did find out that while using the path to the file works for Google Calendar, the items must have public permissions to show up on the calendar (as one would expect). I spent a bit of time working with it until I had my "well, duh" moment and realized that anonymous users didn't have permissions to view the events, leading to an empty calendar, even though I had it all hooked up correctly!

warpedrive’s picture

FileSize
17.59 KB

Gone thru all of this.. I events in the feed, I have permissions, I can see an .ics file..

.. But Google calendar will only see the name of the calendar and not any events..

Not sure where I'm going wrong.. the calendar displays properly, etc.. I just can't export any calendar that .. works. File has data, data seems to look good, dates, times, URL, etc.

I have Calendar 6.x-2.2, and Date 6.x-2.x-dev..

Anyone have any thoughts on this?

schnizaare’s picture

I am experiencing this as well. Sorry, I have no actual feedback or help.

tvik’s picture

For what ever reason i get it to work if the path to the feed has at least "depth" three, for example /depth1/depth2/ical.

AdrianB’s picture

Subscribing.

pbeakley’s picture

Subscribing as well.

I've set up GCal with both the /calendar/ical and /calendar/ical/calendar.ics addresses, and I cannot make GCal see the calendar I'm trying to feed it. I get a "calendar successfully imported" message from Google, but no content appears on the calendar.

Now, under the "iCal Settings" in the Calendar's View, I noticed at one point that the "Title", "Description" and "Location" fields were not yet mapped to fields, so I updated that as well. That might be something some users may be missing.

EDIT: Success! I had to do quite a few things to make this work:

1) Make sure the various iCal fields are populated as I mentioned above
2) Make sure the default Calendar view's permissions are set to "anonymous"

I'm pretty sure #2 cause my initial issue (picking up the title but not the events).

Ghostthinker’s picture

subscribe

I use http://drupal.org/project/httpauth for authentification, has anyone problems with this module and ical feeds?

KarenS’s picture

Status: Active » Fixed

A lot of fixes for ical went into the latest version of Calendar, plus a number of comments above indicate their problems were not calendar bugs but problems figuring out exactly what to input into Google and setting up permissions properly.

So I'm not sure that there's still a bug here, but if there is reopen the issue with confirmation that there is something in this module that is broken in the latest code and exactly what that is.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bdlangton’s picture

I had the same problem as #13. I created an alias with a depth of three (for me I made /calendar/ical/google/calendar.ics to point to: /calendar/ical/calendar.ics) and then Google was able to import the events.

None of the other solutions worked for me. The RRULE one didn't work, and actually I can keep the RRULE in the output, just having the alias with a depth of three is all that was needed.

StephenRobinson’s picture

I have it working, but tends to drop random events, from the feed

nateman332’s picture

Version: 6.x-2.2 » 6.x-2.x-dev
Priority: Critical » Major
Status: Closed (fixed) » Active

I'm having the same problem: Ical file is working fine (when downloaded) but when using GCal "add by url" it's not working. I use http://bit.ly/12hPuUy to validate it and it seems that the code itself (copied and pasted from views) is fine.

I've tried everything on this page and nothing's worked, the url is webcal://www.arrowsmithchurch.com/calendar/ical/calendar (using webcal:// instead of http:// indicates that this is a web calendar, this is not the problem, I've tried using http:// as well) or webcal://www.arrowsmithchurch.com/calendar/ical/calendar/calendar.ics . Oh, and my permissions are fine, I've checked them against another calendar I've created.

Any help would be appreciated!

Drupal 6.28, Views 6.x-2.16, Calendar 6.x-2.4, and Date 6.x-2.9.

nateman332’s picture

Status: Active » Closed (fixed)

I've simply cleared the cache and now it's working, how strange.

malcomio’s picture

It is possible to construct a URL so site visitors can add the calendar directly to their Google calendar without any intermediate steps:

https://www.google.com/calendar/render?cid=http://d7.rubydesign.co.uk/ev...

(sorry just looked at versions - my comment relates to a view in D7 built with date_ical)