XML::Feed::Deduper - remove duplicated entries from feed
use XML::Feed;
use XML::Feed::Deduper;
my $feed = XML::Feed->parse($content);
my $deduper = XML::Feed::Deduper->new(
path => '/tmp/foo.db',
);
for my $entry ($deduper->dedup($feed->entries)) {
# only new entries come here!
}
XML::Feed::Deduper is deduper for XML::Feed.
You can write the aggregator more easily :)
The concept is stolen from Plagger::Rule::Deduper.
Enjoy!
This module is still in its beta quality.
your base are belongs to us!
Tokuhiro Matsuno [email protected]
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.