I think there is room for a good RssGenerator in cocoon because:

1) A rss feed that does not respond, and is trying to be fetched with a 
generator can make your site not-responding to anything anymore
2) A rss feed that is fetched from an external location with a generator is 
slow, and can't be cached

This is quite annoying, so normally, I just use a cron job within cocoon, 
saving the Rss "when valid response" to filesystem, and use this file. Bertrand 
mailed his solution in a thread some time ago [1].

What I would actually want, is a generator that:

1) fetches an external xml source, and can to configured to have a timeout 
(when it is the first get, the timeout should be larger then when it already 
has a version in cache)
2) caches the external source
3) can be configured to have an ttcg (time to conditional get). So, when I 
would configure 5 min, is serves cached Rss for 5 min, and then, on the next 
request, first does a conditional get [2].

The drawback of my solution, is that every 5 minutes, at least a conditional 
get is done for 1 request (though, the conditional get can have a connection 
time out which is quite short, in case the connection fails). I do not really 
like background tasks for this, but it might be more efficient. If people want 
this efficiency, they can still use cron jobs to achieve this in the pictured 
set up.

I am not sure what your DominoRSS is capable of doing. But it seems to me like 
a little much for an Rss Generator. One single pretty simple generator in 
cocoon should be capable of my wishes.

[1] http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=115201218106592&w=2
[2] http://fishbowl.pastiche.org/2002/10/21/http_conditional_get_for_rss_hackers


Regards Ard

When the proof-of-concept version of DominoRSS was ready i discovered the 
OpenSource project Apache Coocon and used its naming model in DominoRSS. 

Now I realize (or think) that DominoRSS is going where Coocon has already come. 

After reading the IBM article on integrating Apache Coocon and Domino I'm 
thinking of Cooconizing the hole project. 

The good parts with DominoRSS compared to Coocon is the tight integration with 
Domino. and that it can run in the Domino Server - I'm not sure that's dooable 
with Coocon!? 

Maybe DominoRSS should just be a derivate work of Coocon where the only thing 
added should be the Configuration database - so it's easy to configure DomioRSS 
- maybe it should be named DominoCoocon? 


Do you have an opinon on this? 
Pleas give me the feedback. 


Peter Närlund 
http://dominopatrol.net 

The IBM article - 
http://www-128.ibm.com/developerworks/lotus/library/ls-OpenSource/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to