XML_RSS | Requirements |
XML_RSS | |
PEAR Manual | |
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 xmlns:xlink="http://www.w3.org/1999/xlink">http://example.com/</link> <description>abcd, xyz, 123</description> </channel> <image> <title>FooBar</title> <url>http://example.com/images/rssicon.gif</url> <link xmlns:xlink="http://www.w3.org/1999/xlink">http://example.com/</link> </image> <item> <title>Headline 1</title> <link xmlns:xlink="http://www.w3.org/1999/xlink">http://example.com/news.php?h=1</link> </item> <item> <title>Headline 2</title> <link xmlns:xlink="http://www.w3.org/1999/xlink">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 xmlns:xlink="http://www.w3.org/1999/xlink">http://example.com/search.php</link> </textinput> </rdf:RDF> |
XML_RSS | Requirements |
XML_RSS | |
PEAR Manual | |