<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parsing RSS and Atom with ROME, easier is impossible</title>
	<atom:link href="http://technology.amis.nl/2006/04/27/parsing-rss-and-atom-with-rome-easier-is-impossible/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/04/27/parsing-rss-and-atom-with-rome-easier-is-impossible/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=parsing-rss-and-atom-with-rome-easier-is-impossible</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: ray</title>
		<link>http://technology.amis.nl/2006/04/27/parsing-rss-and-atom-with-rome-easier-is-impossible/#comment-3162</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Wed, 05 Sep 2007 20:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1165#comment-3162</guid>
		<description><![CDATA[Hi,
I am kind of new to RSS, ROMe and Maven2.
I already set up maven 2 but to use Rome only there is an old document related to maven 1 on the java.net.
I copied the rome dependency in pom.xml and put rome-0.9.jar and jdom.jar in WEB_INF/lib.
Now to parse any rss feed would you tell me where I should put this snippet:

SyndFeedInput sfi=new SyndFeedInput();

URL url=new URL(&quot;http://images.apple.com/trailers/rss/newtrailers.rss&quot;);

SyndFeed feed = sfi.build(new XmlReader(url));

List entries = feed.getEntries();

for (SyndEntry entry:entries){

    System.out.println(entry.getTitle());

}

Should it be in a java file or in jsp?

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am kind of new to RSS, ROMe and Maven2.<br />
I already set up maven 2 but to use Rome only there is an old document related to maven 1 on the java.net.<br />
I copied the rome dependency in pom.xml and put rome-0.9.jar and jdom.jar in WEB_INF/lib.<br />
Now to parse any rss feed would you tell me where I should put this snippet:</p>
<p>SyndFeedInput sfi=new SyndFeedInput();</p>
<p>URL url=new URL(&#8220;http://images.apple.com/trailers/rss/newtrailers.rss&#8221;);</p>
<p>SyndFeed feed = sfi.build(new XmlReader(url));</p>
<p>List entries = feed.getEntries();</p>
<p>for (SyndEntry entry:entries){</p>
<p>    System.out.println(entry.getTitle());</p>
<p>}</p>
<p>Should it be in a java file or in jsp?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Chanezon</title>
		<link>http://technology.amis.nl/2006/04/27/parsing-rss-and-atom-with-rome-easier-is-impossible/#comment-3161</link>
		<dc:creator>Patrick Chanezon</dc:creator>
		<pubDate>Tue, 02 May 2006 04:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1165#comment-3161</guid>
		<description><![CDATA[Thanks for the kind words Jeroen. Don&#039;t miss Mano, that Alejandro released yesterday.
http://wiki.java.net/bin/view/Javawsxml/RomeMano

P@]]></description>
		<content:encoded><![CDATA[<p>Thanks for the kind words Jeroen. Don&#8217;t miss Mano, that Alejandro released yesterday.<br />
<a href="http://wiki.java.net/bin/view/Javawsxml/RomeMano" rel="nofollow">http://wiki.java.net/bin/view/Javawsxml/RomeMano</a></p>
<p>P@</p>
]]></content:encoded>
	</item>
</channel>
</rss>
