How do you create your websites' RSS feeds?

I run a script called createrss.pl as a cron job every hour which checks if there are any new stories and if so creates a new feed.rss file

I think this method takes up a lot of RAM and CPU power since it launches Perl every hour, but I can't think of anything better.

The other way I thought of (and rejected) was to have the web script that accepts a new story from the administrator, to also create the RSS file. But I rejected this because if two people might submit a story at the same time then the resulting RSS file might only contain one of them.

So, how do you do it?

- Kar


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to