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 <tokuhirom@gmail.com>
Plagger::Rule::Deduper
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install XML::Feed::Deduper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Feed::Deduper
CPAN shell
perl -MCPAN -e shell install XML::Feed::Deduper
For more information on module installation, please visit the detailed CPAN module installation guide.