View | Details | Raw Unified | Return to bug 24584
Collapse All | Expand All

(-)a/installer/data/mysql/en/optional/sample_z3950_servers.sql (-11 lines)
Lines 1-11 Link Here
1
INSERT INTO z3950servers
2
(host, port, db, userid, password, servername, checked, `rank`, syntax, encoding,recordtype) VALUES
3
('lx2.loc.gov',210,'LCDB','','','LIBRARY OF CONGRESS',1,1,'USMARC','utf8','biblio'),
4
('lx2.loc.gov',210,'NAF','','','LIBRARY OF CONGRESS NAMES',1,1,'USMARC','utf8','authority'),
5
('lx2.loc.gov',210,'SAF','','','LIBRARY OF CONGRESS SUBJECTS',1,2,'USMARC','utf8','authority');
6
7
#Insert SRU server
8
INSERT INTO z3950servers
9
(host, port, db, servername, syntax, encoding, servertype, sru_fields)
10
VALUES
11
('lx2.loc.gov',210,'LCDB','LIBRARY OF CONGRESS SRU','USMARC','utf8','sru','title=dc.title,isbn=bath.isbn,srchany=cql.anywhere,author=dc.author,issn=bath.issn,subject=dc.subject,stdid=bath.standardIdentifier');
(-)a/installer/data/mysql/en/optional/sample_z3950_servers.txt (-5 lines)
Lines 1-5 Link Here
1
Allow access to the following servers to search and download record information:
2
LIBRARY OF CONGRESS
3
LIBRARY OF CONGRESS NAMES (authority records)
4
LIBRARY OF CONGRESS SUBJECTS (authority records)
5
COLUMBIA UNIVERSITY
(-)a/installer/data/mysql/en/optional/sample_z3950_servers.yml (-1 / +82 lines)
Line 0 Link Here
0
- 
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 under the
8
#  terms of the GNU General Public License as published by the Free Software
9
#  Foundation; either version 2 of the License, or (at your option) any later
10
#  version.
11
#
12
#  Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13
#  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14
#  A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15
#
16
#  You should have received a copy of the GNU General Public License along
17
#  with Koha; if not, write to the Free Software Foundation, Inc.,
18
#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
#
20
21
description:
22
  - "Allow access to the following servers to search and download record information:"
23
  - "LIBRARY OF CONGRESS"
24
  - "LIBRARY OF CONGRESS NAMES (authority records)"
25
  - "LIBRARY OF CONGRESS SUBJECTS (authority records)"
26
  - "COLUMBIA UNIVERSITY"
27
28
29
tables:
30
  - z3950servers:
31
      translatable: [ servername ]
32
      multiline: []
33
      rows:
34
        - host: "lx2.loc.gov"
35
          port: 210
36
          db: LCDB
37
          userid: ""
38
          password: ""
39
          servername: "LIBRARY OF CONGRESS"
40
          checked: 1
41
          rank: 1
42
          syntax: USMARC
43
          encoding: utf8
44
          recordtype: biblio
45
46
        - host: "lx2.loc.gov"
47
          port: 210
48
          db: NAF
49
          userid: ""
50
          password: ""
51
          servername: "LIBRARY OF CONGRESS NAMES"
52
          checked: 1
53
          rank: 1
54
          syntax: USMARC
55
          encoding: utf8
56
          recordtype: authority
57
58
        - host: "lx2.loc.gov"
59
          port: 210
60
          db: SAF
61
          userid: ""
62
          password: ""
63
          servername: "LIBRARY OF CONGRESS SUBJECTS"
64
          checked: 1
65
          rank: 2
66
          syntax: USMARC
67
          encoding: utf8
68
          recordtype: authority
69
70
  - z3950servers:
71
      translatable: [ servername ]
72
      multiline: []
73
      rows:
74
        # Insert SRU server
75
        - host: "lx2.loc.gov"
76
          port: 210
77
          db: LCDB
78
          servername: "LIBRARY OF CONGRESS SRU"
79
          syntax: USMARC
80
          encoding: utf8
81
          servertype: sru
82
          sru_fields: "title=dc.title,isbn=bath.isbn,srchany=cql.anywhere,author=dc.author,issn=bath.issn,subject=dc.subject,stdid=bath.standardIdentifier"

Return to bug 24584