2 <!-- $Id: voyager.xml,v 1.8 2006-04-06 17:23:14 adam Exp $ -->
3 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
7 <!-- define default target and name it voyager -->
8 <target default="1" name="voyager">
9 <!-- all backend addresses as seen from this proxy .. -->
10 <url>z3950.loc.gov:7090</url>
12 <!-- set session timeout between proxy and backend target -->
13 <target-timeout>300</target-timeout>
15 <!-- set session timeout between client and proxy.
16 Should be lower than target-timeout -->
17 <client-timeout>180</client-timeout>
19 <!-- if either bandwidth or pdu limit is reached the session is no
22 <bandwidth>500000</bandwidth>
26 <!-- client limits .. -->
28 <bandwidth>200000</bandwidth>
30 <retrieve>50</retrieve>
34 <!-- use attributes -->
35 <attribute type="1" value="1-11,13-1010,1013-1023,1025-1030"/>
36 <attribute type="1" value="*" error="114"/>
38 <!-- relation attributes -->
39 <attribute type="2" value="1,2,3,4,5,6"/>
40 <attribute type="2" value="*" error="117"/>
42 <!-- position attributes -->
43 <attribute type="3" value="1,2,3"/>
44 <attribute type="3" value="*" error="119"/>
46 <!-- structure attributes -->
47 <attribute type="4" value="1,2,3,4,5,6"/>
48 <attribute type="4" value="*" error="118"/>
50 <!-- truncation attributes -->
51 <attribute type="5" value="1,100"/>
52 <attribute type="5" value="*" error="120"/>
54 <!-- completeness attributes -->
55 <attribute type="6" value="1,2,3"/>
56 <attribute type="6" value="*" error="122"/>
59 <attribute type="*" value="*" error="113"/>
61 <!-- list allowed record syntaxes and possible schemas (if any);
62 reject all others at the end -->
64 <syntax type="usmarc"/>
65 <syntax type="none" backendtype="usmarc"/>
67 <syntax type="xml" marcxml="1"
68 identifier="info:srw/schema/1/marcxml-v1.1"
70 <title>MARCXML</title>
73 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
74 identifier="info:srw/schema/1/dc-v1.1"
76 <title>Dublin Core</title>
79 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
80 identifier="http://www.loc.gov/mods"
82 <title>MODS v2</title>
85 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
86 identifier="info:srw/schema/1/mods-v3.0"
88 <title>MODS v3</title>
93 <syntax type="xml" marcxml="1" backendtype="opac"
94 identifier="info:srw/schema/1/opacxml-v1.0"
96 <title>OPACXML</title>
100 <syntax type="*" error="238"/>
102 <!-- keep this number of spare sessions for future sessions -->
105 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
107 <host>indexdata.dk</host>
109 <database>voyager</database>
113 <title>LoC gateway</title>
114 <description lang="en" primary="true">
115 SRW/SRU/Z39.50 Gateway to Library of Congress' Z39.50 server
120 <set identifier="info:srw/cql-context-set/1/cql-v1.1"
122 <set identifier="info:srw/cql-context-set/1/dc-v1.1"
124 <set identifier="http://zing.z3950.org/cql/bath/2.0/"
129 <map><name set="dc">title</name></map>
132 <title>subject</title>
133 <map><name set="dc">subject</name></map>
136 <title>creator</title>
137 <map><name set="dc">creator</name></map>
138 <map><name set="dc">author</name></map>
142 <title>editor</title>
143 <map><name set="dc">editor</name></map>
147 <title>publisher</title>
148 <map><name set="dc">publisher</name></map>
152 <title>description</title>
153 <map><name set="dc">description</name></map>
158 <map><name set="dc">date</name></map>
163 <map><name set="bath">name</name></map>
168 <map><name set="bath">isbn</name></map>
172 <map><name set="bath">issn</name></map>
177 <schema identifier="info:srw/schema/1/marcxml-v1.1"
178 sort="false" name="marcxml">
179 <title>MARCXML</title>
182 <schema identifier="info:srw/schema/1/dc-v1.1"
183 sort="false" name="dc">
184 <title>Dublin Core</title>
187 <schema identifier="http://www.loc.gov/mods"
188 sort="false" name="mods2">
189 <title>MODS v2</title>
192 <schema identifier="info:srw/schema/1/mods-v3.0"
193 sort="false" name="mods">
194 <title>MODS v3</title>
200 <default type="numberOfRecords">0</default>
203 <cql2rpn>pqf.properties</cql2rpn>
207 <!-- maximum number of client sessions. Remember to allow for
208 at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->
209 <max-clients>500</max-clients>
211 <!-- what we log. Allowed tokens: client-apdu, server-apdu,
212 client-requests, server-requests -->
213 <log>client-requests server-requests</log>
214 <!-- <xlog></xlog> -->
215 <max-connect>10</max-connect>
216 <limit-connect>5</limit-connect>
217 <docpath>doc</docpath>