2 <!-- $Id: voyager.xml,v 1.5 2005-02-22 10:08:19 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>
33 <!-- use attributes -->
34 <attribute type="1" value="1-11,13-1010,1013-1023,1025-1030"/>
35 <attribute type="1" value="*" error="114"/>
37 <!-- relation attributes -->
38 <attribute type="2" value="1,2,3,4,5,6"/>
39 <attribute type="2" value="*" error="117"/>
41 <!-- position attributes -->
42 <attribute type="3" value="1,2,3"/>
43 <attribute type="3" value="*" error="119"/>
45 <!-- structure attributes -->
46 <attribute type="4" value="1,2,3,4,5,6"/>
47 <attribute type="4" value="*" error="118"/>
49 <!-- truncation attributes -->
50 <attribute type="5" value="1,100"/>
51 <attribute type="5" value="*" error="120"/>
53 <!-- completeness attributes -->
54 <attribute type="6" value="1,2,3"/>
55 <attribute type="6" value="*" error="122"/>
58 <attribute type="*" value="*" error="113"/>
60 <!-- list allowed record syntaxes and possible schemas (if any);
61 reject all others at the end -->
63 <syntax type="usmarc"/>
64 <syntax type="none" backendtype="usmarc"/>
66 <syntax type="xml" marcxml="1"
67 identifier="info:srw/schema/1/marcxml-v1.1"
69 <title>MARCXML</title>
72 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
73 identifier="info:srw/schema/1/dc-v1.1"
75 <title>Dublin Core</title>
78 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
79 identifier="http://www.loc.gov/mods"
81 <title>MODS v2</title>
84 <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
85 identifier="info:srw/schema/1/mods-v3.0"
87 <title>MODS v3</title>
92 <syntax type="xml" marcxml="1" backendtype="opac"
93 identifier="info:srw/schema/1/opacxml-v1.0"
95 <title>OPACXML</title>
99 <syntax type="*" error="238"/>
101 <!-- keep this number of spare sessions for future sessions -->
104 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
106 <host>indexdata.dk</host>
108 <database>voyager</database>
112 <title>LoC gateway</title>
113 <description lang="en" primary="true">
114 SRW/SRU/Z39.50 Gateway to Library of Congress' Z39.50 server
119 <set identifier="info:srw/cql-context-set/1/cql-v1.1"
121 <set identifier="info:srw/cql-context-set/1/dc-v1.1"
123 <set identifier="http://zing.z3950.org/cql/bath/2.0/"
128 <map><name set="dc">title</name></map>
131 <title>subject</title>
132 <map><name set="dc">subject</name></map>
135 <title>creator</title>
136 <map><name set="dc">creator</name></map>
137 <map><name set="dc">author</name></map>
141 <title>editor</title>
142 <map><name set="dc">editor</name></map>
146 <title>publisher</title>
147 <map><name set="dc">publisher</name></map>
151 <title>description</title>
152 <map><name set="dc">description</name></map>
157 <map><name set="dc">date</name></map>
162 <map><name set="bath">name</name></map>
167 <map><name set="bath">isbn</name></map>
171 <map><name set="bath">issn</name></map>
176 <schema identifier="info:srw/schema/1/marcxml-v1.1"
177 sort="false" name="marcxml">
178 <title>MARCXML</title>
181 <schema identifier="info:srw/schema/1/dc-v1.1"
182 sort="false" name="dc">
183 <title>Dublin Core</title>
186 <schema identifier="http://www.loc.gov/mods"
187 sort="false" name="mods2">
188 <title>MODS v2</title>
191 <schema identifier="info:srw/schema/1/mods-v3.0"
192 sort="false" name="mods">
193 <title>MODS v3</title>
199 <default type="numberOfRecords">0</default>
202 <cql2rpn>pqf.properties</cql2rpn>
206 <!-- maximum number of client sessions. Remember to allow for
207 at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->
208 <max-clients>500</max-clients>
210 <!-- what we log. Allowed tokens: client-apdu, server-apdu,
211 client-requests, server-requests -->
212 <log>client-requests server-requests</log>