We are frequently asked to provide examples of Media RSS (MRSS) feeds that are known to work within Signagelive. In the following guide, you will find two Media RSS examples, the second of which will illustrate how you can add media asset expiry to your feed.
Simple Media RSS (No Expiry) - Download Template
The following example is a simple Media RSS (MRSS) that does not contain any form of media asset expiry. All of the media content within the feed will continue to play until it is removed.
<?xml version="1.0" encoding="utf-8"?>
<rss version = "2.0" xmlns:media = "http://search.yahoo.com/mrss/"> <channel>
<title>Sample Feed</title>
<link></link>
<description>Sample Media RSS</description>
<item> <title>Item 1</title>
<description>Sample Media RSS Item 1</description>
<media:content url = "http://server/image1.jpg" type = "image/jpeg" medium = "image" duration = "10"> </media:content> </item>
<item> <title>Item 2</title>
<description>Sample Media RSS Item 2</description>
<media:content url = "http://server/image2.jpg" type = "image/jpeg" medium = "image" duration = "10"> </media:content> </item>
<item> <title>Item 3</title>
<description>Sample Media RSS Item 3</description>
<media:content url = "http://server/image3.jpg" type = "image/jpeg" medium = "image" duration = "10"> </media:content> </item>
<item> <title>Item 4</title>
<description>Sample Media RSS Item 4</description>
<media:content url = "http://server/image2.jpg" type = "image/jpeg" medium = "image" duration = "10"> </media:content> </item>
</channel>
</rss>
Simple Media RSS (Including Media Expiry) - Download Template
The following example is a simple Media RSS (MRSS) that includes expiry at each level within the feed. The expiry of media is optional at each level and, for instance, could only be specified on the media:content element and not on the parent channel or item elements. Within the feed, if a parent element has expired, then, as a rule, all child elements are also regarded as having expired.
<?xml version="1.0" encoding="utf-8"?>
<rss version = "2.0" xmlns:media = "http://search.yahoo.com/mrss/"xmlns:dcterms="http://purl.org/dc/terms/">
<channel>
<title>Sample Feed</title>
<link></link>
<description>Sample Media RSS</description>
<dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
<item>
<title>Item 1</title>
<description>Sample Media RSS Item 1</description> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
<media:content url = "http://server/image1.jpg" type = "image/jpeg" medium = "image" duration = "10">
<dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
</media:content>
</item>
<item>
<title>Item 2</title>
<description>Sample Media RSS Item 2</description> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
<media:content url = "http://server/image2.jpg" type = "image/jpeg" medium = "image" duration = "10"> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid> </media:content>
</item>
<item>
<title>Item 3</title>
<description>Sample Media RSS Item 3</description> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
<media:content url = "http://server/image3.jpg" type = "image/jpeg" medium = "image" duration = "10"> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
</media:content>
</item>
<item>
<title>Item 4</title>
<description>Sample Media RSS Item 4</description> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
<media:content url = "http://server/image2.jpg" type = "image/jpeg" medium = "image" duration = "10"> <dcterms:valid>start=2010-08-01T00:00:00;end=2011-08-01T00:00:00;scheme=W3C-DTF</dcterms:valid>
</media:content>
</item>
</channel>
</rss>
If you would like to create an introductory text or media RSS feed within Signagelive, please contact the Support team, and we can enable this legacy module for your chosen network. Find out more about this feature here.