de_epages.presentation.Rss()
Categories: Utilities
new de_epages.presentation.Rss()
Plugin: de_epages.presentation.rss
Description: Load an parse a rss file.
-
new de_epages.presentation.Rss()
version added: 6.11.0 -
new de_epages.presentation.Rss( url, function(data), fullPath )
version added: 6.11.0url The url of the rss feed which should be loaded and parsed.
function(data) Callback function which is called with the parsed data after the feed is loaded.
fullPath Is the feed stored under it url on the server or is it stored under RSSFeeds inside epages
The de_epages.presentation.Rss()
method checks if the content of the given file is already stored on the epages server or if it
has to be loaded. Then the feed data is parsed and the callback function is called with the parsed data.
The data for the callback function is in the following format:
data: { description: '', items: [ { link : '', pubDate: '', text: '', textEncoded, title: '', audio: , image: , video: } ], logo: { link : '', src : '', title: '' }, name: '', pageLink: '', pubDate: '', version: ''}