1OAI_PMH(1) User Contributed Perl Documentation OAI_PMH(1)
2
3
4
6 oai_pmh.pl - pipe OAI-PMH to the command-line
7
9 oai_pmh.pl <options> [baseURL]
10
12 --help
13 --man
14 --verbose
15 Be more verbose (repeatable).
16
17 --force Force a non-conformant OAI request.
18
19 --from <ISO datetime>
20 --identifier <identifier>
21 OAI identifier to GetRecord or ListMetadataFormats.
22
23 --metadataPrefix <mdp>
24 Specify format of metadata to retrieve.
25
26 -X/--request <command>
27 Verb to request, defaults to ListRecords.
28
29 --set <oai set>
30 Request only those records in a set.
31
32 --until <ISO datetime>
33
35 Retrieve data from OAI-PMH endpoints. The output format is:
36
37 <headers>
38
39 <content>
40 <FORMFEED>
41
42 Where <headers> are in HTTP header format. Content will be the raw XML
43 as exposed by the repository. Each record is separated by a FORMFEED
44 character.
45
46 For example:
47
48 oai_pmh.pl -X GetRecord --metadataPrefix oai_dc \
49 --identifier oai:eprints.soton.ac.uk:20 http://eprints.soton.ac.uk/cgi/oai2
50
51
52
53perl v5.32.1 2021-01-27 OAI_PMH(1)