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>
12 lines
908 B
SQL
12 lines
908 B
SQL
INSERT INTO z3950servers (host, port, db, userid, password, servername, id, checked, rank, syntax, timeout, servertype, encoding) VALUES
|
|
('lx2.loc.gov',210,'LCDB','','','LIBRARY OF CONGRESS',1,0,0,'USMARC',0,'zed','utf8'),
|
|
('z3950.bibsys.no',2100,'BIBSYS','','','BIBSYS',12,1,1,'NORMARC',0,'zed','ISO_8859-1'),
|
|
('z3950.nb.no',2100,'Norbok','','','NORBOK',13,0,0,'NORMARC',0,'zed','ISO_8859-1'),
|
|
('z3950.nb.no',2100,'Sambok','','','SAMBOK',14,0,0,'NORMARC',0,'zed','ISO_8859-1'),
|
|
('z3950.deich.folkebibl.no',210,'data','','','DEICHMAN',15,0,0,'NORMARC',0,'zed','ISO_8859-1');
|
|
|
|
#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');
|