Jakarta FeedParser is a Java RSS/Atom parser designed to elegantly support all versions of RSS (0.9, 0.91, 0.92, 1.0, and 2.0), Atom 0.5 (and future versions) as well as easy ad hoc extension and RSS 1.0 modules capability.

FeedParser was the parser API designed by Kevin Burton for NewsMonster and has been donated to the ASF in order to continue development.

FeedParser differs from most other RSS/Atom parsers in that it is not DOM based but event based (similar to SAX). Instead of the low level startElement() API present in SAX, we provide higher level events based on feed parsing information.

Events are also given to the caller independent of the underlying format. This is accomplished with a Feed Event Model that isolates your application from the underlying feed format. This enables transparent support for all RSS versions including Atom. We also hide format specific implementation such as dates (RFC 822 in RSS 2.0 and 0.9x and ISO 8601 in RSS 1.0 and Atom) and other metadata.

The FeedParser distribution also includes:

  1. An implementation of RSS and Atom autodiscovery.
  2. Support for all content modules including xhtml:body, mod_content (RDF and inline), atom:content, and atom:summary
  3. Atom 1.0 link API as well as RSS 1.0 mod_link API
  4. An HTML link parser for finding all links in an HTML source file and expanding them to become full URLs instead of relative.

URL: http://jakarta.apache.org/commons/sandbox/feedparser/
Licence: Apache License