[Koha] bulk BiblioAddsAuthorities?

Peter Huerter pete.huerter at gmail.com
Thu Feb 10 06:55:12 NZDT 2011


Hi All,

I would like  BiblioAddsAuthorities to work even for bulk imports.  It does
not work when records are staged in Koha, nor when bulkmarcimport.pl is
used.  It does work when one edits and saves a marc record and global
preference BiblioAddsAuthorities is set to "on".

I found this same question posted to koha-dev in 2009 (with no response):
http://koha.1045719.n5.nabble.com/Bulkmarcimport-and-authorities-tp3065080p3065080.html

I also found an IRC conversation from 2008 on this topic (with no
resolution):
http://stats.workbuffer.org/irclog/text.pl?channel=koha;date=2008-01-22

What I have been able to gather is that the relevant code is contained in
BiblioAddAuthorities in cataloguing/addbiblio.pl.

#
# sub that tries to find authorities linked to the biblio
# the sub :
#   - search in the authority DB for the same authid (in $9 of the biblio)
#   - search in the authority DB for the same 001 (in $3 of the biblio in
UNIMARC)
#   - search in the authority DB for the same values (exactly) (in all
subfields of the biblio)
# if the authority is found, the biblio is modified accordingly to be
connected to the authority.
# if the authority is not found, it's added, and the biblio is then modified
to be connected to the authority.
#

This is what I want, but in bulk.

Is there already a script that calls BiblioAddAuthorities and processes all
biblio records in bulk?

If not, can someone take a moment and give me any advice about how one would
write such a script?  I am new to Koha.  An example script would be great.

We want to be able to manage our own Authorities for at least Authors in
house.  Any help would be greatly appreciated.

Thanks,
Pete.

Volunteer with
The Archives and Collections Society
http://aandc.org/

-- 
View this message in context: http://koha.1045719.n5.nabble.com/bulk-BiblioAddsAuthorities-tp3378000p3378000.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.


More information about the Koha mailing list