Create an RSS Feed
Promotion
Create your own RSS News Feed

Anyone with a web page knows that no matter how good your web site is, it's no good unless someone sees it. So, to keep readers informed of updates, most sites employ things like mailing lists to keep readers up to date.

In this tutorial I'm going to show you the simple to way to create your own RSS News Feed.

First, what is an RSS news feed? RSS news feeds are used by web sites to share headlines and stories. These feeds can be used by other web sites or by special RSS aggregators. In this example I will show you how to create an RSS news feed.

Create Your Own in XML : There are multiple RSS Feed formats (0.91, 1.0 and 2.0) but in this tutorials we will use the simple 0.91 format. Below you will find a link to the code used to create a sample RSS Feed. Feel free to copy and paste the following code into your own text editor.

Sample RSS Code

Looking at the code in the example, you're probably thinking to yourself that it looks a lot like HTML. And you are right. When creating your RSS Feed, there are only a few things that you need to change to make it work. I have highlighted in orange the items that you will need to change to make your own feed.

Title, Link, Description : To make the feed work you really only need to change the Title, Link and Description sections of the code. So, let's whip out our handy Text Editor and get started.

The first Title, Link and Description refers to your site. In my feed I have gbradhopkins.com for the title, the actual link to the site and a description of the site itself. This is the information that will be displayed in the news aggregator.

The next section that is changed refers to the individual headline or news story that you are announcing with your feed. So, when you change the Title, Link and Description, each should refer to the individual article. You can then repeat the process for each of the headlines that you would like to add. Make sure that you leave the tags alone and only change the text in the Title, Link and Description sections. Any changed code will cause problems with your feed. When saving your feed, save it as my-feed-name.rss. [ex- My feed is saved as g_brad_hopkins.rss]

Advertise Your Feed : Now that you have created a feed, you need to advertise it. One way, is to add a link on your page that says RSS FEED, or use the graphic. This graphic is a standard indicator of an RSS Feed. The graphic or text should link to your .rss file. [mine links to g_brad_hopkins.rss]. To see what an RSS feed looks like when clicked on, click on either the graphic or text link above.

Another way to advertise your feed is to use a web site like Syndic8.com. Syndic8.com allows people to enter or suggest feeds that they will include in their database.You can also use Syndic8.com to find other RSS Feeds.

Validate the Feed : To make sure that your feed is sea-worthy, use an online RSS Validator like the one at Userland Software. Simply input the link to your rss file and it will check to see that everything is valid in your code.

View the Feed : To view the feed you will need an RSS aggregator. I am using NetNewsWire Lite for MacOS X. For those using Windows, try out AmphetaDesk. In the image below you can see my feed in the aggregator window.

Extra Resources
Written: Updated:7/15/04
Educated Computer Users
© gBradhopkins.com 2004