The Simple, Easy Guide to Making Your News Page an RSS Channel

Do you have a simple, plain old news-based page? Want to provide an RSS feed for it? Here's how:

Warning: This doesn't actually work yet -- it's just a thought experiment at this point...

Adding RSS to your Site

Let's say you've got something like this:

<p><b>The Incredible Day</b> This is my little blog. It tells about the 
<a href="myStory">incredible things</a> I do.<br />
 - 2/19/2001 02:38:33 PM</p>

To make it into an RSS feed, you just need to add a few things. First, separate each entry on your site with an "item" tag:

<div class="item"><p><b>The Incredible Day</b> This is my little blog. It tells about the 
<a href="myStory">incredible things</a> I do.<br />
 - 2/19/2001 02:38:33 PM</p></div>

Now, point out the title:

... <p><b class="title">The Incredible Day</b> This is my ...

And mark the link as the one you want to go in the RSS file:

... It tells about the 
<a href="myStory" rel="details">incredible things</a> I do. ...

Lastly, point out the date of the entry:

...  - <span class="date">2/19/2001 02:38:33 PM</span> ...

Now, you're all done:

<div class="item"><p><b class="title">The Incredible Day</b> This is my little blog. It tells about 
the <a href="myStory" rel="details">incredible things</a> I do.<br />
 - <span class="date">2/19/2001 02:38:33 PM</span></p></div>

Part of LogicError. Powered by Blogspace, an Aaron Swartz project. Email the webmaster with problems.