PDA

View Full Version : how to create an rss feed for any purpose


rhetoric
10-05-2005, 01:55 AM
I have worked with xml before but I do not know where to start with building an rss feed.

rpgfan3233
10-05-2005, 05:30 AM
http://www.w3schools.com/rss/rss_intro.asp should help. :)

Quick example:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- No links are actually valid other than the one to W3.org, but the description does not suit the link. The idea was to make the CONTENT semantic. This document is not semantic. :) -->
<rss version="2.0">
<channel>

<title>Example RSS file</title>
<link>http://www.w3.org</link>
<description>An example RSS feed</description>

<item>
<title>RSS item 1</title>
<link>http://www.w3.org/rss</link>
<description>An example RSS item</description>
</item>

<item>
<title>RSS item 2</title>
<link>http://www.w3.org/rss2</link>
<description>Another example RSS item</description>
</item>

</channel>
</rss>

You could also look into RDF, but that just gets confusing. In case you want to, here is a link to W3Schools' RDF tutorial: http://www.w3schools.com/rdf/rdf_intro.asp