PDA

View Full Version : Google RSS Reader



Mebel
2 Jul 2010, 1:38 AM
hello,

*i am a little confused cause i have written the question a while ago (10 Minutes) but i cant find the entry in this forum. So i ask again.*

i have tried to read a rss reader stream from google.

http://news.google.de/news?hl=de&tab=wn&ned=de&q=sencha&ie=UTF-8&nolr=1&output=rss

The problem is that the callback function dont be executed.

Any ideas?



Ext.setup({
onReady: function () {
var makeJSONPRequest = function() {
alert("start request");
Ext.util.JSONP.request({
url: 'http://news.google.de/news',
//?hl=de&tab=wn&ned=de&q=sencha&ie=UTF-8&nolr=1&output=rss
callbackKey: 'callback',
params: {
hl: 'de',
tab: 'wn',
ed: 'de',
q: 'sencha',
ie: 'UTF-8',
nolr: '1',
output: 'rss'
},
callback: function(result) {
alert("done");
//var version = result.rss.version;
//alert("Version of answer" + version);
}
})
};
makeJSONPRequest();
}
});