Questions tagged [rome]

ROME is a set of RSS and Atom Utilities for Java that is open source under the Apache 2.0 license. ROME makes it easy to work in Java with most syndication formats.

ROME is a set of RSS and Atom Utilities for Java that is open source under the Apache 2.0 license. ROME makes it easy to work in Java with most syndication formats.

ROME includes a set of parsers and generators for the various flavors of syndication feeds, as well as converters to convert from one format to another. The parsers can give you back Java objects that are either specific for the format you want to work with, or a generic normalized SyndFeed class that lets you work on with the data without bothering about the incoming or outgoing feed type.

141 questions
0
votes
1 answer

Getting a `error: unresolved reference` with gradle

I am using rometools to parse a RSS feed and when I run the sample code here I get an unresolved error. The project is using Java 11 and Kotlin with gradle 7.1 fun parseRSSFeed(feed:String): SyndFeed? { val feed =…
SomethingsGottaGive
  • 1,646
  • 6
  • 26
  • 49
0
votes
1 answer

ROME gives me a error regarding DOCTYPE, but there is no DOCTYPE tag in my XML

I'm using ROME to read some RSS feeds. It turns out I'm getting the error below: Caused by: org.xml.sax.SAXParseException: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. at…
FranKs
  • 51
  • 4
0
votes
3 answers

Why do I get no main manifest attribute, in rome-utils-1.15.0.jar?

I am trying to use the rome rss library. However, when I go to execute my jar I get the error. I am assuming it has something to do with my build.gradle.kts file. I have copied it here buildscript { repositories { …
Adrian Le Roy Devezin
  • 672
  • 1
  • 13
  • 41
0
votes
1 answer

Use custom specific parsers for differents rss feeds

I'm using ROME library to read RSS feeds with Java. I'm in the case where I have multiples RSS feeds (all with 2.0 version) and each feed has its own structure and custom tags. I read in the official documentation that we can specify a custom parser…
Hassam Abdelillah
  • 2,246
  • 3
  • 16
  • 37
0
votes
1 answer

Get media content tags from RSS feeds

As weird as it seems when parsing entries from I cannot find an easy when to get from RSS feed without parsing XML document with a library. I cannot find media content either in enclosures or markups. For example for feed…
Hassam Abdelillah
  • 2,246
  • 3
  • 16
  • 37
0
votes
1 answer

how to Identify a link as an RSS Feeds link using ROME?

I am using ROME library for parsing feeds. I want to know how can I identify a link as an XML link or a normal link. Is there a support for this in ROME.
None
0
votes
1 answer

HTTP 403 from Java app (but not web browser), despite User-Agent set

I'm using ROME to poll and aggregate RSS feeds that refreshes every twenty minutes. To circumvent the possible lack of a User-Agent, I artificially added the one I retrived from my installation of Chrome. The relevant code bit looks like…
user10739695
0
votes
1 answer

How I could parse stackoverflow jobs rss with rome to fill auther and updated fields?

I read stackoverflow jobs rss and get items. This is a sample item: 205774 https://stackoverflow.com/jobs/205774/java-developer-creative-dock-sro?a=170Dh8tfEzVm
GLinBoy
  • 606
  • 1
  • 10
  • 20
0
votes
1 answer

ROME API Parse Image URL in CDATA from RSS Feed

Rome API does not parse the image URL if the URL is given within the CDATA section. For example, http://www.espn.com/espn/rss/espnu/news this feed has Within the SyndFeed resulting…
Ank K
  • 11
  • 2
0
votes
2 answers

Fatal Error :1:1: Premature end of file - in Url.openStream() / new new XmlReader in Rome tools

Small snippet of program challenging me from a day, import java.io.IOException; import java.io.InputStream; import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import…
Sunil Rk
  • 999
  • 6
  • 12
  • 35
0
votes
2 answers

p:feedReader noclassdeffound exception

I am trying to create a simple RSS reader in JSF web project (Eclipse). Here is Primefaces snippet for RSS:

Gishas
  • 380
  • 6
  • 21
0
votes
1 answer

Using ROME API in Java

I am trying to use the ROME API to read an RSS Feed, but I am struggling on getting the API to work. I have downloaded the ROME 1.0 .jar file, placed it in a folder and to compile my java I do: javac -cp /path/to/jar/rome-1.0.jar…
BOB
  • 47
  • 6
0
votes
1 answer

Need to extend ROME's default RSS feed schema/generator

I need to add some fields and a namespace to an existing RSS feed built in ROME. A rather simple operation in theory, but I'm struggling. I figured all I'd have to do is extend SyndEntry/SyndEntryImpl and SyndFeed/SyndFeedImpl, putting the new…
cDecker32
  • 813
  • 1
  • 10
  • 20
0
votes
1 answer

Using Rome RSS in OSGI/ Adobe AEM

I ran into a problem using the rome library for creating RSS Feeds. https://rometools.github.io/ If I just add the lib to my pom.xml and deploy it to an AEM instance and call a servlet which should use the library it just fails. Iam unable to debug…
Tim Schwalbe
  • 1,588
  • 4
  • 19
  • 37
0
votes
1 answer

Cannot get RSS feed content with Rome

I'm trying to read the content of an RSS feed using Rome 1.7.4. Here's my code: public static void main(String[] args) { try{ URL feedURL = new URL("http://feeds.feedburner.com/consumeraffairs/SXJd"); SyndFeedInput input = new…