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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -