PDA

View Full Version : How to read Rss Feed in sencha touch 2.0.0



hemant1
18 Apr 2012, 5:04 AM
Hi,

I want to Read the Rss Feed in sencha touch 2.0.0.

Here is the link of Rss Feed

http://webkit.org/blog/feed (http://www.mitbbs.com/board_rss/ScitechNews.xml)

is there any way to read it

thanks,

mitchellsimoens
18 Apr 2012, 5:38 AM
You may find this example beneficial. It was made by our own Andrea: http://www.sencha.com/forum/showthread.php?186215-FeedBurner-RSS-Reader

RSS is basically XML

hemant1
18 Apr 2012, 5:46 AM
Thanks for the Quick ReplyI saw the Examplebut i want to know that how to get the rss content from the link i didn't find it thanks,

mitchellsimoens
18 Apr 2012, 5:49 AM
Like I said, RSS is basically just XML. The only issue I see now is if the server accepts CORS requests otherwise you will need to have a server side script to retrieve remote data.

wilzdezign
18 Apr 2012, 7:08 AM
Provided in some of the examples is using the Google AJAX API which can output to JSON/JSONP .. For example, your link and added to the API address https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.webkit.org/blog/feed/&num=10 gives you the response that you can pull in with Proxy/JSONP call