File: yazgfs.xml

package info (click to toggle)
yaz 5.27.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,184 kB
  • sloc: xml: 123,414; ansic: 72,530; sh: 5,007; tcl: 2,169; makefile: 1,321; yacc: 382
file content (54 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download | duplicates (3)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
<!-- sample YAZ GFS config file .. see 
  http://www.indexdata.com/yaz/doc/server.vhosts.html -->
<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>
     <client_query_charset>iso-8859-1</client_query_charset>
     <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>
       <retrieval syntax="xml" name="OP1">
         <backend syntax="opac" name="F">
	   <marc inputformat="marc" outputformat="marcxml"
		 inputcharset="marc-8" outputcharset="utf-8"/>
	 </backend>
       </retrieval>
       <retrieval syntax="opac" name="OP2">
         <backend syntax="opac" name="F">
	   <marc inputformat="marc" outputformat="marcxml"
		 inputcharset="marc-8" outputcharset="utf-8"/>
	 </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>