Hi! (reposting from IRC, where I got warnocked): Can somebody help me setting up a Z39.50/SRU server config? We want to query https://services.dnb.de/sru/authorities, but I don't get any results, because it seems Zoom gets a 400 error (which is not reported to the UI) I assume that dnb.de returns a 400 BAD REQUEST, but I cannot figure out what request Koha is sending (and I don't want to dust off wireshark..) What exactly do I have to configure in z3950servers.pl to make dnb.de/sru/authorities work? It currently does not work using: Hostname: services.dnb.de Port: 443 Database: /sru/authorities Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: version=1.1,operation=searchRetrieve,recordSchema=MARC21-xml SRU Search fields mapping: EMPTY I also could not find any docs on how to set up Koha to query a SRU Server for authorities. We have a working config using Z3950 to query authorities at bsz-bw.de; and a working SRU config to query dnb.de for biblios, but this one uses an account and has some "SRU search field mappings". So my current guess is that the missing "SRU search field mappings" are causing the problem. Any hits would be appreciated! Greetings, Thomas -- #!/usr/bin/perl https://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Hi! I figured it out (with a little off-list help by Stefan Kugler - thanks!!) My working config now is: Hostname: services.dnb.de Port: 80 (instead of 443) Database: sru/authorities (remove slash at the start) Database: sru/accessToken~TOKEN/authorities (though it seems to work with and without token Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: sru=get, sru_version=1.1, schema=MARC21-xml (ADD: sru=get; REMOVE: operation=searchRetrieve) SRU Search fields mapping: EMPTY (still fiddling with these..) So I guess the real problem was the Port and some of the SRU options. Greetings, domm -- #!/usr/bin/perl https://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Missed this one :) On 07.05.21 17:53, Thomas Klausner wrote:
Hi!
I figured it out (with a little off-list help by Stefan Kugler - thanks!!)
My working config now is:
Hostname: services.dnb.de Port: 80 (instead of 443) Database: sru/authorities (remove slash at the start) Database: sru/accessToken~TOKEN/authorities (though it seems to work with and without token Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: sru=get, sru_version=1.1, schema=MARC21-xml (ADD: sru=get; REMOVE: operation=searchRetrieve) SRU Search fields mapping: EMPTY (still fiddling with these..)
So I guess the real problem was the Port and some of the SRU options.
Greetings, domm
Has anyone managed to set the SRU searching for this: https://muscat.rism.info/sru/sources?operation=searchRetrieve&query=siglum&maximumRecords=100 I cannot! El vie, 7 may 2021 a las 13:46, Katrin Fischer (<katrin.fischer.83@web.de>) escribió:
Missed this one :)
On 07.05.21 17:53, Thomas Klausner wrote:
Hi!
I figured it out (with a little off-list help by Stefan Kugler - thanks!!)
My working config now is:
Hostname: services.dnb.de Port: 80 (instead of 443) Database: sru/authorities (remove slash at the start) Database: sru/accessToken~TOKEN/authorities (though it seems to work with and without token Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: sru=get, sru_version=1.1, schema=MARC21-xml (ADD: sru=get; REMOVE: operation=searchRetrieve) SRU Search fields mapping: EMPTY (still fiddling with these..)
So I guess the real problem was the Port and some of the SRU options.
Greetings, domm
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Tomás Cohen Arazi Theke Solutions (http://theke.io) ✆ +54 9351 3513384 GPG: B2F3C15F
Hello! for some reason I can select Record type: Authority only for a Z39.50 server. For the SRU server the field is greyed out and set to Bibliographic. Koha version 17.05. Do I need to enable something under Preferences? Thank you, Katharina Am Fr., 7. Mai 2021 um 17:54 Uhr schrieb Thomas Klausner <domm@plix.at>:
Hi!
I figured it out (with a little off-list help by Stefan Kugler - thanks!!)
My working config now is:
Hostname: services.dnb.de Port: 80 (instead of 443) Database: sru/authorities (remove slash at the start) Database: sru/accessToken~TOKEN/authorities (though it seems to work with and without token Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: sru=get, sru_version=1.1, schema=MARC21-xml (ADD: sru=get; REMOVE: operation=searchRetrieve) SRU Search fields mapping: EMPTY (still fiddling with these..)
So I guess the real problem was the Port and some of the SRU options.
Greetings, domm
-- #!/usr/bin/perl https://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Katharina, I am sorry, but SRU for authorities was added in a later version than yours. Please consider updating as 17.05 is quite old. Hope this helps, Katrin On 08.05.21 12:14, Katharina Penner wrote:
Hello!
for some reason I can select Record type: Authority only for a Z39.50 server. For the SRU server the field is greyed out and set to Bibliographic. Koha version 17.05. Do I need to enable something under Preferences?
Thank you, Katharina
Am Fr., 7. Mai 2021 um 17:54 Uhr schrieb Thomas Klausner <domm@plix.at>:
Hi!
I figured it out (with a little off-list help by Stefan Kugler - thanks!!)
My working config now is:
Hostname: services.dnb.de Port: 80 (instead of 443) Database: sru/authorities (remove slash at the start) Database: sru/accessToken~TOKEN/authorities (though it seems to work with and without token Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: sru=get, sru_version=1.1, schema=MARC21-xml (ADD: sru=get; REMOVE: operation=searchRetrieve) SRU Search fields mapping: EMPTY (still fiddling with these..)
So I guess the real problem was the Port and some of the SRU options.
Greetings, domm
-- #!/usr/bin/perl https://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi! I have now figured out a few SRU-Mappings for services.dnb.de authorpersonal = BBG="Tp*" and dnb.per authorcorp = BBG="Tb*" and dnb.koe title = BBG="Tu*" and dnb.tit https://www.dnb.de/DE/Professionell/Metadatendienste/Datenbezug/SRU/sru_node... https://services.dnb.de/sru/dnb?operation=explain&version=1.1 It is crucial that the 'BBG="?" and '-part comes before the actual field mapping because `_translate_query` will just mangle the fieldname and append the value entered by the user to the mapped fieldname (or at least thats how I interprete the code.) I guess those could be improved, but my head is spinning enough already. Greetings, domm -- #!/usr/bin/perl https://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Hi Thomas, thx for sharing - filing that away for later use :) Katrin On 10.05.21 14:23, Thomas Klausner wrote:
Hi!
I have now figured out a few SRU-Mappings for services.dnb.de
authorpersonal = BBG="Tp*" and dnb.per authorcorp = BBG="Tb*" and dnb.koe title = BBG="Tu*" and dnb.tit
https://www.dnb.de/DE/Professionell/Metadatendienste/Datenbezug/SRU/sru_node... https://services.dnb.de/sru/dnb?operation=explain&version=1.1
It is crucial that the 'BBG="?" and '-part comes before the actual field mapping because `_translate_query` will just mangle the fieldname and append the value entered by the user to the mapped fieldname (or at least thats how I interprete the code.)
I guess those could be improved, but my head is spinning enough already.
Greetings, domm
Hi Thomas, it looks like the DNB SRU server no longer requires registration, but this might still have a lot of useful information: http://abunchofthings.net/blog/freie-metadaten-von-der-dnb-per-sru/ It suggests using: sru=get,sru_version=1.1,schema=MARC21-xml And you will also want to set up the SRU search field mappings. Hope this helps, Katrin On 07.05.21 15:30, Thomas Klausner wrote:
Hi!
(reposting from IRC, where I got warnocked):
Can somebody help me setting up a Z39.50/SRU server config?
We want to query https://services.dnb.de/sru/authorities, but I don't get any results, because it seems Zoom gets a 400 error (which is not reported to the UI)
I assume that dnb.de returns a 400 BAD REQUEST, but I cannot figure out what request Koha is sending (and I don't want to dust off wireshark..)
What exactly do I have to configure in z3950servers.pl to make dnb.de/sru/authorities work?
It currently does not work using:
Hostname: services.dnb.de Port: 443 Database: /sru/authorities Syntax: MARC21 Encoding: utf8 Record Type: Authority Additional SRU options: version=1.1,operation=searchRetrieve,recordSchema=MARC21-xml SRU Search fields mapping: EMPTY
I also could not find any docs on how to set up Koha to query a SRU Server for authorities.
We have a working config using Z3950 to query authorities at bsz-bw.de; and a working SRU config to query dnb.de for biblios, but this one uses an account and has some "SRU search field mappings".
So my current guess is that the missing "SRU search field mappings" are causing the problem.
Any hits would be appreciated!
Greetings, Thomas
participants (4)
-
Katharina Penner -
Katrin Fischer -
Thomas Klausner -
Tomas Cohen Arazi