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
28
votes
1 answer

How to write an RSS feed with Java?

I'm using Java, and need to generate a simple, standards-compliant RSS feed. How can I go about this?
Dónal
  • 185,044
  • 174
  • 569
  • 824
13
votes
2 answers

Where can I download ROME rss library jar?

It seems rome downloads no longer exists here (http://java.net/projects/rome/downloads). Where can I download the jar then? is it being discontinued? Thanks, David
David Zhao
  • 4,284
  • 11
  • 46
  • 60
10
votes
11 answers

406 Not Acceptable in Spring MVC application (OSGi, Virgo Web Server) using Jackson, Rome and JAXB2

I just started learning the Virgo Web Server. I'm trying to work with Jakcson JSON in Spring MVC application. At this stage I can not get a GET request serialized object. The server returns "406 Not Acceptable": The resource identified by this…
Alexey
  • 109
  • 1
  • 1
  • 4
10
votes
3 answers

java.io.FileNotFoundException for valid URL

I use library rome.dev.java.net to fetch RSS. Code is URL feedUrl = new URL("http://planet.rubyonrails.ru/xml/rss"); SyndFeedInput input = new SyndFeedInput(); SyndFeed feed = input.build(new XmlReader(feedUrl)); You can check that…
Alexei
  • 231
  • 1
  • 2
  • 11
9
votes
2 answers

Does RSS push or pull updates?

Please note: Although I mention Java 8 I think the answer here is really language-agnostic. I'm building a simple Java 8 web service that will aggregate RSS feeds across various topics and make their content available by request. I've never worked…
smeeb
  • 27,777
  • 57
  • 250
  • 447
8
votes
2 answers

RSS items order, does it matter?

I created an RSS feed with Java Rome lib. The project is near the end. But I found strange behavior in some RSS clients. I think it's more of an RSS clients' problem, but I want to make sure. Rome holds items in a List, so the latest items are at…
Maciek Sawicki
  • 6,717
  • 9
  • 34
  • 48
7
votes
1 answer

Looping through feed entries with rome

I'm trying to loop through Atom feed entries, and get the title attribute lets say, I found this article, I tried this snipped of code : for (final Iterator iter = feeds.getEntries.iterator(); iter.hasNext(); ) { element =…
Gandalf StormCrow
  • 25,788
  • 70
  • 174
  • 263
7
votes
3 answers

Valid RSS 2.0 Using Rome

Im using rome 1.0 to generate RSS for my java application. In my java: SyndFeed feed = new SyndFeedImpl(); feed.setFeedType( "rss_2.0" ); feed.setTitle( "My Site" ); feed.setLink( "http://example.com" ); feed.setDescription(…
JR Galia
  • 17,229
  • 19
  • 92
  • 144
5
votes
1 answer

Using ROME to extract feed contents?

How do I get the contents as a String using ROME in Java for some feed. At the moment this is what I got String feedURL = “...”; SyndFeedInput input = new SyndFeedInput(); SyndFeed feed = input.build(new…
Larry
  • 11,439
  • 15
  • 61
  • 84
5
votes
2 answers

Java - Rome rss reader?

I am trying to read rss. I copied the jar file in to my libs folder, and I added the jar file to my eclipse project as a library. In order and export i checked my jar file. Now I am trying to use the rss reader provided by rome import…
aryaxt
  • 76,198
  • 92
  • 293
  • 442
5
votes
4 answers

get image url of rss with rome library

I having a rss file in following : سایپا نیوز http://www.saipanews.com/ …
or123456
  • 2,091
  • 8
  • 28
  • 50
5
votes
1 answer

add guid on a ROME rss file

I am creating an rss feed in Java using ROME, but for the life of me, i can find how a GUID on it. public boolean addRss(String msg,String msgLink,Date date){ List entries = new ArrayList(); SyndEntry entry; …
Skaros Ilias
  • 1,008
  • 12
  • 40
5
votes
2 answers

Atom:link in RSS using Rome

It is recommended to add to RSS 2.0. I am wondering if there is any Rome module available to add this tag? Like what they developed for content, media, etc.
Afshin Moazami
  • 2,092
  • 5
  • 33
  • 55
5
votes
1 answer

How to change Java ROME parser default socket timeout?

I am parsing a fair amount of RSS feeds in cascade using Java ROME as my XML parser. Sometimes one of the RSS feeds might be unreachable because of network issues, which results in a Socket timeout when trying to create the XMLReader object ( new…
Francesco
  • 315
  • 1
  • 3
  • 9
5
votes
3 answers

java.lang.ClassNotFoundException: org.jdom.JDOMException

I am getting the following error message when trying to load an rss page: Feb 16, 2013 9:08:44 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [news-feed] in context with path [/publisher] threw…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
1
2 3
9 10