Home » Questions » Computers [ Ask a new question ]

Automatically open ICS files in Google Calendar

Automatically open ICS files in Google Calendar

Lots of web sites have an option to export events as an ICS file that can then be imported into a desktop or web-based calendar (for example if you're invited to a Facebook event there will be an export button that gives you an ICS file).

Asked by: Guest | Views: 311
Total answers/comments: 2
Guest [Entry]

"I found a final solution to this! I based it off of the code to add Gmail as a mailto: handler, and adapted using information taken from Google Chrome's preferences file:
javascript:window.navigator.registerProtocolHandler(""webcal"",""calendar.google.com/calendar/render?cid=%s"",""Google Calendar"");

To use it, just go to Google Calendar, open Firefox's Web Console (Ctrl+Shift+K), and paste it into the code box."
Guest [Entry]

"iCalendar is not a microformat so I'm afraid Operator isn't going to help you here. So you'll need a separate Firefox extension or helper app to do this. I'm not aware that one exists and Google was no help when I searched. Sounds like a good development opportunity.

Workaround: save the .ics file to disk, then create a draft email in Gmail. Title it whatever, Attach the .ics file. Save it and go to the Drafts view. Now you should see a calendar icon to the right of the draft email you created. Click it to add the event to Google Calendar. Simple, eh?

Update: I'd go with Alejandro's .NET solution if you have that option."