Angular2 - how should I parse xml into json? -
i want import rss don't know how should parse xml json using angular2/typescript. have seen lot of ways using jquery need approve that's best way it.
can give me propositions should use? thank you.
i saw lot of people using google feed api retrieve json formatted rss feed.
there's fiddle found google:
http://jsfiddle.net/mahbub/b8wcz/
here's way call google api: $http.jsonp('//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=50&callback=json_callback&q=' + encodeuricomponent(url));
Comments
Post a Comment