
176 GOOGLE APPS HACKS
When: Wed Sep 26, 2007 3pm to 4pm CEST
Event Status: confirmed
Reading a comic book
Book Reader's Club Events
When: Thu Sep 27, 2007 7pm to 8pm CEST
Event Status: confirmed
With this feed in hand, others can keep up to date on your latest calendar additions via a feed
reader, such as Google’s own Google Reader. Plus, you can convert any feed to an iGoogle home
page gadget. Just point your browser to http://igoogle.com and click “Add stuff,” then “Add by URL.”
A small dialog opens, in which you can copy and paste your calendar feed URL to add it to your
personalized Google home page, as shown in Figure 7-19.
Now, unlike other gadgets, you can’t directly embed feed-based gadgets onto any web page. What
you can do here, however, is to use Google’s AJAX Feed API. Go to http://code.google.com/apis/
ajaxfeeds/ and click the “Sign-up for a Google AJAX API key” link on top. After agreeing to the terms
of service, you can generate an API key. Write it down for future use, and copy Google’s sample code
into a plain text editor.
Let’s look at Google’s sample HTML code, line by line. First, there’s the HTML opening portion,
including the document type declaration, the head tag and a character encoding denition.
Furthermore, there’s a link to Google’s JavaScript library; it includes your unique API key, highlighted
in bold (and split into multiple ...