Parsing XML / RSS from URL using Java Script

前端 未结 3 988
栀梦
栀梦 2020-12-08 08:00

Hi i want to parse xml/rss from a live url like http://rss.news.yahoo.com/rss/entertainment using pure Java Script(not jquery). I have googled a lot. Nothing worked for me.

3条回答
  •  感动是毒
    2020-12-08 08:30

    better convert xml to json. http://jsontoxml.utilities-online.info/

    after converting if you need to print json object check this tutorial http://www.w3schools.com/json/json_eval.asp

提交回复
热议问题