[Koha] bulk BiblioAddsAuthorities?
Stefano Bargioni
bargioni at pusc.it
Wed Mar 2 00:01:56 NZDT 2011
I have similar problems (Koha 323 on Debian 6).
In my opinion, Pete, your auth records are good, since they are imported and indexed correctly.
The fault seems to be in link_bibs_to_authorities.pl. Debugging it, I think that C4/Heading.pm adds too much query limiters when trying to find an authority entry starting from values stored in biblio fields. For instance, in the case of authors, the limiter
"AND Heading-use-main-or-added-entry=a"
introduces the error.
So I commented out lines 142-152 of C4/Heading.pm and every author was correctly linked to its own authority.
Up to now I don't know it this is a known bug or if Koha 325 solves it.
HTH.
Stefano
On Feb 28, 2011, at 16:52 , Peter Huerter wrote:
> Thanks Elaine. I'm still having trouble getting my auth records to link with
> my biblio records.
>
> Our process is this:
> 1) Import biblios into koha (without any authority information).
>
> 2) Take a dedup't list of authors in a CSV file, and run it through MarcEdit
> to create a compiled .mrc file of authorities. (I also add 040 info here,
> and define my own LDR, and 008 but nothing else)
>
> .csv file:
> Zumwalt, Elmo R. Jr
> Zimmerman, Linda
>
> .mrk file:
> =LDR 00000nz a2200000o 4500
> =008 110225000000|||a||||aa|||||||||||||||||d||||||
> =040 \\$aOPIACS$bENG$cOPIACS
> =100 \\$aZumwalt, Elmo R. Jr
>
> =LDR 00000nz a2200000o 4500
> =008 110225000000|||a||||aa|||||||||||||||||d||||||
> =040 \\$aOPIACS$bENG$cOPIACS
> =100 \\$aZimmerman, Linda
>
> 3) Import the compiled authority list into Koha using bulkmarcimport, and
> re-index Zebra.
> perl bulkmarcimport.pl -a -file /home/paul/first_authorities2.mrc
> -match=pn,100a -v 2
> perl rebuild_zebra.pl -a -r -v
>
> 4) Run the linking script.
> perl /usr/share/koha/bin/link_bibs_to_authorities.pl --verbose
>
> The authority records are successfully imported into Koha (I can do an
> authority search and find them), but each search result report that 0
> biblios are linked with "this" authority.
>
> The linking script appears to do the opposite of what we want. It actually
> removes authority links that are already present (I added an authority
> before running the linking script. I'm able to add the link by editing a
> given biblio in Koha. Koha adds it automatically - See my original post on
> this thread). Existing links are gone (reporting "0 biblios"), and no new
> links are added.
>
> I am using the following LDR, and 008 fields:
>
> LDR:
> 00000nz a2200000o 4500
>
> 008:
> 000000|||a||||aa|||||||||||||||||d||||||
>
> (I'm sure there are bibs to be linked with these authorities.)
>
> Any ideas? Do you use MarcEdit? Would you be able to provide a sample MARC
> record for one of your authorities please?
>
> Thanks again,
> Pete.
>
> --
> View this message in context: http://koha.1045719.n5.nabble.com/bulk-BiblioAddsAuthorities-tp3378000p3403489.html
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list