Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RSS toolkits/libraries ( I'm looking to persist RSS feeds )

 
David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Just wondered if anyone knows of a RSS library or toolkit that takes in RSS/atom feed etc URLs and will produce an object map for me?

I'm wanting to store feeds from multiple sites and have written a simple class to do the job but there is so much variation in the feeds I could keep writing code for days to cover all the bases. I would think there is something out there that would help but cannot find anything.

Cheers.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rome is a good library for handling RSS feeds in Java. Unfortunately, it lives on java.net, which means that currently you can only get its source code, not any documentation or binaries. But if you search the web I'm sure you can find articles about it.
 
David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Ulf.

That looks perfect.

Found this article which pretty much describes the code I need...

http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html

Cheers
 
David Rocks
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Works like a dream, checked out the trunk and the jars were in there.

Ploughs through the DB of RSS links I have and handles all the discrepancies and differences without issue.

Cheers.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic