GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rometools/rome: Java library for RSS and Atom feeds

BranchesTags
Open more actions menu

Latest commit

 

History

779 Commits
779 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn/wrapper
.mvn/wrapper
 
 
rome-modules
rome-modules
 
 
rome-opml
rome-opml
 
 
rome-utils
rome-utils
 
 
rome
rome
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

ROME

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-utils Internal utility classes.

Getting started

System Requirements

Starting with ROME 2.x Java 8 or higher is required. The only exception is version 2.0.0, which requires Java 11. However, this has been corrected in version 2.1.0.

Dependency (Maven)

<dependencies>
    <dependency>
        <groupId>com.rometools</groupId>
        <artifactId>rome</artifactId>
        <version>${rome.version}</version>
    </dependency>
</dependencies>

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 variant used in this example is deprecated and works only for simplest cases. Please consider using a separate library for fetching the feed (see examples 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));

About

Java library for RSS and Atom feeds

rometools.github.io/rome

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

954 stars

Watchers

44 watching

Forks

168 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.