Liking cljdoc? Tell your friends :D

Rome

Build Status Maven Central

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

⚠️ This project is in maintenance mode due to a shortage of active developers. We won't accept new features but try to keep all dependencies up-to-date.

Project structure

ModuleDescription
romeLibrary for generating and parsing RSS and Atom feeds.
rome-modulesGenerators and parsers for extensions like MediaRSS, GeoRSS and others.
rome-opmlOPML parsers and tools.
rome-fetcherDEPRECATED (see #276 for details)

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

Examples

Parse a feed:

String url = "https://stackoverflow.com/feeds/tag?tagnames=rome";
SyndFeed feed = new SyndFeedInput().build(new XmlReader(new URL(url)));
System.out.println(feed.getTitle());

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();
feed.setFeedType("rss_2.0");
feed.setTitle("test-title");
feed.setDescription("test-description");
feed.setLink("https://example.org");
System.out.println(new SyndFeedOutput().outputString(feed));

Can you improve this documentation? These fine people already did:
mishako, Patrick Gotthard & viktornordling
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close