<?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: Reading/Parsing RSS feed using ROME</title>
	<atom:link href="http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/feed" rel="self" type="application/rss+xml" />
	<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html</link>
	<description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description>
	<lastBuildDate>Sun, 14 Mar 2010 11:27:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erik</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11807</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 18 Dec 2009 03:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11807</guid>
		<description>Sorry &#039;bout that. the solution was to load jdom lib, nothing wrong with example.
Jnew: that should solve your problem aswell</description>
		<content:encoded><![CDATA[<p>Sorry &#8217;bout that. the solution was to load jdom lib, nothing wrong with example.<br />
Jnew: that should solve your problem aswell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11806</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Fri, 18 Dec 2009 02:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11806</guid>
		<description>Rome 1.0 doesn&#039;t have a build method who takes a XmlReader.  this tutorial needs to be updated.</description>
		<content:encoded><![CDATA[<p>Rome 1.0 doesn&#8217;t have a build method who takes a XmlReader.  this tutorial needs to be updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11709</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Fri, 27 Nov 2009 00:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11709</guid>
		<description>you may want to look at vtd-xml, the latest and most advanced xml processing api

&lt;a href=&quot;http://vtd-xml.sf.net&quot; rel=&quot;nofollow&quot;&gt;vtd-xml&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>you may want to look at vtd-xml, the latest and most advanced xml processing api</p>
<p><a href="http://vtd-xml.sf.net" rel="nofollow">vtd-xml</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jnew</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11687</link>
		<dc:creator>Jnew</dc:creator>
		<pubDate>Fri, 20 Nov 2009 17:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11687</guid>
		<description>generates this error why?

Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/jdom/input/JDOMParseException
        at com.sun.syndication.io.SyndFeedInput.(SyndFeedInput.java:58)
        at com.sun.syndication.io.SyndFeedInput.(SyndFeedInput.java:48)
        at feedrss.Main.main(Main.java:27)
Caused by: java.lang.ClassNotFoundException: org.jdom.input.JDOMParseException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 3 more
Java Result: 1</description>
		<content:encoded><![CDATA[<p>generates this error why?</p>
<p>Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: org/jdom/input/JDOMParseException<br />
        at com.sun.syndication.io.SyndFeedInput.(SyndFeedInput.java:58)<br />
        at com.sun.syndication.io.SyndFeedInput.(SyndFeedInput.java:48)<br />
        at feedrss.Main.main(Main.java:27)<br />
Caused by: java.lang.ClassNotFoundException: org.jdom.input.JDOMParseException<br />
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)<br />
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)<br />
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)<br />
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)<br />
        &#8230; 3 more<br />
Java Result: 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viral Patel</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11305</link>
		<dc:creator>Viral Patel</dc:creator>
		<pubDate>Sat, 05 Sep 2009 14:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11305</guid>
		<description>Hi Bradford, I suggest you to validate the xml before you parsing it using ROME. Check the source RSS and see if it does not contain any error. There are online tools to validate RSS. Search on Google and you will get lot of such online utilities.</description>
		<content:encoded><![CDATA[<p>Hi Bradford, I suggest you to validate the xml before you parsing it using ROME. Check the source RSS and see if it does not contain any error. There are online tools to validate RSS. Search on Google and you will get lot of such online utilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bradford cross</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-11302</link>
		<dc:creator>bradford cross</dc:creator>
		<pubDate>Sat, 05 Sep 2009 11:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-11302</guid>
		<description>I treid your example and got:

Invalid XML: Error on line 10: The element type &quot;META&quot; must be terminated by the matching end-tag &quot;&quot;.
  [Thrown class com.sun.syndication.io.ParsingFeedException]</description>
		<content:encoded><![CDATA[<p>I treid your example and got:</p>
<p>Invalid XML: Error on line 10: The element type &#8220;META&#8221; must be terminated by the matching end-tag &#8220;&#8221;.<br />
  [Thrown class com.sun.syndication.io.ParsingFeedException]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dinesh</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-9959</link>
		<dc:creator>dinesh</dc:creator>
		<pubDate>Mon, 13 Jul 2009 13:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-9959</guid>
		<description>It worked. Thank you very much</description>
		<content:encoded><![CDATA[<p>It worked. Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viral Patel</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-9946</link>
		<dc:creator>Viral Patel</dc:creator>
		<pubDate>Mon, 13 Jul 2009 08:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-9946</guid>
		<description>Hi Dinesh,
You can set User-Agent of your http request to any of the bot&#039;s user-agent so that Google treat it as a bot. To change the user agent of request use XmlReader(java.net.URLConnection conn) constructor of XmlReader class. Pass the conn object which has the user agent set to proper value.
conn.setRequestProperty(”User-Agent”,”whateveryouwant”);

Hope this works</description>
		<content:encoded><![CDATA[<p>Hi Dinesh,<br />
You can set User-Agent of your http request to any of the bot&#8217;s user-agent so that Google treat it as a bot. To change the user agent of request use XmlReader(java.net.URLConnection conn) constructor of XmlReader class. Pass the conn object which has the user agent set to proper value.<br />
conn.setRequestProperty(”User-Agent”,”whateveryouwant”);</p>
<p>Hope this works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dinesh</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-9945</link>
		<dc:creator>dinesh</dc:creator>
		<pubDate>Mon, 13 Jul 2009 08:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-9945</guid>
		<description>Hay, i have an error reading the RSS feeds which are generated from google groups. I guess google is blocking requests from other applications than the browsers. Can you please help me on this</description>
		<content:encoded><![CDATA[<p>Hay, i have an error reading the RSS feeds which are generated from google groups. I guess google is blocking requests from other applications than the browsers. Can you please help me on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viral Patel</title>
		<link>http://viralpatel.net/blogs/2009/04/reading-parsing-rss-feed-using-rome.html/comment-page-1#comment-9321</link>
		<dc:creator>Viral Patel</dc:creator>
		<pubDate>Sun, 28 Jun 2009 11:15:03 +0000</pubDate>
		<guid isPermaLink="false">http://viralpatel.net/blogs/?p=1192#comment-9321</guid>
		<description>you welcome Venkatesan.. :)</description>
		<content:encoded><![CDATA[<p>you welcome Venkatesan.. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
