I searched these days for a nice solution how to display a RSS feed with the help of JavaScript. Then I came across this nice page
http://www.jdev.it/a-very-simple-rss-reader-with-angularjs-and-google-feed-api/
But sadly it does not work in every single piece. The row {{item.publishedDate | date:’d-MM-yyyy HH:mm’}} does not work, because publishedDate is a “String” rather than a “Date”. That means the formatting does not work.
But with the following simple modification in the feeds.js file it’s converted to a “Date”:
FeedLoader.fetch({q: feedSources[i].url, num: 30}, {}, function (data) { var feed = data.responseData.feed; for (var j=0; j<feed.entries.length; j++) { var eventDateStr = feed.entries[j].publishedDate; var eventDate = new Date(eventDateStr); feed.entries[j]["eventDate"] = eventDate; } feeds.push(feed); });
Now you’ve “eventDate” which is the same than “publishedDate”, but from the type “Date”.