Thoughts Electrique

Display RSS Feeds in JSPs with RSS4JSP

I recently discovered the freshly released RSS4JSP tag library. Its a wrapper around the mature and widely used Rome RSS library which was developed by Sun and then open sourced. The library allows you to simply display (news) feeds inside your JSP pages.

While it’s certainly a young project, I found it very useful and easy to use. I gave it a try to create the Latest blog posts box on my, OpenCms based, homepage. The box was created during 5 minutes which I think is impressive (given that you have to type the HTML too).

Unfortunately the project does not allow the syndication of multiple feeds into one feed (This is a nice feature of Rome which I used in a recent project) but maybe it will be added in the future (or I will add it myself).

Check it out at sourceforge or visit the authors blog.

Tags: , , , ,

3 Responses to “Display RSS Feeds in JSPs with RSS4JSP”

  1. ben Says:

    Hi Sebastian,

    sound good. In one of our projects we need a function to import some RSS-based content into OpenCMS-structure content. The RSS4JSP-API can do some work for us… :-)

    Many great hint’s on your blog. Thanks a lot. :-)

    bye,
    ben

  2. Sebastian Says:

    Hi Ben,

    I’m glad to hear this helps you. I’ve developed a similar functionality for a customer too. If the JSP tags don’t suffice try using Rome directly. It’s a great library.

    Bye,
    Sebastian

  3. Phil Haigh Says:

    Sebastian,

    Thanks for the compliments about my library! I will be adding the feature you mention in one of the next releases – it should be there by the time the library gets to 1.0.

    If there is anything else you’d think would be useful, feel free to raise a feature request.

Leave a Reply