Introduction -- Introduction to XML_RSS
Introduction to XML_RSS
Resource Description Framework (RDF) Site Summary (RSS) documents
are XML documents, that provide a lightweight multipurpose
extensible metadata description and syndication format. RSS files
are often used to syndicate news or headlines from portal sites
(e.g. Slashdot or freshmeat.net) or weblogs.
For more information on RSS see the website of the RSS working
group (http://www.purl.org/rss/).
Example 61-1. RSS file <?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
<title>FooBar Inc.</title>
<link>http://example.com/</link>
<description>abcd, xyz, 123</description>
</channel>
<image>
<title>FooBar</title>
<url>http://example.com/images/rssicon.gif</url>
<link>http://example.com/</link>
</image>
<item>
<title>Headline 1</title>
<link>http://example.com/news.php?h=1</link>
</item>
<item>
<title>Headline 2</title>
<link>http://example.com/news.php?h=2</link>
</item>
<textinput>
<title>Search FooBar Inc.</title>
<description>Search FooBar Inc. headlines</description>
<name>q</name>
<link>http://example.com/search.php</link>
</textinput>
</rdf:RDF> |
|