Saturday, September 24, 2005

Creating a Feed from Your Website - Creating the Actual Feed

Today: Coding a feed for your website.

OK. Let's create an RSS Feed for your website. If you follow along, you
will have a working RSS Feed for your website at the end of this lesson.
This is not a drill (smile). This will be an actual working RSS feed on the

- It can be used by you from now on to make updates.
- Others can subscribe to your RSS Feed.
- It will be fully functional.

1) Decide on a title for the feed. My website is Wizard Creek Consulting
( The feed I decided to do was for this class,
so my feed title is "RSS Class". A website can have more than one feed.

2) Use Notepad, FrontPage or any other text editor to make a text file.
Name it using your title dot xml. My file is named rss-class.xml. Use
hyphens, not spaces or underlines.

3) Add the following to the file. The commands specify that this is an XML
file, that it is RSS 2.0, and that it has a channel or feed. Everyone should
have the identical statements here. (Feel free to cut and paste of course).

<?xml version="1.0"?>
<rss version="2.0">

4) Add three statements after <channel> to describe the feed: title, url and

<title>the feed title</title>
<link>website url</link>
<description>feed description</description>

Example of complete feed:

<?xml version="1.0"?>
<rss version="2.0">
<title>RSS Class</title>
<description>RSS Class: lessons, illustrations, examples and

5) FTP this to your server. You can use any FTP product. I recommend you
use a folder for RSS because you might have more feeds, but it is not
required. Mine is

- It is now a working RSS feed.
- There are no entries yet. That is the next lesson.
- This is an advanced class, but I can provide some help if you are

Let me make a strong suggestion. This is optional but it could be fun.

If you have created this feed,
- respond to this post and tell us the URL of your feed.
- subscribe to the feeds of others that respond
- subscribe to your own feed
- I will subscribe to the feed of everyone that responds

Next post we will start to add items / entries, and those that have
subscribed will start to see feed entries in their feed readers.

No comments: