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

Problem with charset and rome (rss/atom feeds)

I'm trying to create a feed aggregator using rome (1.0). Everything is working, but I'm facing problems with feed's charset. I'm developing it using java 1.6 over a mac os x (netbeans 6.9.1). I'm using the following code to retrieve…
Bob Rivers
  • 5,261
  • 6
  • 47
  • 59
4
votes
1 answer

How to create entries with image element in the RSS Feed using the java ROME API?

I am trying to create the RSS Feeds using java ROME API. My requirement is that every entry should contain an Image as given below:
priyank
  • 148
  • 3
  • 16
4
votes
2 answers

How to use ROME in Intellij?

How can I set up my project in Intellij to use the ROME library to read a RSS Feed? So far, I've developed the following: import com.sun.syndication.feed.synd.SyndFeed; import com.sun.syndication.io.SyndFeedInput; import…
Roy
  • 277
  • 1
  • 5
  • 17
4
votes
1 answer

RSS pubDate parsing with ROME

I wanted to give ROME a try to parse some feeds, when suddenly it was unable to parse some pubDate fields formatted as 2013-08-30 20:23:00 with a null result, but it was ok to format that type of fields Fri, 30 Aug 2013…
GheRa
  • 41
  • 1
  • 2
4
votes
1 answer

Unable to read image URL from feed using Rome API

I am using ROME parser to parse my RSS/Atom feeds. Now the problem is that it doesn't give image URL of the news feed/entry. Part of the problem is also because feeds are not consistent and they put image urls inconsistently. BBC news puts image url…
rai.skumar
  • 10,309
  • 6
  • 39
  • 55
4
votes
2 answers

Reading RSS feeds in java/rome: cannot access org.jdom.Document

I am trying to read RSS feed in java I am using ROME to read the feed, but getting an error cannot access org.jdom.Document class file for org.jdom.Document not found SyndFeed feed = new SyndFeedInput().build(reader); 1 error I have added the…
nasir
  • 43
  • 1
  • 1
  • 4
3
votes
1 answer

How to find the blog feed URL from the blog site programmatically

We use the following code to read a RSS | ATOM feed, is there a way to find the RSS | ATOM URL of a blog feed give the blog site (e.g. for http://my.typepad.com or http://occupylosangeles.org/). This should be similar to what google.com/reader…
priya
  • 24,861
  • 26
  • 62
  • 81
3
votes
1 answer

How do you go about getting the contents portion of an RSS feed with Rome and Scala?

I've been toying around with Rome 1.0 today with scala and while i've been able to get the title, description, etc tabs it says that getContent() doesn't exist. val url = "http://www.codecommit.com/blog/ruby/monads-are-not-metaphors/feed" val…
iAmDecim
  • 403
  • 4
  • 11
3
votes
1 answer

We can't download the rss lib `Rome` for Java now?

I'm looking for a java rss lib, and I found rome. But there is nothing can be downloaded now. What happened to this project? Where can I find it? Or is there any other good rss or atom libraries?
Freewind
  • 193,756
  • 157
  • 432
  • 708
3
votes
1 answer

Can not receive Data from RSS Feed in Java Spring

I want to receive Data from a RSS Feed in Java Spring with this code: package org.springframework.integration.samples.feed; import org.springframework.context.ConfigurableApplicationContext; import…
Benny
  • 87
  • 7
3
votes
3 answers

Using the Rome Java API to access metadata fields

I've been using the Rome API to parse data from an XML feed pretty successfully so for, but have run in to a bit of a snag. Given the following snippet of XML: uniqueId 2008-11-05T01:32:35Z
Nick
3
votes
1 answer

Get all RSS feed entries with Rome Library

i am using Rome library for Java to parse some RSS. By default it takes 25 entries. Tell me please, how to get next 25 entries? My test code is: public static SyndFeed getSyndFeedForUrl(String url) throws Exception { SyndFeed feed = null; …
Ilya Khudyakov
  • 301
  • 3
  • 15
3
votes
1 answer

How to return RSS with REST service?

I'm using ROME for RSS feed generating and Jersey as REST service. Here is my RSS feed generation. public SyndFeed generate() { SyndFeed feed = new SyndFeedImpl(); feed.setFeedType( "rss_2.0" ); feed.setTitle( "My Site" ); …
Alex
  • 161
  • 1
  • 3
  • 9
3
votes
1 answer

Media content tag missing from rss feed generated by Rome 1.0

I am trying to add some media content to my Rome 1.0 generated RSS feed. But the feed that generates is without my media content tags. I've been looking all over the Internet for answers but no site has really been helpful this far. How do I get my…
3
votes
2 answers

Parse custom rss tags using Rome API

I am trying to use Rome for parsing some rss feeds. One of the rss feeds says specifies 0.91 as the version and no custom xml namespace is defined but the entries still have a custom element in them. Can I use Rome to parse such custom tags without…
Neha
  • 71
  • 2
  • 11
1
2
3
9 10