| 1 |
NAME |
| 2 |
|
| 3 |
Catmandu::Atom - modules for working with Atom feeds |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
|
| 7 |
# From the command line |
| 8 |
catmandu convert Atom --url http://my.host.org/feed.atom to JSON |
| 9 |
|
| 10 |
# From Perl |
| 11 |
|
| 12 |
use Catmandu; |
| 13 |
|
| 14 |
my $importer = Catmandu->importer('Atom', url => 'http://my.host.org/feed.atom'); |
| 15 |
|
| 16 |
$importer->each(sub { |
| 17 |
my $entry = shift; |
| 18 |
|
| 19 |
printf "%s\n" , $entry->{title}; |
| 20 |
}); |
| 21 |
|
| 22 |
MODULES |
| 23 |
|
| 24 |
* Catmandu::Exporter::Atom |
| 25 |
|
| 26 |
* Catmandu::Importer::Atom |
| 27 |
|
| 28 |
AUTHOR |
| 29 |
|
| 30 |
Nicolas Steenlant, <nicolas.steenlant at ugent.be> |
| 31 |
|
| 32 |
CONTRIBUTOR |
| 33 |
|
| 34 |
Vitali Peil, <vitali.peil at uni-bielefeld.de> Nicolas Franck, |
| 35 |
<nicolas.franck at ugent.be> |
| 36 |
|
| 37 |
MAINTAINER |
| 38 |
|
| 39 |
Patrick Hochstenbach, <patrick.hochstenbach at ugent.be> |
| 40 |
|