how to read rss feed data?

449 views
Skip to first unread message

joster

unread,
Jul 12, 2007, 9:41:33 PM7/12/07
to Google Web Toolkit
Hello-

I have RSS feeds available from an external URI: http://finance.yahoo.com/rss/headline?s=goog

How can I read the data of RSS feeds within my GWT application and
render it in a widget? Please help.

Joster

joster

unread,
Jul 13, 2007, 1:37:23 PM7/13/07
to Google Web Toolkit
I got one solution from Jose (thanks), his link is at:
http://www.josesandoval.com/2007/07/gwt-client-rss-feed-reader-code.html
.

Any other solutions from anyone else?

Joster

Sanjiv Jivan

unread,
Jul 13, 2007, 3:22:59 PM7/13/07
to Google Web Toolkit
I'm using the Google Feed API along with 5 lines of JSNI. You can take
a look at the sample feed viewer I wrote using GWT here :

http://gwt-ext.googlecode.com/svn/trunk/site/samples/FeedViewer/www/com.gwtext.sample.feedviewer.FeedViewer/FeedViewer.html

The advantage of using the Google Feed API is that you don't need a
server proxy to read feed data to overcome the browser cross domain
restriction. You can have you GWT client code directly call the Google
Feed API to return the feed results (in xml or json formats) and
hence have a serverless feed reader like the one I built.

Google Feed API : http://code.google.com/apis/ajaxfeeds/

Sanjiv

Sanjiv Jivan

unread,
Jul 13, 2007, 3:27:03 PM7/13/07
to Google Web Toolkit
I forgot to mention that another advantage of using the Google Feed
API is that it provides a consistent API for a variety of feeds
(various versions of RSS and Atom) with the feed data in a normalized
format so that you dont have to worry about the different feed types /
versions. See http://code.google.com/apis/ajaxfeeds/documentation/#SupportedFormats
for a list of formats supported by Google Feed API.

Sanjiv

On Jul 13, 3:22 pm, Sanjiv Jivan <sanjiv.ji...@gmail.com> wrote:
> I'm using the Google Feed API along with 5 lines of JSNI. You can take
> a look at the sample feed viewer I wrote using GWT here :
>

> http://gwt-ext.googlecode.com/svn/trunk/site/samples/FeedViewer/www/c...

joster

unread,
Jul 13, 2007, 3:47:39 PM7/13/07
to Google Web Toolkit
Thanks Sanjiv. Google Feed API looks very interesting. May I request
code-snippets for how to do this?

Joster

On Jul 13, 12:27 pm, Sanjiv Jivan <sanjiv.ji...@gmail.com> wrote:
> I forgot to mention that another advantage of using the Google Feed
> API is that it provides a consistent API for a variety of feeds
> (various versions of RSS and Atom) with the feed data in a normalized
> format so that you dont have to worry about the different feed types /

> versions. Seehttp://code.google.com/apis/ajaxfeeds/documentation/#SupportedFormats

Sanjiv Jivan

unread,
Jul 13, 2007, 5:07:05 PM7/13/07
to Google Web Toolkit
Reply all
Reply to author
Forward
0 new messages