Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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

CL-WHO can generate XML pretty easily.

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.

cl-rss-gen is a tiny library (LGPL, depends on CL-WHO) that does some boilerplate work for you (supports generating RSS entries directly from CLOS class instances by specifying which slot maps to which attribute).

Take a look at the code before using it, it may give you the idea how it's working and whether you need it or not (as other posters said, you can generate RSS yourself with CL-WHO or any XML generation library).

Oh, and sorry for resurrecting a four years old thread, but if anyone searches for similar library, he/she will find the answer here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top