Wednesday, December 14, 2005

Google Homepage API


Google Blog notes:

The personalized homepage was created to bring together the stuff that interests you from across the web. With the Google Homepage API, developers can now create modules for the personalized homepage. It's designed to be flexible and easy to use, and you don't need to download anything to create a module. To get the ball rolling, the team's created a few modules to add to the directory. So check these out and get started creating your own.


Google Homepage API lets you add XML modules that wrap existing content or applications.

Here is an example of a module that just uses HTML. This module displays a clickable photograph that opens a photo album in a new HTML page:


<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Go to Photo Album" height="250" scaling="false" />
<Content type="html">
<![CDATA[
<div style="text-align:center">
<a id="Riggs" title="My Photo Album" target="_blank"
href="http://www.photo-hosting-site.com/photos/26243604@N00/">
<img border="0" alt="Photo"
src="http://static.photo-hosting-site.com/27/62190238_2210325e9d_m.jpg"
title="Click Here.">
</a>
</div>
]]>
</Content>
</Module>

No comments:

Post a Comment