Java library for RSS and Atom feeds
Clone or download
Yaroslav Matveychuk and mishako issue #397 fix broken links to
The site contains old articles, so all links to have been changed to like Wikipedia does. Also the following links have been changed:
python's feedparser url to new official one
broken to
homepage to
Latest commit 7cf606e Oct 16, 2018


Build Status Maven Central

Rome is a Java framework for RSS and Atom feeds. The framework consist of several modules:

Module Description
rome Library for generating and parsing RSS and Atom feeds.
rome-modules Generators and parsers for extensions like MediaRSS, GeoRSS and others.
rome-opml OPML parsers and tools.
rome-fetcher DEPRECATED (see #276 for details)

Other deprecated modules: rome-certiorem, rome-certiorem-webapp and rome-propono.


Parse a feed:

String url = "";
SyndFeed feed = new SyndFeedInput().build(new XmlReader(new URL(url)));

Beware! The URL class used in this example is rudimentary and works only for simplest cases. Please consider using a separate library for fetching the feed (see example in #276).

Generate a feed:

SyndFeed feed = new SyndFeedImpl();
System.out.println(new SyndFeedOutput().outputString(feed));