Bug 24083: (follow-up) Squashed follow ups
[koha.git] / installer / data / mysql / en / optional / sample_z3950_servers.yml
1 ---
2 #
3 #  Copyright 2020 Koha Development Team
4 #
5 #  This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20 description:
21   - "Allow access to the following servers to search and download record information:"
22   - "LIBRARY OF CONGRESS"
23   - "LIBRARY OF CONGRESS NAMES (authority records)"
24   - "LIBRARY OF CONGRESS SUBJECTS (authority records)"
25   - "COLUMBIA UNIVERSITY"
26
27
28 tables:
29   - z3950servers:
30       translatable: [ servername ]
31       multiline: []
32       rows:
33         - host: "lx2.loc.gov"
34           port: 210
35           db: LCDB
36           userid: ""
37           password: ""
38           servername: "LIBRARY OF CONGRESS"
39           checked: 1
40           rank: 1
41           syntax: USMARC
42           encoding: utf8
43           recordtype: biblio
44
45         - host: "lx2.loc.gov"
46           port: 210
47           db: NAF
48           userid: ""
49           password: ""
50           servername: "LIBRARY OF CONGRESS NAMES"
51           checked: 1
52           rank: 1
53           syntax: USMARC
54           encoding: utf8
55           recordtype: authority
56
57         - host: "lx2.loc.gov"
58           port: 210
59           db: SAF
60           userid: ""
61           password: ""
62           servername: "LIBRARY OF CONGRESS SUBJECTS"
63           checked: 1
64           rank: 2
65           syntax: USMARC
66           encoding: utf8
67           recordtype: authority
68
69   - z3950servers:
70       translatable: [ servername ]
71       multiline: []
72       rows:
73         # Insert SRU server
74         - host: "lx2.loc.gov"
75           port: 210
76           db: LCDB
77           servername: "LIBRARY OF CONGRESS SRU"
78           syntax: USMARC
79           encoding: utf8
80           servertype: sru
81           sru_fields: "title=dc.title,isbn=bath.isbn,srchany=cql.anywhere,author=dc.author,issn=bath.issn,subject=dc.subject,stdid=bath.standardIdentifier"