Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#11 | calendar-ics.txt | 17.59 KB | warpedrive |
Comments
Comment #1
capellicI 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.
Comment #2
FoolsRun CreditAttribution: FoolsRun commentedI 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".
Comment #3
abraham CreditAttribution: abraham commentedA work around is to create the alias "calendar.ics" of path "calendar/ical". Google parsed this fine for me.
Comment #4
richard.e.morton CreditAttribution: richard.e.morton commentedHi 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
Comment #5
michellezeedru CreditAttribution: michellezeedru commentedSubscribing.
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".
Comment #6
chiebert CreditAttribution: chiebert commentedI 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.
Comment #7
kangaroobin CreditAttribution: kangaroobin commented#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?
Comment #8
TKS CreditAttribution: TKS commentedsubscribing....
Comment #9
kangaroobin CreditAttribution: kangaroobin commentedI have tried #3 and #6 and none of them work.
Anyone have any success doing this? how?
Comment #10
abowers CreditAttribution: abowers commentedWhat 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!
Comment #11
warpedrive CreditAttribution: warpedrive commentedGone 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?
Comment #12
schnizaare CreditAttribution: schnizaare commentedI am experiencing this as well. Sorry, I have no actual feedback or help.
Comment #13
tvik CreditAttribution: tvik commentedFor what ever reason i get it to work if the path to the feed has at least "depth" three, for example /depth1/depth2/ical.
Comment #14
AdrianB CreditAttribution: AdrianB commentedSubscribing.
Comment #15
pbeakley CreditAttribution: pbeakley commentedSubscribing 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).
Comment #16
Ghostthinker CreditAttribution: Ghostthinker commentedsubscribe
I use http://drupal.org/project/httpauth for authentification, has anyone problems with this module and ical feeds?
Comment #17
KarenS CreditAttribution: KarenS commentedA 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.
Comment #19
bdlangton CreditAttribution: bdlangton commentedI 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.
Comment #20
StephenRobinson CreditAttribution: StephenRobinson commentedI have it working, but tends to drop random events, from the feed
Comment #21
nateman332 CreditAttribution: nateman332 commentedI'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.
Comment #22
nateman332 CreditAttribution: nateman332 commentedI've simply cleared the cache and now it's working, how strange.
Comment #23
malcomio CreditAttribution: malcomio commentedIt 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)