I am using the google feed api to create an rss reader but I do not want all the data up front I want 10 entries, when the user clicks load more I want to load the next 10 and so on.
The code I am using gets all the entries and in the documentation I was not able to figure out how to achieve this.
http://ajax.googleapis.com/ajax/services/feed/load?v=2.0&q=http://rss.cnn.com/rss/cnn_topstories.rss&num=5
.factory('rssReader', ['$http', function($http) {
return $http.get('URL_HERE')
.success(function(data) {
alert("SUCCESS!!!" + data);//return data;
})
.error(function(data) {
alert("FAILED!!!!" + data);//return data;
});
}]);
Is this possible?
Is there any other api that provides this?
try this :)