Introduction

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://tech.groups.yahoo.com/group/rss-dev/files/specification.html).

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>
XML_RSS (Previous) Requirements for running XML_RSS (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.