You can add a calendar hosted on Google to your Google Calendar account by a direct link (for example as on Holidays in Australia - the button in the bottom left corner - if you click on it, the calendar will be added to your account).
I have a webcal calendar on my site and I want to add a button like in the example which points to my calendar.
How can I do that?
Add a comment
|
1 Answer
You can do this with this link:
https://www.google.com/calendar/render?cid=
With after the = symbol the link to your ICS file. For example:
https://www.google.com/calendar/render?cid=http://www.example.com/calendar.ics
-
Thanks, also I think the calendar link should be escaped (i.e. with urlencode in php).– UpVsFeb 12, 2015 at 7:47
-
Do you know if it's possible to subscribe to a calendar, not just events (as in, .ics files)? Google Calendar does a GET request against my non-ics resource, instead of PROPFIND.– The OninMay 8, 2017 at 0:09
-
I tried, it failed mysteriously. And the solution apparently was this: stackoverflow.com/questions/23473919/… I just spent an hour on this, but I'm somehow glad it's working now. Sep 11, 2020 at 7:02
-
Doesn't seem to work any more - i get the error "This email address isn't associated with an active Google Calendar account: shorturl.at/dwD09. Please check the email address and try again."– CollinsJan 13, 2021 at 11:34