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

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -