Skip Menu |

This queue is for tickets about the POE-Component-RSSAggregator CPAN distribution.

Report information
The Basics
Id: 32964
Status: resolved
Priority: 0/
Queue: POE-Component-RSSAggregator

People
Owner: Nobody in particular
Requestors: azatoth [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: avoid spam
Date: Wed, 6 Feb 2008 15:46:13 +0100
To: bug-poe-component-rssaggregator [...] rt.cpan.org
From: "Carl Fürstenberg" <azatoth [...] gmail.com>
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? -- /Carl Fürstenberg <azatoth@gmail.com>
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