-
-
Save pkieltyka/0a1811b5195bfcef3bc6 to your computer and use it in GitHub Desktop.
Example of a clean RSS 2.0 feed with content and media extensions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rss version="2.0" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:media="http://search.yahoo.com/mrss/"> | |
<channel> | |
<title>MusicTO - Your source for daily music updates in Toronto</title> | |
<link>http://www.musicto.com/</link> | |
<description> | |
Your daily pulse on the Toronto music scene | |
</description> | |
<language>en-us</language> | |
<item> | |
<title>Artists in the spotlight: Weeknd</title> | |
<link>http://musicto.com/content/artists-in-the-spotlight-weeknd</link> | |
<guid>51471f05b50c5e6becc99daedbc4b99b</guid> | |
<pubDate>Tue, 15 Jan 2013 08:00:00 GMT</pubDate> | |
<dc:creator>Jay Hamilton</dc:creator> | |
<description><![CDATA[ | |
Abel Tesfaye (born February 16, 1990), known by his stage name The Weeknd, is a | |
Canadian recording artist and record producer. | |
]]></description> | |
<content:encoded><![CDATA[ | |
<p>Full HTML content goes here. Inline media is allowed too.</p> | |
]]></content:encoded> | |
<media:content url="http://media.musicto.com/2013/01/15/weeknd.jpg" | |
type="image/jpeg" medium="image" width="1024" height="768"> | |
<media:description type="html"><![CDATA[ | |
Weeknd live at <strong>Air Canada Centre</strong> | |
]]></media:description> | |
<media:copyright>Sara Foto</media:copyright> | |
</media:content> | |
<media:content url="http://media.musicto.com/2013/01/15/house-of-balloons.mp4" | |
type="video/mp4" media="video" width="1024" height="768" lang="en"> | |
<media:description type="plain"> | |
Weeknd performing House of Ballons (live at ACC) | |
</media:description> | |
<media:copyright>Sara Foto</media:copyright> | |
</media:content> | |
</item> | |
<item> | |
<title>Rolling Stones coming to Toronto</title> | |
<link>http://www.musicto.com/event/2013-rolling-stones</link> | |
<guid>59d183966de19b3c1843f9fccecda47f</guid> | |
<pubDate>Mon, 14 Jan 2013 08:00:00 GMT</pubDate> | |
<dc:creator>Frank Thomas</dc:creator> | |
<description><![CDATA[ | |
While their 50th anniversary was in 2012, the Rolling Stones postponed their | |
celebratory tour until this year. And last week, they officially announced | |
the dates, including two shows in Toronto. | |
]]></description> | |
<content:encoded><![CDATA[ | |
<p>Full HTML content goes here. Inline media is allowed too.</p> | |
]]></content:encoded> | |
</item> | |
</channel> | |
</rss> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment