Updated for YAZ 1.7. HTML output tidy up. Added LOC target.
[egate.git] / www / ztargets.conf
1 # $Id: ztargets.conf,v 1.39 2001/02/26 14:32:36 adam Exp $
2 #
3 # This file contains the predefined targets in the WWW-Z39.50 gateway
4 # Each target is an entry in the associative array "targets". The
5 # targets array is indexed by a hostname followed by slash (/) and a
6 # a list of databases.
7 # slash (/).
8
9 # Each entry consists of 6 fields. They are:
10 #  1      Short-hand notaton for the target/database. Specify whatever you
11 #         think is appropriate.
12 #  2      Preferred record syntax - USMARC/UKMARC/SUTRS, etc..
13 #  3      Search fields and their mapping to Bib-1
14 #  4      Authentication string; an empty string indicates
15 #         "no authentication".
16 #  5      A longer description of the target/databases and what data the
17 #         server offers
18 #  6      Flag that indicates whether the target support B/F element
19 #         specifications. Use 1 for true; 0 for false.
20
21 # This is a list of common fields used by some of the targets (frankly, we
22 # have little or no idea of what attributes the targets support).
23 set commonFields {
24  { Title {@attr 1=4} }
25  { Author {@attr 1=1} }
26  { Abstract {@attr 1=62} }
27  { Date {@attr 1=30} }
28  { {Doc ID} {@attr 1=1032} }
29  { All {@attr 1=1016} }
30 }
31
32 set locFields {
33  { Title {@attr 1=4} }
34  { Author {@attr 1=1} }
35  { Abstract {@attr 1=62} }
36  { Date {@attr 1=30} }
37  { {Doc ID} {@attr 1=1032} }
38 }
39
40 set targets(myriad.middlebury.edu/MIDCAT) {
41     Midcat
42     USMARC
43     { { Title {@attr 1=4} }
44       { Author {@attr 1=1003} }
45       { Abstract {@attr 1=62} }
46       { Date {@attr 1=30} }
47       { All {@attr 1=1016} }
48     }
49     {} 
50     {Middlebury College (DRA).} 
51     1
52     university
53 }
54
55 set targets(rlg.stanford.edu/SAM) [list \
56     RLG \
57     USMARC \
58     $locFields \
59     {} \
60     {Research Libraries group, Stanford University. Sample database} \
61     1 \
62     z39sample \
63 ]
64
65 set targets(z3950.bibsys.no:2100/BIBSYS) [list \
66     BIBSYS \
67     USMARC \
68     $commonFields \
69     {} \
70     {BIBSYS; Norway.} \
71     0 \
72     union \
73 ]
74
75 set targets(ir.dbc.bib.dk:2008/danbib) {
76     DanBib
77     DANMARC
78  {
79  { Title {@attr 1=4} }
80  { Author {@attr 1=1003} }
81  { Abstract {@attr 1=62} }
82  { Date {@attr 1=30} }
83  }
84     {}
85     {Danish Union Catalogue} 
86     0 
87     union
88 }
89
90 set targets(bagel.indexdata.dk:210/marc-gils) {
91     Zebra
92     USMARC
93  {
94  { Title {@attr 1=4} }
95  { Author {@attr 1=1003} }
96  { Abstract {@attr 1=62} }
97  { {Doc ID} {@attr 1=1032} }
98  { All {@attr 1=1016} }
99  { Free-text {@attr 1=1016 @attr 4=105} }
100  }
101     {}
102     {Zebra Z39.50 test server with GILS and MARC records <br>}
103     1
104     gils
105 }
106
107 set targets(z3950.research.att.com/books) [list \
108     {AT&T Server} \
109     USMARC \
110     $commonFields \
111     {} \
112     {AT&T book catalog, mainly IEEE} \
113     1 \
114     assorted \
115 ]
116
117 set targets(dranet.dra.com/drewdb) [list \
118     {Dranet} \
119     USMARC \
120     $commonFields \
121     {} \
122     {Sample database of 400,000 bibliographic records from Drew University} \
123     1 \
124     z39sample \
125 ]
126
127 set targets(libcat1.cc.emory.edu/UNICORN) [list \
128     Emory \
129     USMARC \
130     $commonFields \
131     {} \
132     {Emory University} \
133     0 \
134     assorted \
135 ]
136
137 set targets(161.253.225.10/UNICORN) [ list \
138     GWUW \
139     USMARC \
140     $locFields \
141     {} \
142     {George Washington University} \
143     0 \
144     assorted \
145 ]
146
147 set targets(z3950.loc.gov:7090/voyager) [ list \
148     LOCS \
149     {} \
150     $locFields \
151     {} \
152     {Library of Congress: Production file of monograph (book) records} \
153     1 \
154     union \
155 ]
156
157 set targets(199.92.147.99/Baystate) [list \
158     Baystate \
159     USMARC \
160     $commonFields \
161     {} \
162     {Baystate Medical Center} \
163     0 \
164     assorted \
165 ]
166
167 set targets(Tikal.dev.oclc.org/AGRICOLA) [list \
168     AGRICOLA \
169     USMARC \
170     $commonFields \
171     {} \
172     {OCLC-FirstSearch: AGRICOLA} \
173     1 \
174     union \
175 ]
176
177 set targets(z3950.research.att.com/z39dbs) {
178     Z39DB 
179     SUTRS
180   { All {} }
181     {}
182     {Server with description of other Z39.50 databases}
183     1
184     assorted
185 }
186
187 set targets(z3950.research.att.com/netlib) {
188     Netlib
189     SUTRS
190   { All {} }
191     {}
192     {Netlib server}
193     1
194     assorted
195 }
196
197 set targets(localhost:9999/Default) {
198     Ztest
199     USMARC
200  {
201  { Title {@attr 1=4} }
202  { Author {@attr 1=1003} }
203  { Abstract {@attr 1=62} }
204  { Date {@attr 1=30} }
205  { {Doc ID} {@attr 1=1032} }
206  { All {@attr 1=1016} }
207  { Free-text {@attr 1=1016 @attr 4=105} }
208  }
209     {}
210     {Z39.50 Test server on port 9999}
211     1
212     test
213 }
214
215 set groupsDescription(union)        {Union catalogues}
216 set groupsOrder(union)              10
217
218 set groupsDescription(university)   {Universities}
219 set groupsOrder(university)         11
220
221 set groupsDescription(nwi)          {Nordic Web Index servers}
222 set groupsOrder(nwi)                12
223
224 set groupsDescription(gils)         {Government Information Locators (GILS)}
225 set groupsOrder(gils)               13
226
227 set groupsDescription(assorted)     {Assorted servers}
228 set groupsOrder(assorted)           14
229
230 set groupsDescription(z39sample)    {Z39.50 Test sample servers}
231 set groupsOrder(z39sample)          99
232
233
234 set groupsDescription(test)         {Test servers}
235 set groupsOrder(test)               100
236
237 set groupsDescription(user)         {User defined servers}
238 set groupsOrder(user)               101
239