Google Releases AJAX Feed API

By Darryl K. Taft  |  Posted 2007-04-18 Print this article Print

The new API allows developers to easily access data feeds in mashups.

Google has released a new tool to help developers more easily access data feeds. The Google AJAX Feed API simplifies mashup creation for Web developers by providing easy access to public data feeds through JavaScript.

Bret Taylor, group manager for developer products at the Mountain, View, Calif., company, said that including feeds in JavaScript mashups is notoriously difficult. However, the AJAX Feed API takes the pain out of the process by enabling developers to access feeds with just a few lines of JavaScript code instead of struggling with server-side proxies or delving into XML's complexities.

"Typically, including these feeds is difficult, and you have to write a lot of server-side code," Taylor said. But the AJAX Feed API automatically handles the necessary proxying and offers a clean, straight-forward interface for accessing syndicated data.

"The developer just gives the API the URL of the feed they want to bring in," Taylor said.

"One of the difficult parts of accessing data feeds is there are a lot of different versions of feed formats out there," Taylor said. But the AJAX Feed API "does a lot of the heavy lifting" in terms of which feed format is being used and then automatically supports it, he said. "You don't need to become an expert in every feed format," Taylor said.

Read more here about Microsoft joining OpenAJAX Alliance.

The AJAX Feed API supports Atom 1.0, Atom 0.3, RSS 2.0, RSS 1.0, RSS 0.94, RSS 0.93, RSS 0.92, RSS 0.91, and RSS 0.9, Taylor said.

Moreover, using the AJAX Feed API, a developer can display a dynamic blogroll on a personal home page, display recent photos from a public Picasa Web Albums feed on a blog or even plot a feed of news events on a Google Map, Google officials said.

The new API brings mashup creation within reach of users ranging from bloggers to hobbyists to professional coders. It can be used independently of the Google Web Toolkit Taylor said.

Taylor will feature the AJAX Feed API in a talk April 18 at the O'Reilly Web 2.0 Expo in San Francisco, titled "Who Needs Server-Side Code? AJAX APIs and Product Integration 2.0."

Check out eWEEK.com's for the latest news, reviews and analysis in programming environments and developer tools.

Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

Submit a Comment

Loading Comments...
eWeek eWeek

Have the latest technology news and resources emailed to you everyday.