February 25, 2003

RSS->HTML for use in SSI - 2

OK, what I think I want is:
A program that given a set of URLs of RSS feeds makes a set of simply formated HTML files containg the content of the RSS feed.
The program should be intelligent not to get a feed too many times so it will have to decide when to use a cache and when to retrieve the feed again.
The program will have to gracefully handle not being able to connect or other network problems.
The program will have to handle any kind of junk that could occur in an RSS badly formed RSS feed.

Posted by stuartcw at February 25, 2003 10:19 AM
Comments

I've been working on making all the message retrieving/delivering/parsing bits of Hep available as a seperate library, along with some tools that demonstrate what the library can do. One of these tools is called "copymessages", and lets you grab all the messages in an RSS feed and post them somewhere else (and in another format). The library uses caching and checks for eTag headers to see if a feed has changed before downloading it. I think it should be almost what you want - depending on how you want to format the html files it might even work out of the box. If you send me an e-mail with more information on what you're trying to do, I'll let you know for sure.

For more information, and instructions on getting the code (it's in CVS), see http://www.fettig.net/index.cgi/2003/02/#Messaging_Library.

Posted by: Abe Fettig at February 25, 2003 11:47 PM