core-rss-ticker RSS Ticker Core Display articles from an RSS feed fa fa-rss \Xibo\Widget\RssProvider \Xibo\Widget\Compatibility\RssWidgetCompatibility rss-ticker ticker article %uri%_%numItems%_%stripTags%_%imageSource%_%imageSourceTag% 1 2 1 1 html 60 Update Interval Images (mins) Please enter the update interval for images in minutes. This should be kept as high as possible. For example, if the data will only change once per hour this could be set to 60. 240 0 Cache Period (mins) Please enter the number of minutes you would like to cache RSS feeds. 1440 Feed URL The Link for the RSS feed Number of Items The Number of RSS items you want to display 15 1 0 Duration is per item The duration specified is per item otherwise it is per feed. 0 Take items from the Take the items from the beginning or the end of the list start Reverse Order Should we reverse the order of the feed items? 0 Randomise Should the order of the feed be randomised? When enabled each time the Widget is shown the items will be randomly shuffled and displayed in a random order. 0 Image Tag Choose the tag in the feed to get an image URL enclosure Custom Tag A valid tag name which appears in this feed and will be used to get an image URL. custom Custom Tag Attribute If the image URL is on an attribute of the custom tag, provide the attribute name. custom Strip Tags A comma separated list of HTML tags that should be stripped from the feed in addition to the default ones. User Agent Optionally set specific User Agent for this request, provide only the value, relevant header will be added automatically. Decode HTML Should we decode the HTML entities in this feed before parsing it? 0 Disable Date Sort Should the date sort applied to the feed be disabled? 0 Update Interval (mins) Please enter the update interval in minutes. This should be kept as high as possible. For example, if the data will only change once per hour this could be set to 60. 60 Update Interval Images (mins) Override the update interval for images. This should be kept as high as possible and can be set for all Tickers in Module Settings. %updateIntervalImages% 0; i--) { var j = Math.floor(Math.random() * (i + 1)); var temp = items[i]; items[i] = items[j]; items[j] = temp; } } if (properties.takeItemsFrom === 'end') { // If it's an array, reverse it if (Array.isArray(items)) { items.reverse(); } else { // If it's an object, reverse the keys var newItems = {}; Object.keys(items).reverse().forEach(function(key) { newItems[key] = items[key]; }); items = $(newItems); } } // Make sure the num items is not greater than the actual number of items if (properties.numItems > items.length || properties.numItems === 0) { properties.numItems = items.length; } // Get a new array with only the first N elements if (properties.numItems && properties.numItems > 0) { items = items.slice(0, properties.numItems); } // Reverse the items again (so they are in the correct order) if ((properties.takeItemsFrom === 'end' && properties.reverseOrder === 0) || (properties.takeItemsFrom === 'start' && properties.reverseOrder === 1) ) { // console.log("[Xibo] Reversing items"); // If it's an array, reverse it if (Array.isArray(items)) { items.reverse(); } else { // If it's an object, reverse the keys var newItems = {}; Object.keys(items).reverse().forEach(function(key) { newItems[key] = items[key]; }); items = $(newItems); } } return {dataItems: items}; ]]> Sample Content 1

", "date": "2000-01-01T01:00:30+00:00", "image": "", "link": "https://www.example.com", "permalink": null, "publishedDate": "2000-01-01T01:00:30+00:00", "summary": "Sample Summary 1", "title": "Sample Title 1" },{ "author": "sample@example.com (Author 2)", "content": "

Sample Content 2

", "date": "2000-01-01T01:00:30+00:00", "image": "", "link": "https://www.example.com", "permalink": null, "publishedDate": "2000-01-01T01:00:30+00:00", "summary": "Sample Summary 2", "title": "Sample Title 2" },{ "author": "sample@example.com (Author 3)", "content": "

Sample Content 3

", "date": "2000-01-01T01:00:30+00:00", "image": "", "link": "https://www.example.com", "permalink": null, "publishedDate": "2000-01-01T01:00:30+00:00", "summary": "Sample Summary 3", "title": "Sample Title 3" },{ "author": "sample@example.com (Author 4)", "content": "

Sample Content 4

", "date": "2000-01-01T01:00:30+00:00", "image": "", "link": "https://www.example.com", "permalink": null, "publishedDate": "2000-01-01T01:00:30+00:00", "summary": "Sample Summary 4", "title": "Sample Title 4" },{ "author": "sample@example.com (Author 5)", "content": "

Sample Content 5

", "date": "2000-01-01T01:00:30+00:00", "image": "", "link": "https://www.example.com", "permalink": null, "publishedDate": "2000-01-01T01:00:30+00:00", "summary": "Sample Summary 5", "title": "Sample Title 5" }] ]]>