ASP Based RSS Reader
Taken from http://www.weather.gov/alerts/wwarssget.php?zone=NJZ026 mm
Here is an excellent example of simple coding. Added to our intranet to show recent changes to our Open Wiki
A MegaTokyo RSS Feed Reader (ASP)
by John Peterson
The other day, one of my favorite online comics, MegaTokyo, finally added an RSS feed. Being the MT junkie that I am, I instantly decided that I needed to put this on my start page.
If you're not familiar with RSS, you might find XML Files's RSS section helpful.
As I've mentioned in the past, because I spend so much of my time in a browser, I've taken the time to build my own customized start page that runs on my local web server. It contains a number of things that I use on a fairly regular basis. These include search forms for my favorite search engines, a page containing dns, ip addresses, and connection details for my servers, links to sites I visit daily, links to my router config screens, etc. So what's the point? The point is that now it's going to contain the latest headlines from MegaTokyo as well.
There are RSS feeds for everything these days. So why did it take me this long to write an ASP script to read one? Simple... because I'm lazy and until now there wasn't a feed I wanted on my homepage. Why did I use classic ASP instead of ASP.NET? Two reasons: there are already scripts everywhere to do this in ASP.NET, and my homepage is still running on classic ASP. I know I could easily convert it, but I think the answer to the first question already adequately covers why I haven't.
To be honest, there's nothing special about the code... it'll work with most any RSS feed. I've done a few things specific to MegaTokyo's feed (like replacing
s for XHTML compliance), but there's really no reason you couldn't use this script with any RSS feed. In fact, we use a very similar script on our homepage to pull in the headlines from DevX's .NET feed. (Before you write, asking me to add headlines for your site, please note that DevX is also owned by Jupitermedia).
kwRSS: RSS Reader & Writer
The main aim of this project is to allow easy manipulation of RSS (RDF Site Summary) files, both writing and reading them, in 2 version, the widely used version 0.91 (in FullXML, PHP-nuke, etc), and the latest official version 1.0 (based on RDF specifications by W3C).
kwRSS became popular as it seems to be the only free RSS reader/writer for ASP, it has also been mention in the book "The ABC of Seo" by David George (Lulu Press, February 28, 2005).
kwRSS is made up of 2 ASP classes, one for the reader and the other for the writer. Information on how to used them are in the provided example files in the zip file, easy to understand.
The RSS feeds that are generated are RSS/RDF complaint, and a proof is by clicking on the following link to validate the test feed: