Hi,

I know this title has been used alot of times in the queue, but I ran through it and I didnt find a similar issue.
So I'm trying to export an iCal feed in order to view it in google calendar and it works but once it is synced the calendar won't update and take into account an event I add in Drupal.

Also if I unsub/resub, or if I try with another google account, it still doesn't work. The feed seems to be frozen in the eye of google calendar.

I tried downloading the .ics and the events are updated to the time I downloaded the file (however it won't update to newly added events unless I re-download the file, obviously).

I tried to subscribe to my feed with iOS's calendar and it works fine. If I add an event in Drupal, it shows up in my calendar.

Is it even possible to subscribe to a calendar with google calendar?

Thanks in advance!

Comments

slaurent created an issue. See original summary.

coredumperror’s picture

Have you tried subscribing to some other calendar, besides one created by Date iCal, in your Google calendar? If that does work, this issue is potentially a problem with Date iCal. If it doesn't work, it's a problem with Google calendar, and I'm afraid I can't do anything about it.

slaurent’s picture

I read an article that says that the problem comes from google. The guy says that google calendar has problems using iCal feeds from outside.

He gives a script that, if I understood well, updates your google calendar manually by reading the feed itself (not sure though, I'm not a pro). But you need to activate it for every google account. And then run the script as a crontab or so.

Here is the article if by any chance you speak french...
http://www.yvangodard.me/synchroniser-un-fichier-ics-ical-avec-un-calend...

Do you think it would be possible to place the script in my Drupal website and make a cron job run it?

edit : I synced my iCal feed with thunderbird and it works fine. I might as well drop google calendar and use the bird...

coredumperror’s picture

I don't speak French, so I'm afraid I can't help there. I'm glad to hear that you got it working in Thunderbird. It's so weird that google has problems with that. It's like, the most important feature of iCal...

slaurent’s picture

Status: Active » Closed (won't fix)

Security reasons are involved according to the article. Anyways, next step is to convince the boss to switch to Thunderbird haha

Michael_Lessard_micles.biz’s picture

Using the module iCal 7.x-3.5 and module Date 7.x-2.9, and the iCal feed generated from a Calendar View, I have it imported in Google Agenda without any issues.

In a Google Agenda, I use the option to add a new agenda using a URL...

NOTE :
* Updating takes about 3 hours (set arbitrarily by Google).
* Is the module Aggregator active in your Drupal 7 site ? I believe it is the core feed or "pinging" system.

slaurent’s picture

Aggregator was not enabled on my site. Is it required?
I used the same option, adding a new agenda using a URL.

A 3 hours updating time doesn't fit my needs unfortunately. I ended up abandoning the idea of syncing with google agenda. Too much hair has been torn already.