NAME

koha-auth - Generate authorities from bibliographic records

VERSION

version 0.001

USAGE

koha-auth create_from_biblio auth.conf authorities.txt

Creates a text file authorities.txt containing authorities extracted from Koha biblio records using auth.conf authorities configuration.

koha-auth [--truncate] load_from_file auth.conf authorities.txt

Load authorities from authorities.txt into Koha using auth.conf authorities configuration. With --truncate, auth_head Koha table is truncated before loading new authorities. After this processing, authorities have to be indexed with Zebra in order to be searchable.

Link biblio records fields with authorities via $9 subfield. Authorities must have been indexed with Zebra. After this processing, it is necessary to index bibliographic records with Zebra.

CONFIGURATION

Authorities configuration file looks like that:

--- 
authcode: NP
authletters: abcd
authtag: 200
bibliotags: 
  - 700
  - 701
  - 702
--- 
authcode: CO
authletters: abcd
authtag: 210
bibliotags: 
  - 710
  - 711
  - 712
--- 

AUTHOR

Frederic Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Frederic Demians.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.