[Koha] SRU Config

Thomas Klausner domm at plix.at
Tue May 11 00:23:43 NZST 2021


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.html
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$_.$/}


More information about the Koha mailing list