| 1 |
NAME |
| 2 |
|
| 3 |
Catmandu::Zotero - Catmandu modules for working with Zotero web |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
|
| 7 |
# From the command line |
| 8 |
$ catmandu convert Zotero --userID <userID> to JSON |
| 9 |
$ catmandu convert Zotero --groupID <groupID> to JSON |
| 10 |
|
| 11 |
# From Perl |
| 12 |
use Catmandu; |
| 13 |
|
| 14 |
my $importer = Catmandu->importer('Zotero', userID => '...'); |
| 15 |
|
| 16 |
$importer->each(sub { |
| 17 |
my $item = shift; |
| 18 |
print "%s %s\n", $item->{_id} , $item->{title}->[0]; |
| 19 |
}); |
| 20 |
|
| 21 |
MODULES |
| 22 |
|
| 23 |
* Catmandu::Importer::Zotero |
| 24 |
|
| 25 |
EXAMPLES |
| 26 |
|
| 27 |
See |
| 28 |
https://github.com/LibreCat/Catmandu-Zotero/tree/master/example/zotero_ |
| 29 |
marc.fix for an use case how to transform a Zotero library into a |
| 30 |
MARCXML dump: |
| 31 |
|
| 32 |
$ catmandu convert Zotero --groupID <key> to MARC --type XML --fix zotero.fix |
| 33 |
|
| 34 |
AUTHOR |
| 35 |
|
| 36 |
Patrick Hochstenbach, patrick.hochstenbach at ugent.be |
| 37 |
|
| 38 |
CONTRIBUTORS |
| 39 |
|
| 40 |
Jakob Voss, voss at gbv.de |
| 41 |
|
| 42 |
LICENSE AND COPYRIGHT |
| 43 |
|
| 44 |
Copyright 2015 Patrick Hochstenbach |
| 45 |
|
| 46 |
This program is free software; you can redistribute it and/or modify it |
| 47 |
under the terms of either: the GNU General Public License as published |
| 48 |
by the Free Software Foundation; or the Artistic License. |
| 49 |
|
| 50 |
See http://dev.perl.org/licenses/ for more information. |
| 51 |
|