close

Rome RSS library and plugins

chatFrank van der Linden   9 September 2010 15:38:42
Currently we are developing phase 2 of our corporate website. One of the requirements was to present a list of slideshare entries.
Slideshare provide you with a simple RSS feed of a specific user.
For example the url http://www.slideshare.net/rss/user/pvwetten returns a RSS feed.

In the source you will see some 'media:content' tags. These media tags are very usefull of all the media information, for example the thumbnail of the Slideshare presentation.
Image:Rome RSS library and plugins
We use the Rome library to parse all RSS/Atom feeds, but I was not able to parse these media tags.
On the website of the Rome library I found some Modules.
So you are able to extend your Rome library.

I have used the Yahoo! MediaRSS module to parse the Media:content tags and return te Thumbnail url.

It's very easy to use. Download the jar file, include it in your WEB-INF/lib directory.
Image:Rome RSS library and plugins

And also in your Java build path, under properties in the package explorer
Image:Rome RSS library and plugins

And voila your are able to use the module.

Image:Rome RSS library and plugins

I saw there are other modules, so I will have a look a them later.