Mirko,
Thanks very much for your assistance. I can successfully search
SwissBib, and I now have a much better understanding of how Koha works
with SRU.
In case anyone else comes across this, I'll mention that I found that
the "Additional SRU options" should not be percent-encoded, as they
would be in a URL. Apparently Koha can take care of encoding the
characters appropriately.
On 4/6/2016 4:16 PM, Mirko Tietgen wrote:
Hi Andy,
Andy Boze schrieb am 06.04.2016
Based on that URL, I've set the "Additional SRU options" field
like this.
operation=searchRetrieve,recordSchema=info:srw/schema/1/marcxml-v1.1-light,maximumRecords=10,recordPacking=XML
Good idea, but it does not work that way. Koha expects ZOOM in that
field. http://www.indexdata.com/yaz/doc/zoom.html
sru=get is the equivalent to operation=searchRetrieve, schema the
equivalent to recordSchema…
(It's not clear to me whether I should percent-encode special
characters such as : and / in the SRU options field. I've tried
it with and without encoding.)
…a tilde (~) in the URL has to be encoded at least in newer versions
of Koha. I would assume the same for the other fields. That would
give you something like
sru=get,sru_version=1.1,schema=info%3Asrw%2Fschema%2F1%2Fmarcxml-v1.1-light
Also for the database field I've tried it both with and without
a leading slash (/). I would have assumed without, but just in
case...
Not sure if that matters, but it works without / for other servers.
Try YAZ-client to test the connection. http://www.indexdata.com/yaz
Spoiler: it did not work for me anyway, but maybe the ZOOM stuff and
YAZ get you in the right direction. You may want to get in contact
with the Swissbib people if you can't get it to work.
I put up the information related to DNB (German National Library) a
while back. It's in German, but you can probably understand the
config part and how to use yaz-client to test.
http://abunchofthings.net/blog/freie-metadaten-von-der-dnb-per-sru/
HTH,
Mirko
_______________________________________________
Koha mailing list http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha
--
Andy Boze, Associate Librarian
University of Notre Dame
208A Hesburgh Library
(574) 631-8708
_______________________________________________
Koha mailing list http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha