On CHOW: Groundbreaking hangover cure
BNET Business Network:
BNET
TechRepublic
ZDNet

April 18th, 2007

Google AJAX Feed API simplifies Web 2.0 mashups

Posted by Ed Burnette @ 7:00 am

Categories: AJAX, General, Google, Java, Programming, Scripting

Tags:

Google has announced a new library today to help AJAX developers incorporate RSS and Atom feeds into their web sites. The Google AJAX Feed API will provide easy access to public data feeds through JavaScript.

Until now, including data feeds in web applications has been a painful process involving server-side proxies and a fair knowledge of XML data formats. The new API takes care of proxying automatically and offers a straightforward interface for developers to access syndicated data. No server-side code is needed at all. According to Google:

The Google AJAX Feed API brings mashup creation within reach of everyone from bloggers to hobbyists to professional coders. It's ideal for JavaScript programmers who don't want to maintain server-side code or learn new technologies just to work with data feeds.

In contrast to the drag-n-drop Yahoo Pipes and the rumored Microsoft Springfield tool, the Google AJAX Feed API is oriented towards developers and not casual users. As such, it's a little harder to use but far more flexible.

Like other Google APIs, the new library will be accessible through ordinary JavaScript or through Java code using the open source Google Web Toolkit, a technology that compiles standard Java into browser-specific JavaScript that runs on the client. GWT allows developers to wrap any JavaScript libraries as Java classes using the JavaScript Native Interface, or JSNI. GWT is supported by all major free and commercial Java IDEs.

Bret Taylor, group product manager for Google developer products, will feature the Google AJAX Feed API today in a talk at O'Reilly Web 2.0 Expo titled, "Who Needs Server-Side Code? AJAX APIs and Product Integration 2.0."

Update: Now that the documentation is available I've noticed several interesting things. For example I think the work being done for cross-browser XML access, the repurposing of the AJAX Search blog and group for all AJAX APIs, the details about FeedFetcher and the relationship to Google Reader, and the two-step process to load the Feeds library (needed because "Google is moving to a new model of loading AJAX APIs to make it easier to include multiple Google APIs on your pages") may be significant to developers. 

For more information see:

Ed BurnetteEd Burnette is a professional developer and author of several articles and books about computing including Hello, Android: Introducing Google's Mobile Development Platform, 2nd Edition. For disclosure of Ed's industry affiliations, click here or to view his full profile click here.

Email Ed Burnette

Subscribe to Dev Connection via Email alerts or RSS.

Talkback

Add your opinion

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

Meet Doc

  • Here to help you with your Document Management Needs
  • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
  • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
  • Produced by
    ZDNet and