tags:

views:

284

answers:

4

What's the best library to use to generate RSS for a webserver written in Common Lisp?

+2  A: 

xml-emitter says it has an RSS 2.0 emitter built in.

+2  A: 

CL-WHO can generate XML pretty easily.

+1  A: 

I am not aware of any specific RSS library. But the format is fairly simple so any library that can write xml will do at that level.

You could have e.g. a look at the nuclblog (http://cyrusharmon.org/projects?project=nuclblog) project as that has the capability to generate an RSS feed for the blog entries it maintains.

HD
+1  A: 

Most anything will probably do. Personally, I've been using xml-emitter for my blog's Atom feed, which has worked out well so far.

Just choose whichever XML generation library you like and hack away, I'd say. As others have remarked, RSS is simple; it's little work to generate it manually.

That said, I recommend not generating plain strings directly. Having to deal with quoting data is more of a hassle than installing an XML library, and it's also insecure in case your feed contains data submitted by visitors of your website.

Matthias Benkard