SYNOPSIS
use Catmandu::Importer::Atom;
my $importer = Catmandu::Importer::Atom->new(url => "...");
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});
DATA MODEL
Each parsed Atom entry is transformed into a hash ref:
{ id => '...' , title => '...' , published => '...' , updated => '...' , summary => '...' , rights => '...' , content => { mode => '...' , type => '...' , body => '...' , } , author => { name => '...' , email => '...' , uri => '...' , homepage => '...' , } , contributor => { name => '...' , email => '...' , uri => '...' , homepage => '...' , } , category => [ { term => '...' , label => '...' , scheme => '....' } , ], link => [ { rel => '...' , href => '...' , hreflang => '...' , title => '...' , type => '...' , length => '...'} , ], <<all other elements are added as name-value pairs>> }