From EduTechWiki - Reading time: 7 min
RSS, the acronym of really simple syndication (or in more popular words news feeds), is a standardized XML file in which websites insert structured information and is generally used to store news and updates. News feeds can be read by web-based or software-based news readers (also called aggregators).
This wiki has an extension that allows to include RSS feeds.
The following example feed is taken from http://e4innovation.com/ example, i.e. contents from the feed URL = http://e4innovation.com/?feed=rss2
Short version, 5 items max.:
Extension:RSS -- Error: "http://e4innovation.com/?feed=rss2" is not in the list of allowed feeds. There are no allowed feed URLs in the list.
Long version, 3 items only:
Extension:RSS -- Error: "http://e4innovation.com/?feed=rss2" is not in the list of allowed feeds. There are no allowed feed URLs in the list.
Examples taken from wikipedia
Based on RDF, not popular:
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="<nowiki>http://www.w3.org/1999/02/22-rdf-syntax-ns#</nowiki>"
xmlns="<nowiki>http://purl.org/rss/1.0/</nowiki>">
<channel rdf:about="<nowiki>http://www.xml.com/xml/news.rss</nowiki>">
<title>XML.com</title>
<link><nowiki>http://xml.com/pub</nowiki></link>
<description>
XML.com features a rich mix of information and services
for the XML community.
</description>
<image rdf:resource="<nowiki>http://xml.com/universal/images/xml_tiny.gif</nowiki>" />
<items>
<rdf:Seq>
<rdf:li resource="<nowiki>http://xml.com/pub/2000/08/09/xslt/xslt.html</nowiki>" />
<rdf:li resource="<nowiki>http://xml.com/pub/2000/08/09/rdfdb/index.html</nowiki>" />
</rdf:Seq>
</items>
<textinput rdf:resource="<nowiki>http://search.xml.com</nowiki>" />
</channel>
<image rdf:about="<nowiki>http://xml.com/universal/images/xml_tiny.gif</nowiki>">
<title>XML.com</title>
<link><nowiki>http://www.xml.com</nowiki></link>
<url><nowiki>http://xml.com/universal/images/xml_tiny.gif</nowiki></url>
</image>
<item rdf:about="<nowiki>http://xml.com/pub/2000/08/09/xslt/xslt.html</nowiki>">
<title>Processing Inclusions with XSLT</title>
<link><nowiki>http://xml.com/pub/2000/08/09/xslt/xslt.html</nowiki></link>
<description>
Processing document inclusions with general XML tools can be
problematic. This article proposes a way of preserving inclusion
information through SAX-based processing.
</description>
</item>
<item rdf:about="<nowiki>http://xml.com/pub/2000/08/09/rdfdb/index.html</nowiki>">
<title>Putting RDF to Work</title>
<link><nowiki>http://xml.com/pub/2000/08/09/rdfdb/index.html</nowiki></link>
<description>
Tool and API support for the Resource Description Framework
is slowly coming of age. Edd Dumbill takes a look at RDFDB,
one of the most exciting new RDF toolkits.
</description>
</item>
<textinput rdf:about="<nowiki>http://search.xml.com</nowiki>">
<title>Search XML.com</title>
<description>Search XML.com's XML collection</description>
<name>s</name>
<link><nowiki>http://search.xml.com</nowiki></link>
</textinput>
</rdf:RDF>
RSS 2.0 is a slight revision of RSS 0.91
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Liftoff News</title>
<link><nowiki>http://liftoff.msfc.nasa.gov/</nowiki></link>
<description>Liftoff to Space Exploration.</description>
<language>en-us</language>
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
<docs><nowiki>http://blogs.law.harvard.edu/tech/rss</nowiki></docs>
<generator>Weblog Editor 2.0</generator>
<managingEditor>editor@example.com</managingEditor>
<webMaster>webmaster@example.com</webMaster>
<item>
<title>Star City</title>
<link><nowiki>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</nowiki></link>
<description>How do Americans get ready to work with Russians aboard the
International Space Station? They take a crash course in culture, language
and protocol at Russia's Star City.</description>
<pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
<guid><nowiki>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</nowiki></guid>
</item>
<item>
<title>Space Exploration</title>
<link><nowiki>http://liftoff.msfc.nasa.gov/</nowiki></link>
<description>Sky watchers in Europe, Asia, and parts of Alaska and Canada
will experience a partial eclipse of the Sun on Saturday, May 31st.</description>
<pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
<guid><nowiki>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</nowiki></guid>
</item>
<item>
<title>The Engine That Does More</title>
<link><nowiki>http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp</nowiki></link>
<description>Before man travels to Mars, NASA hopes to design new engines
that will let us fly through the Solar System more quickly. The proposed
VASIMR engine would do that.</description>
<pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
<guid><nowiki>http://liftoff.msfc.nasa.gov/2003/05/27.html#item571</nowiki></guid>
</item>
<item>
<title>Astronauts' Dirty Laundry</title>
<link><nowiki>http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp</nowiki></link>
<description>Compared to earlier spacecraft, the International Space
Station has many luxuries, but laundry facilities are not one of them.
Instead, astronauts have other options.</description>
<pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
<guid><nowiki>http://liftoff.msfc.nasa.gov/2003/05/20.html#item570</nowiki></guid>
</item>
</channel>
</rss>
Example found in the specification:
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Example Feed</title>
<subtitle>Insert witty or insightful remark here</subtitle>
<link href="http://example.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>John Doe</name>
<email>johndoe@example.com</email>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id>
<entry>
<title>Atom-Powered Robots Run Amok</title>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2003-12-13T18:30:02Z</updated>
<summary>Some text.</summary>
</entry>
</feed>
For all news feed standards, there is a unique suggested icon (and that should replace the stupid "XML" icon):
None of the three popular RSS 0.91, RSS 2.0 and Atom is defined with a formal language. However, XML grammars (DTDs, Relax or XML Schema) can be found.