Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have the embed HTML for a Google Calendar, can I extract the URL I would use to subscribe to the calendar?

For example:

Embed code (linebreaks added for clarity):

<iframe src="https://www.google.com/calendar/hosted/example.com/embed?
        style=" border-width:0 " width="800" 
        height="600" frameborder="0" scrolling="no">

the juicy bit is src=example.com_ecafa7el7kc4du1ervkdff4x6a%40group.calendar.google.com but I can't seem to get it into a format I can use in Add -> Add by URL in my Google Calendar.

share|improve this question
up vote 5 down vote accepted

Given the following URL:


You want to place the bold part in one of these templates:

XML: http://www.google.com/calendar/feeds/HERE/public/basic
ICAL: http://www.google.com/calendar/ical/HERE/public/basic.ics
HTML: http://www.google.com/calendar/hosted/HERE/embed?src=HERE

instead of the word HERE.

For example, if you wanted to use XML, use:


This requires the calendar to be public, which I assume it is, since there is an embeded version of it available.

share|improve this answer
perfect! thanks. can you edit your answer to make it a little clearer that the "juicy bit" minus the src= from my example is the address to use "HERE"? – adambox Aug 4 '10 at 20:27
@adambox: I updated it – Senseful Aug 4 '10 at 20:32
Confirming that this still works in 2014 and thanking you for an answer that's been useful to me more than once. :) – Brighid McDonnell Mar 22 '14 at 0:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.