1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
package Catmandu::Zotero;
our $VERSION = '0.07';
1;
__END__
=head1 NAME
Catmandu::Zotero - Catmandu modules for working with Zotero web
=begin markdown
# STATUS
[](https://travis-ci.org/LibreCat/Catmandu-Zotero)
[](https://coveralls.io/r/LibreCat/Catmandu-Zotero)
[](http://cpants.cpanauthors.org/dist/Catmandu-Zotero)
=end markdown
=head1 SYNOPSIS
# From the command line
$ catmandu convert Zotero --userID <userID> to JSON
$ catmandu convert Zotero --groupID <groupID> to JSON
# From Perl
use Catmandu;
my $importer = Catmandu->importer('Zotero', userID => '...');
$importer->each(sub {
my $item = shift;
print "%s %s\n", $item->{_id} , $item->{title}->[0];
});
=head1 MODULES
=over
=item * L<Catmandu::Importer::Zotero>
=back
=head1 EXAMPLES
See L<https://github.com/LibreCat/Catmandu-Zotero/tree/master/example/zotero_marc.fix> for an
use case how to transform a Zotero library into a MARCXML dump:
$ catmandu convert Zotero --groupID <key> to MARC --type XML --fix zotero.fix
=head1 AUTHOR
Patrick Hochstenbach, C<patrick.hochstenbach at ugent.be>
=head2 CONTRIBUTORS
Jakob Voss, C<voss at gbv.de>
=head1 LICENSE AND COPYRIGHT
Copyright 2015 Patrick Hochstenbach
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
=cut
|