Thoughts

Creating a module for Google's home page

Just spent the entire afternoon getting acquainted with a fun little document called the Google API Developer Guide. I think it’s cool because Google will let me create a module that I can submit to them for inclusion in their directory of modules. These modules can then be added to a user’s personalized home page, sort of like MSN or Yahoo do it.

I say I spent the entire afternoon because it may be fairly easy to write a basic XML file, it’s hard to write it in such a way that it pulls data correctly from an existing feed. In my case, I wanted to pull the latest blog entries from this blog. There was some fancy codework involved, and the directions just weren’t very clear. They showed me how to pull the text from the feed, including the entry title and content, but I just couldn’t figure out how to make my module look like the others in the directory. I guess one either has to be a good JavaScript programmer (which I’m not) or have access to some secret directions that Google isn’t sharing with everyone… I don’t know…

RaoulAt any rate, FeedBurner once again saved me from coding hell. Because the only other alternative for me would have been to update a static XML file by hand every time I had a new blog entry, and I wasn’t going to do that! Well, FeedBurner has this nifty Headline Animator service, that will create a simple animated GIF which rolls through the latest blog entries very nicely. I used that to create the XML file, and bingo, I got my module done and submitted it. Now I’m curious to see if Google will accept it!

Oh, one more thing. I’d like to see if Google will expand the module directory categories. They’re fairly limited. I would like to see categories like Blogs, Personal, Culture, Travel, Photography, etc.


Discover more from Raoul Pop

Subscribe to get the latest posts sent to your email.

Standard