Skip to content

Instantly share code, notes, and snippets.

@kwhinnery
Created November 6, 2009 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwhinnery/228392 to your computer and use it in GitHub Desktop.
Save kwhinnery/228392 to your computer and use it in GitHub Desktop.
var xhr = Titanium.Network.createHTTPClient();
xhr.onload = function() {
try {
$(doc).find("rss channel item").each(function() {
//do something with news items
});
}
catch(e) {
Titanium.API.debug(e);
}
};
xhr.open('GET','http://somefeed.com/rss');
xhr.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment