2 <!-- $Id: voyager.xml,v 1.12 2004-02-23 12:55:02 adam Exp $ -->
4 <!-- define default target and name it voyager -->
5 <target default="1" name="voyager">
6 <!-- all backend addresses as seen from this proxy .. -->
7 <url>z3950.loc.gov:7090</url>
9 <!-- set session timeout between proxy and backend target -->
10 <target-timeout>300</target-timeout>
12 <!-- set session timeout between client and proxy.
13 Should be lower than target-timeout -->
14 <client-timeout>180</client-timeout>
16 <!-- if either bandwidth or pdu limit is reached the session is no
19 <bandwidth>500000</bandwidth>
23 <!-- client limits .. -->
25 <bandwidth>200000</bandwidth>
27 <retrieve>50</retrieve>
30 <!-- use attributes -->
31 <attribute type="1" value="1-11,13-1010,1013-1023,1025-1030"/>
32 <attribute type="1" value="*" error="114"/>
34 <!-- relation attributes -->
35 <attribute type="2" value="1,2,3,4,5,6"/>
36 <attribute type="2" value="*" error="117"/>
38 <!-- position attributes -->
39 <attribute type="3" value="1,2,3"/>
40 <attribute type="3" value="*" error="119"/>
42 <!-- structure attributes -->
43 <attribute type="4" value="1,2,3,4,5,6"/>
44 <attribute type="4" value="*" error="118"/>
46 <!-- truncation attributes -->
47 <attribute type="5" value="1,100"/>
48 <attribute type="5" value="*" error="120"/>
50 <!-- completeness attributes -->
51 <attribute type="6" value="1,2,3"/>
52 <attribute type="6" value="*" error="122"/>
55 <attribute type="*" value="*" error="113"/>
57 <!-- list allowed record syntaxes and possible schemas (if any);
58 reject all others at the end -->
60 <syntax type="usmarc"/>
63 <syntax type="xml" marcxml="1"
64 identifier="info:srw/schema/1/marcxml-v1.1"
66 <title>MARCXML</title>
69 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
70 identifier="info:srw/schema/1/dc-v1.1"
72 <title>Dublin Core</title>
75 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
76 identifier="http://www.loc.gov/mods"
78 <title>MODS v2</title>
81 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
82 identifier="info:srw/schema/1/mods-v3.0"
84 <title>MODS v3</title>
88 <syntax type="*" error="238"/>
90 <!-- keep this number of spare sessions for future sessions -->
93 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
95 <host>indexdata.dk</host>
97 <database>voyager</database>
101 <title>LoC gateway</title>
102 <description lang="en" primary="true">
103 SRW/SRU/Z39.50 Gateway to Library of Congress' Z39.50 server
108 <set identifier="http://www.loc.gov/zing/cql/context-sets/cql/v1.1/"
110 <set identifier="http://www.loc.gov/zing/cql/dc-indexes/v1.0/"
112 <set identifier="http://www.loc.gov/zing/cql/context-sets/bath/v1.1/"
117 <map><name set="dc">title</name></map>
120 <title>subject</title>
121 <map><name set="dc">subject</name></map>
124 <title>creator</title>
125 <map><name set="dc">creator</name></map>
126 <map><name set="dc">author</name></map>
130 <title>editor</title>
131 <map><name set="dc">editor</name></map>
135 <title>publisher</title>
136 <map><name set="dc">publisher</name></map>
140 <title>description</title>
141 <map><name set="dc">description</name></map>
146 <map><name set="dc">date</name></map>
151 <map><name set="bath">name</name></map>
156 <map><name set="bath">isbn</name></map>
160 <map><name set="bath">issn</name></map>
165 <schema identifier="info:srw/schema/1/marcxml-v1.1"
166 sort="false" name="marcxml">
167 <title>MARCXML</title>
170 <schema identifier="info:srw/schema/1/dc-v1.1"
171 sort="false" name="dc">
172 <title>Dublin Core</title>
175 <schema identifier="info:srw/schema/1/mods-v3.0"
176 sort="false" name="mods">
182 <cql2rpn>pqf.properties</cql2rpn>
186 <!-- maximum number of client sessions. Remember to allow for
187 at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->
188 <max-clients>500</max-clients>
190 <!-- what we log. Allowed tokens: client-apdu, server-apdu,
191 client-requests, server-requests -->
192 <log>client-requests server-requests</log>