Use with jQuery
- Load jQuery
- Load script file
- input xml url/data
- ...
- Profit
Useful Links: Rss to Json: https://codebeautify.org/xmltojson
Json path finder: https://jsonpathfinder.com/ (if the path starts with x.rss.something remove the rss part)
$.get('data/hello.xml', function(xml){
var json = $.xml2json(xml);
alert(json.message);
});