File: yazgfs.xml

package info (click to toggle)
yaz 3.0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,404 kB
  • ctags: 12,108
  • sloc: xml: 116,075; ansic: 52,205; sh: 9,746; tcl: 2,043; makefile: 1,141; yacc: 347
file content (41 lines) | stat: -rw-r--r-- 1,436 bytes parent folder | download | duplicates (4)
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
<!-- sample YAZ GFS config file .. see 
  http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
<yazgfs>
  <listen id="public1">tcp:@:9000</listen>
  <server id="server1" listenref="public1">
     <directory>.</directory> <!-- directory where backend is running -->
     <config>zebra.cfg</config>
     <cql2rpn>pqf.properties</cql2rpn>
     <docpath>xsl</docpath>
     <stylesheet>xsl/default.xsl</stylesheet>
     <maximumrecordsize>2000000</maximumrecordsize>
     <retrievalinfo>
       <retrieval syntax="xml" name="zebra::*"/>
       <retrieval syntax="sutrs" name="zebra::*"/>
       <retrieval syntax="usmarc" name="F"/>
       <retrieval syntax="usmarc" name="B"/>
       <retrieval syntax="xml" name="marcxml"
		  identifier="info:srw/schema/1/marcxml-v1.1">
         <backend syntax="usmarc" name="F">
	   <marc inputformat="marc" outputformat="marcxml"
		 inputcharset="marc-8"/>
	 </backend>
       </retrieval>
       <retrieval syntax="xml" name="dc">
         <backend syntax="usmarc" name="F">
	   <marc inputformat="marc" outputformat="marcxml"
		 inputcharset="marc-8"/>
           <xslt stylesheet="MARC21slim2DC.xsl"/>
	 </backend>
       </retrieval>
     </retrievalinfo>
     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
        <serverInfo>
           <host>myserver.org</host>
           <port>9000</port>
           <database>Default</database>
        </serverInfo>
    </explain>
  </server>
</yazgfs>