On Wed Feb 06 11:33:36 2008, azatoth@gmail.com wrote:
Show quoted text> I have a problem where I'm posting news headlines into an irc channel,
> and I want to avoid spamming the channel with all the current
> headlines on start. Could it be possible to make an implementation to
> have the add_feed to default to all read?
Just uploaded XML::RSS::Feed v2.3 that provides a new method called
'init_headlines_seen'. I'll release a new version of
POE::Component::RSSAggregator soon with details on how to it incorporate
the new option. (upgrade to XML::RSS::Feed v2.3) and use the following
snippet as reference
my @feeds = (
{ url => "
http://www.jbisbee.com/rdf/",
name => "jbisbee",
delay => 10,
init_headlines_seen => 1,
},
{ url => "
http://lwn.net/headlines/rss",
name => "lwn",
delay => 300,
init_headlines_seen => 1,
},
);
Thanks for the bug report!
--
Jeff Bisbee / jbisbee@cpan.org