Providing a "subscribe in Google Calendar" link for an ics feed

If you provide your own custom generated ICS file hosted at a URL it's nice to be able to give Google Calendar users an easy way to subscribe to that feed.

As far as I can tell this isn't documented anywhere, but it is possible.

The format is https://www.google.com/calendar/render?cid=webcal:// followed by your URL.

For example: https://www.google.com/calendar/render?cid=webcal://pretalx.com/pycon-au-2020/schedule/export/schedule.ics

This drops the user into the a Google Calendar interface with a prompt for them to confirm their subscription.

I believe this only works if you are serving your ICS feed over HTTPS.

Created 2020-08-21T22:42:11-07:00, updated 2020-08-21T22:43:33-07:00 · History · Edit