Read HTTP listener and proxy address from config file (-h and -p still override).
[pazpar2-moved-to-github.git] / etc / pazpar2.cfg.dist
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
3
4 <server>
5   <listen port="9004"/>
6   <proxy host="us1.indexdata.com"/>
7
8   <service>
9     <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
10     <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"/>
11     <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
12     <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
13   </service>
14 </server>
15
16 <!-- Need to figure out where to get ZeeRex records for targets from -->
17
18 <queryprofile/>  <!-- Like a CCL profile++ . Can optionally refer to XSLT to 
19        convert ZeeRex into queryprofile. Multiple profiles can exist.  -->
20
21 <retrievalprofile>
22   <requestsyntax>marc21</requestsyntax>
23   <nativesyntax name="iso2709" format="marc21" encoding="marc-8" mapto="marcxml"/>
24   <map type="xslt" stylesheet="marc21.xsl"/>
25 </retrievalprofile>
26
27 </pazpar2>