Download & Extend

iCal, Google Calendar, "Add Url"

Project:Calendar
Version:6.x-2.2
Component:iCal export
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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

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.

#2

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".

#3

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

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

#4

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

#5

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".

#6

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.

#7

#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?

#8

subscribing....

#9

Priority:normal» critical

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

Anyone have any success doing this? how?

#10

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!

#11

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?

AttachmentSize
calendar-ics.txt 17.59 KB

#12

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

#13

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.

#14

Subscribing.

#15

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).

#16

subscribe

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

#17

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.

#18

Status:fixed» closed (fixed)

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

#19

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.

#20

I have it working, but tends to drop random events, from the feed https://helix.wtgc.org/external/googlesac.ics

nobody click here