I need to read RSS news from there is any ionic own way of doing or should be creating it? I thought ajax get by, but if there is any ionic own way I would like to know how to get started.
Thanks
I need to read RSS news from there is any ionic own way of doing or should be creating it? I thought ajax get by, but if there is any ionic own way I would like to know how to get started.
Thanks
You’re going to have to get it via $http. As for parsing it, that’ll probably need a third party library for that.
Most RSS news are xml based and not json so what you want to do is to convert the data into json data. luckily, $http.json wil do the job:
here is an RSS request
: $http.jsonp(‘http//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=50&callback=JSON_CALLBACK&q=’ + ‘THE-URL’).