
180 GOOGLE APPS HACKS
used this way, and of course you can also create your own HTML le to be displayed here. Instead of
HTML, you can also show an image; to do so, replace the value for X-GOOGLE-CALENDAR-CONTENT-URL with
the image URL, and instead of the content-type text/html, use (for example) image/gif.
Let’s see what this will now look like in Google Calendar! Log in to your calendar and open the Add drop-
down that appears above the list of your calendars. Select Add by URL and enter your calendar’s full URL
(remember, you must have saved the le in iCal format and uploaded it to a server somewhere). After
clicking Add and then the OK button and waiting a few seconds for Google to load and display your le,
you will see the icon on top of a day in the calendar default display. Click on the icon, and it expands to
showcase the content from the URL you specied, as shown in Figure 7-21.
Google caches the iCal le that you provide to it. If you are still testing your calendar and you make changes to
the iCal le, you can upload it under a new lename, like my2.ical instead of my1.ical. You can also append an
arbitrary parameter to the URL, like “my.ical?v=2”, to make sure that Google won’t be accessing its old copy
of your le. Note, however, that Google does not cache web pages that you link to in the iCal le—such as the
URL of the game shown earlier—so you may want to implement ...