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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -