Rss Plugin for JSPWiki#

include feeds contents in your wiki page.

Author: Jean-Guy Avelin - IREMIA (avelin AT univ-reunion dot fr) JeanGuy


This plugin support these types of syndication feeds:

feeds are cached in memory (and shared between wiki pages).
use conditional get before feed parsing.

example :#

[{fr.univ.reunion.iremia.rss.RssViewer url='' detail='1' ttl='120' date='1' maxitems='15'}]

syntax detail#

Params must contain at least one entry with a key "url" associated with a String containing url of the feed.
optional parameters are :

  • detail -> 1 if you want the description of each news
  • date -> 1 if you want the date of last fetch in your wiki page
  • ttl -> value of ttl in minutes for the feed, default value is read on the feed itself otherwise = 1 day.
  • maxitems ->max number of items displayed for the feed


classes added :

  • rssfeed
  • rsshead
  • rsssubtitle
  • rssitemlist
  • rssitem


  border-style: solid; 
  border-width: 1px; 
padding: 0px 15px 5px 15px;
  font-size : 90%;
  text-align: right;
  font-weight: bold
.rsshead img {
  border-width: 0px;
  vertical-align: top;
  font-size : 60%;
  text-align: right;
background-color: #8899AA;
.rssitem {
    font-size : 70%;
    color: #555555; 

screenshot :#


how to get it ?#

attached binary version included. souce version with cvs:

cvs -z3 login
cvs -z3 co rssplugin
cvs logout

installation :#

How to use this:
copy jar files in WEB-INF/lib folder. (rssviewer.jar, informa.jar, ...)

informa needs jakarta commons-logging jar and jdom.jar

Question: shall we add something to besides reloading the application? If so, what shall we had?

tried "fr.univ.reunion.iremia.rss.RssViewer" but didn't work
got: Plugin insertion failed: Could not find plugin fr.univ.reunion.iremia.rss.RssViewer


the informa package

at this date (06/12/2004), you have to use the CVS version of informa for the cache to work properly, to make conditionnal get and to use atom0.3feeds. the 0.5 informa binary has a little problem with these features.
informa 0.5.5 available since 29 Jun 2004, include these patches.
a working informa.jar is attached


1.1: (08/30/2004) support RSS2.0 item guid permalink as used by feed


How do I specify a proxy server and port to use for the URL request?

A : Add some parameters to your JDK. For example, with resin, modify the args variable in to this value :

-J-DproxySet=true -J-Dhttp.proxyPort=6666

Please identify which CSS files need to be changed. In my wiki, the header and body of the news are centered. I would like to see them left-justified.

--JohnBParker, 28-Apr-2006


When installing the jars and trying the example feed and my own feed, i both get the following error:

Error with the newsfeed :!!

Connection refused: connect de.nava.informa.utils.FeedManagerException: Connection refused: connect at de.nava.informa.utils.FeedManagerEntry.retrieveFeed( at de.nava.informa.utils.FeedManagerEntry.( at de.nava.informa.utils.FeedManager.addFeed( at fr.univ.reunion.iremia.rss.RssViewer.execute( at com.ecyrd.jspwiki.plugin.PluginManager.execute( at com.ecyrd.jspwiki.parser.PluginContent.getText( at org.jdom.output.XMLOutputter.printTextRange( at org.jdom.output.XMLOutputter.printElement( at org.jdom.output.XMLOutputter.printContentRange( at org.jdom.output.XMLOutputter.outputElementContent( at com.ecyrd.jspwiki.render.XHTMLRenderer.getString( at com.ecyrd.jspwiki.render.RenderingManager.getHTML( at com.ecyrd.jspwiki.render.RenderingManager.getHTML( at com.ecyrd.jspwiki.WikiEngine.textToHTML( at com.ecyrd.jspwiki.WikiEngine.getHTML( at com.ecyrd.jspwiki.tags.InsertPageTag.doWikiStartTag( at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag( at

--HHendriks, 08-Mar-2007


Is the source code for this plugin available? I have encountered the following stacktrace when trying to include an rss feed from google calendar:

java.lang.NullPointerException at de.nava.informa.parsers.FeedParser.parse(
 at de.nava.informa.parsers.FeedParser.parse( at de.nava.informa.parsers.FeedParser.parse( at 
de.nava.informa.utils.FeedManagerEntry.retrieveFeed( at 
de.nava.informa.utils.FeedManagerEntry.( at 
de.nava.informa.utils.FeedManager.addFeed( at 
fr.univ.reunion.iremia.rss.RssViewer.execute( at 

--AnonymousCoward, 15-Aug-2007

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
example_channel.jpg 50.5 kB 1 29-Jun-2004 18:07 JeanGuy
informa.jar 175.9 kB 3 29-Jun-2004 19:21 JeanGuy
rssviewer.jar 5.1 kB 4 05-Sep-2005 10:12 JeanGuy
« This page (revision-36) was last changed on 23-Nov-2008 07:45 by