0

I'm working with windows 8 app using JavaScript

There is a rss feed.Click here(Look for the source). I'm using google api for get that xml content. But the thing is I can't get every tag from it like <image>,<fullStory>.. I can't find how i couldn't get them.. Is there any way for it..?

 feedburnerUrl = "http://www.defence.lk/news/rss20.xml",
   feedUrl = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&output=json&num=999&q=" + encodeURIComponent(feedburnerUrl);


WinJS.xhr({
    url: feedUrl, responseType: "rss/json"
}).done(function complete(result) {

    var jsonData = JSON.parse(result.response);
    var entries = jsonData.responseData.feed;
});

entries.entries give the each item.But the above I mentioned tags are missing. So any guide or example will really help for me... Thank you..

3
  • you can use jQuery and xml2json [See description here][1] [1]: stackoverflow.com/questions/3642789/… Commented Nov 29, 2013 at 11:07
  • What do you mean in word "read"? If you have XML document you can use document.getElementsByTagName('*') and get nodelist with all document elements. Commented Nov 29, 2013 at 14:46
  • it seems to do something with google feed load api. does the documentation help? Commented Nov 30, 2013 at 3:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.