Skip to content

Instantly share code, notes, and snippets.

@simonmcmanus
Created September 16, 2013 10:42
Show Gist options
  • Save simonmcmanus/6579103 to your computer and use it in GitHub Desktop.
Save simonmcmanus/6579103 to your computer and use it in GitHub Desktop.
Example RSS Atom Feed
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Sun Feed</title>
<link>http://www.thesun.com</link>
<description>big stories</description>
<atom:link href="http://RSS-FEED-URL.com" rel="self" type="application/rss+xml"/>
<item>
<title>item 1</title>
<guid isPermaLink="false">http://www.thesun.com/1</guid>
<pubDate>Mon, 16 Sep 2013 10:19:22 GMT</pubDate>
<link>http://www.thesun.com/1</link>
<description>big story 1</description>
<media:thumbnail width="66" height="49" url="http://sun.com/image1.jpg"/>
<media:thumbnail width="144" height="81" url="http://sun.com/image1.jpg"/>
</item>
<item>
<title>item 2</title>
<guid isPermaLink="false">http://www.thesun.com/2</guid>
<pubDate>Mon, 16 Sep 2013 10:19:22 GMT</pubDate>
<link>http://www.thesun.com/2</link>
<description>big story 2</description>
<media:thumbnail width="66" height="49" url="http://sun.com/image2.jpg"/>
<media:thumbnail width="144" height="81" url="http://sun.com/image2.jpg"/>
</item>
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment