Marcel de Rooy
33db04fab8
Add LOC SRU server to sample servers installed. This patch modifies four language files: de, en, es and nb. For the other languages this may not be useful. Test plan: You could test this by using the webinstaller. But you could also (backup) and delete your records in z3950servers, and run the sample_z3950_servers.sql file from the command line. Check if you see the new SRU server. Tested using mysql. I truncated the table (to reset the IDs as well) and then ran the file. Works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
13 lines
949 B
SQL
13 lines
949 B
SQL
INSERT INTO z3950servers
|
|
(host, port, db, userid, password, servername, checked, rank, syntax, encoding,recordtype) VALUES
|
|
('lx2.loc.gov',210,'LCDB','','','LIBRARY OF CONGRESS',1,1,'USMARC','utf8','biblio'),
|
|
('lx2.loc.gov',210,'NAF','','','LIBRARY OF CONGRESS NAMES',1,1,'USMARC','utf8','authority'),
|
|
('lx2.loc.gov',210,'SAF','','','LIBRARY OF CONGRESS SUBJECTS',1,2,'USMARC','utf8','authority'),
|
|
('clio-db.cc.columbia.edu',7090,'voyager','','','COLUMBIA UNIVERSITY',0,0,'USMARC','MARC-8','biblio'),
|
|
('siris-libraries.si.edu',210,'Default','','','SMITHSONIAN INSTITUTION LIBRARIES',0,0,'USMARC','MARC-8','biblio');
|
|
|
|
#Insert SRU server
|
|
INSERT INTO z3950servers
|
|
(host, port, db, servername, syntax, encoding, servertype, sru_fields)
|
|
VALUES
|
|
('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');
|