Hi, I've done this with GWT Marketplace (http:// gwtmarketplace.appspot.com) using Google's JS API.
I'll point you to some source code that might help: 1) add the api: http://code.google.com/p/gwtmarketplace/source/browse/trunk/war/GWT_Marketplace.html 2) write the JSNI wrapper - http://code.google.com/p/gwtmarketplace/source/browse/trunk/src/hudson/gwtmarketplace/client/ajaxfeeds/Feed.java - http://code.google.com/p/gwtmarketplace/source/browse/trunk/src/hudson/gwtmarketplace/client/ajaxfeeds/FeedListener.java 3) call it in your code: - http://code.google.com/p/gwtmarketplace/source/browse/trunk/src/hudson/gwtmarketplace/client/pages/MainPage.java#68 Hope this helps. Joe On Aug 4, 12:12 pm, kumar <[email protected]> wrote: > Hi lineman, > > Thanks for giving me response, my problem is not the parsing.. problem > is parsing from public server feeds which will provide news. > I have tried with RequestBuilder class but i unable to read data from > other servers (Ex. Google news feed, yahoo news feed etc..).. data > coming as null.. I have searched on the google but i have't find any > solutions.. > > Thanks > Please provide information about parsing from other servers > On Aug 4, 8:50 am, lineman78 <[email protected]> wrote: > > > The easiest, but not most efficient way would be to write a server > > side proxy to fetch for you and use the built-in GWT DOM parsing API. > > >http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... > > > The most efficient method that I would use is to use the RSS XSD to > > generate JAXB classes which will be used in the proxy to parse the RSS > > and convert it into JSON so it can be parsed faster on the client. I > > would also add a server-side cache so multiple clients viewing the > > same RSS feed aren't making multiple requests per minute, cacheing for > > 1 minute would be sufficient I think. > > > On Aug 3, 1:28 pm, kumar <[email protected]> wrote: > > > > how to parse news rss feeds? > > > RSS feed like any of news sites or google news... please help me -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
