26 Jul 2021 15:47:29 UTC
- Distribution: Koha-Contrib-Tamil
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (2)
- Testers (0 / 0 / 2)
- KwaliteeBus factor: 1
- % Coverage
- License: open_source
- Perl: v5.10.0
- Activity24 month
- Download (87.81KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionFREDERICD Frédéric Demians
- Reverse dependencies
- CPAN Testers List
- Dependency graph
koha-auth - Generate authorities from bibliographic records
With this script, it's possible to extract authorities from Koha bibliographic records, load them into the authorities table, and link authorities to biblios.
- 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] [--doit] 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. Without --doit, the file processing is done but authorities are not effectively loaded into Koha DB.
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. Without --doit, the processing is done, but biblio records are not modified. This way you can check that authority heading matching works properly.
Authorities configuration file looks like that:
--- authcode: NP authletters: abcd authtag: 200 ind1: null ind2: 3 bibliotags: - 700 - 701 - 702 --- authcode: CO authletters: abcd authtag: 210 bibliotags: - 710 - 711 - 712 ---
Two sample configuration files are provided with this distribution and can be found in the dist local directory: auth-marc21.conf and auth-unimarc.conf.
Frédéric Demians <firstname.lastname@example.org>
This software is Copyright (c) 2021 by Fréderic Démians.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
Module Install Instructions
To install Koha::Contrib::Tamil, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Koha::Contrib::Tamil
For more information on module installation, please visit the detailed CPAN module installation guide.