How to add a RSS feed to your website

To create a RSS feed for your website you will first need to create the actual feed file. This has the format of:

<?xml version="1.0"?>
      <title>The feed's title</title>
      <description>The feed's description</description>
      <link>The feed's webpage</link>
      <title>The title of an item</title>
      <description>The description of an item</description>
      <link>The item's webpage</link>
   .... (other items) ...

You can have many item tags in your feed.

To enable the visitor's browser to see this file you will need to add the following tag to the head of your HTML page:

<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="yourfeed.rdf"/>

The file extension in the code above is not important, so you can have a script generate the feed for you etc..

Last updated: 04/08/2006