rentzsch.com: tales from the red shed

Great RSS Implementation Article

RSS
Originally, I was going to put RSS support into version 1.1 of WOWebLog. However, I'm happy to say it was so easy to add RSS support, that I was able to work it into version 1.0.

It took me three hours to add RSS support. One hour to learn the spec, one hour to code the implementation, another hour to debug it (hint: all of your HTML in your RSS 0.9x must be properly escaped. I had an unescaped A HREF tag in there and NetNewsWire wouldn't clue me in as to what was wrong...)

The only reason I was able to pick up the spec so quickly was because of Matthew Trump's excellent article: "RSS 0.92: A Step-by-Step Beginner's Guide to Creating Your First Document". Highly recommended if you want to quickly add RSS support to your app.

Of course, adding RSS support to WOWebLog bloated the code -- by 53 lines. Yes, I'm gloating. I'll stop now.

Update: Nello Lucchesi pointed out this RSS validator to me. Probably would have saved me some debugging cycles...

Saturday, February 15, 2003
12:00 AM