<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Generating RSS Feeds with Rome</title>
	<link>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/</link>
	<description>Thoughts to ponder..</description>
	<pubDate>Sat, 11 Feb 2012 18:33:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Alex</title>
		<link>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-812</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 27 Jan 2009 13:41:36 +0000</pubDate>
		<guid>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-812</guid>
		<description>Hi Deng,

I'm using ROME to update an XML file for my RSS feeds. If I wanted to go with the "generate by request" approach, do you just always add a fixed number of entries into the feed for each request? Or is there a way for knowing when the reader was last updated? 

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Deng,</p>
<p>I&#8217;m using ROME to update an XML file for my RSS feeds. If I wanted to go with the &#8220;generate by request&#8221; approach, do you just always add a fixed number of entries into the feed for each request? Or is there a way for knowing when the reader was last updated? </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rohit</title>
		<link>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-731</link>
		<dc:creator>Rohit</dc:creator>
		<pubDate>Wed, 31 Dec 2008 11:22:48 +0000</pubDate>
		<guid>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-731</guid>
		<description>You mentioned that:
&lt;code&gt;
Now, to publish your feed.. you can write it into a file (example, write it to rss.xml) which the feed reader checks for updates or &lt;b&gt;you can generate the feed by request (like how it is done in Archiva)&lt;/b&gt;. If you are publishing your feeds by writing it on a file, you might need to read the file into a SyndFeed before adding new entries as shown below:&lt;/code&gt;

If it is so, where do we place the code for generating the feed (RSS/Atom). Can I have a sample of any JSP file or can you be little elaborate on this?

I need to implement the same. Please help.</description>
		<content:encoded><![CDATA[<p>You mentioned that:<br />
<code><br />
Now, to publish your feed.. you can write it into a file (example, write it to rss.xml) which the feed reader checks for updates or <b>you can generate the feed by request (like how it is done in Archiva)</b>. If you are publishing your feeds by writing it on a file, you might need to read the file into a SyndFeed before adding new entries as shown below:</code></p>
<p>If it is so, where do we place the code for generating the feed (RSS/Atom). Can I have a sample of any JSP file or can you be little elaborate on this?</p>
<p>I need to implement the same. Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-384</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 26 Aug 2008 22:10:49 +0000</pubDate>
		<guid>http://blogs.exist.com/oching/2008/08/26/generating-rss-feeds-with-rome/#comment-384</guid>
		<description>Rome is a royal pain in the ass. It is the equivalent of using Java to build a HTML page, which has long been a stupid idea. If there is some extension to RSS/Atom that you want, you have to go find some extra library that implements it or implement it yourself.

A far far easier and more easily maintained solution is to just use Velocity templates. Pass in a context of your data objects and render the output via the template.

&lt;a href="http://lookfirst.com/2008/04/piclens.html" rel="nofollow"&gt;I also talk about it here&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Rome is a royal pain in the ass. It is the equivalent of using Java to build a HTML page, which has long been a stupid idea. If there is some extension to RSS/Atom that you want, you have to go find some extra library that implements it or implement it yourself.</p>
<p>A far far easier and more easily maintained solution is to just use Velocity templates. Pass in a context of your data objects and render the output via the template.</p>
<p><a href="http://lookfirst.com/2008/04/piclens.html" rel="nofollow">I also talk about it here</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

