I would like to create a RSS file using Camel, i.e. route multiple messages
in an asynchonious way (and possibly from multiple sources) to a file as RSS
items.

Problem is that the RSS file has the format;

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

<channel>
<title>RSS Example</title>
<description>This is an example of an RSS feed</description>
<link>http://www.domain.com/link.htm</link>
<lastBuildDate>Mon, 28 Aug 2006 11:12:55 -0400 </lastBuildDate>
<pubDate>Tue, 29 Aug 2006 09:00:00 -0400</pubDate>

<item>
<title>Item Example</title>
<description>This is an example of an Item</description>
<link>http://www.domain.com/link.htm</link>
<guid isPermaLink="false"> 1102345</guid>
<pubDate>Tue, 29 Aug 2006 09:00:00 -0400</pubDate>
</item>

+ Here new items should be added!

</channel>
</rss>


In other words I need to add items to the middle of an existing file.
Looking at the file component, this does not seem possible at default...?
-- 
View this message in context: 
http://www.nabble.com/Creating-a-file-in-RSS-feed-format-tp20670349s22882p20670349.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to