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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -