-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.example.xml
38 lines (37 loc) · 1.68 KB
/
config.example.xml
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
<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns="http://github.com/wimmuskee/shell-harvester/">
<!-- default record save location -->
<recordpath>/var/db/oaiharvester</recordpath>
<!-- temporary files are stored here -->
<temppath>/tmp/oaiharvester</temppath>
<!-- location of log file -->
<logfile>/tmp/oaiharvester-log.csv</logfile>
<!-- store datestamp and identifier for each record found -->
<!-- <recordlogfile>/tmp/oaiharvester-recordlog.csv</recordlogfile> -->
<!-- options for the curl command -->
<curlopts>--retry 5 --silent --limit-rate 200k --user-agent "shell-oaiharvester"</curlopts>
<!-- command to execute before delete -->
<!-- <deletecmd>updateMyDatabase.sh ${path}</deletecmd> -->
<!-- command to execute after update -->
<!-- <updatecmd>echo ${identifier} >> /tmp/harvested.txt</updatecmd> -->
<repository id="repository_id">
<baseurl>http://example.org/oaiprovider</baseurl>
<metadataprefix>lom</metadataprefix>
<set>test</set>
<!-- By default the harvesting starts from Identify earliestDatestamp,
use this only for debugging purposes. -->
<from>2012-02-29</from>
<until>2012-03-01</until>
<!-- <resumptiontoken>lom-10</resumptiontoken> -->
<conditional>only-context-po.xsl</conditional>
<recordpath>/tmp/records/repository_id</recordpath>
<!-- command to execute before delete -->
<!-- <deletecmd>updateMyDatabase.sh ${path}</deletecmd> -->
<!-- command to execute after update -->
<!-- <updatecmd>echo ${identifier} >> /tmp/harvested.txt</updatecmd> -->
<!-- repository curl options overrides common options -->
<!-- <curlopts></curlopts> -->
<!-- <username>test</username> -->
<!-- <password>123</password> -->
</repository>
</config>