[Koha] Adding "Identifier-standard" field to Zebra's authority index

Alvaro Cornejo cornejo.alvaro at gmail.com
Wed May 29 04:54:21 NZST 2019


Hi Simon

Have you checked CR/LF/spaces at the beginning/end of each line?

XML is sometimes very picky with this.

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
              Visitenos en www.perusms.com


Le mar. 28 mai 2019 à 06:00, Simon Hohl <simon.hohl at dainst.org> a écrit :

> Hi everyone,
>
> I am still struggling with this problem, anybody got any idea where to
> continue?
>
> Cheers,
>
> Simon
>
> On 14.05.19 10:45, Simon Hohl wrote:
> >
> > Hi everyone,
> >
> > this Email is a followup on:
> > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22013
> >
> > I want to apply a record matching rule on my authority data, which
> > checks field 024$9 against existing authority data. So far I tried
> > following these instructions:
> > https://wiki.koha-community.org/wiki/How_to_add_new_zebra_index
> >
> > 1. Added to authority-koha-indexdefs.xml (roughly copied over from the
> > biblio equivalent):
> >
> >>   <!--record.abs line 60: melm 024        Identifier-standard-->
> >>   <kohaidx:index_subfields tag="024"
> subfields="abcdefghjklmnopqrstvxyz0123456789">
> >>     <kohaidx:target_index>Identifier-standard:w</kohaidx:target_index>
> >>   </kohaidx:index_subfields>
> > 2. Added to etc/zebradb/authorities/etc/bib1.att:
> >
> >> att 1007 Identifier-standard
> > 3. Ran xsltproc on xml to create xsl file
> >
> > 4. Rebuilt Zebra
> >
> >> koha-rebuild-zebra -a -f -v (...)
> >
> > But so far, the error persists:
> >
> >> oAuth error: Unsupported Use attribute (114) Identifier-standard Bib-1
> > Did I miss something or are there additional steps necessary for
> > adding authority fields compared to the bibliographic index?
> >
> > Kind regards,
> >
> > Simon
> >
> >
> > My system information:
> >
> >> Koha version:     18.11.05.000
> >> OS version ('uname -a'):     Linux (...) 4.9.0-9-amd64 #1 SMP Debian
> >> 4.9.168-1 (2019-04-12) x86_64
> >> Perl interpreter:     /usr/bin/perl
> >> Perl version:     5.024001
> >> Perl @INC:     /usr/share/koha/lib
> >> /etc/perl
> >> /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
> >> /usr/local/share/perl/5.24.1
> >> /usr/lib/x86_64-linux-gnu/perl5/5.24
> >> /usr/share/perl5
> >> /usr/lib/x86_64-linux-gnu/perl/5.24
> >> /usr/share/perl/5.24
> >> /usr/local/lib/site_perl
> >> /usr/lib/x86_64-linux-gnu/perl-base
> >> MySQL version:     mysql Ver 15.1 Distrib 10.1.38-MariaDB, for
> >> debian-linux-gnu (x86_64) using readline 5.2
> >> Apache version:     Server version: Apache/2.4.25 (Debian)
> >> Memcached:     Servers: 127.0.0.1:11211 | Namespace: (...) | Status:
> >> running. | Config read from: koha-conf.xml
> >> Zebra version:     Zebra 2.0.59 (C) 1994-2014,(...)
> >> Date and time:     14/05/2019 10:18
> >> Time zone:     Used: Europe/Berlin | Config: Undefined | Environment
> >> (TZ): Undefined
> >
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list