[Koha-devel] A plugin for Unimarc Authority Leader

Zeno Tajoli tajoli at cilea.it
Wed Jun 4 18:15:01 CEST 2008


Hi to all,

I'm using Unimarc as Marc system.
The leader field (field 000) is shipped without a plugin.
I think it is impossible to insert data without a plugin for the Leader field.
So in the zip attach there is the plugin written by me (starting ftom marc21
  authority leader plugin).

The file 'unimarc_leader_authorities.tmpl' into
../koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder dir
the file marc21_leader_authorities.pl into
../caloguing/value_builder dir

There is also a modification into
../installer/data/mysql/en/marcflavour/unimarc/mandatory/authorities_normal_unimarc.sql

 From
INSERT INTO `auth_subfield_structure` (`authtypecode`, `tagfield`, 
`tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, 
`tab`, `authorised_value`, `value_builder`, `seealso`, `isurl`, 
`hidden`, `linkid`, `kohafield`, `frameworkcode`) VALUES
		('', '000', '@', 'fixed length control field', 'fixed length 
control field', 0, 1, 0, NULL, NULL, NULL, 0, 0, '', '', ''),
To
INSERT INTO `auth_subfield_structure` (`authtypecode`, `tagfield`, 
`tagsubfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, 
`tab`, `authorised_value`, `value_builder`, `seealso`, `isurl`, 
`hidden`, `linkid`, `kohafield`, `frameworkcode`) VALUES
		('', '000', '@', 'fixed length control field', 'fixed length 
control field', 0, 1, 0, NULL, 'unimarc_leader_authorities.pl', NULL, 
0, 0, '', '', ''),

In the table 'auth_subfield_structure'  with the tag field '00' and 
the tagsubfield '@' you need to insert the value 
'unimarc_leader_authorities.pl' in the coloum 'value_builder'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin.zip
Type: application/zip
Size: 2867 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20080604/0db4b5b1/attachment-0002.zip>
-------------- next part --------------

Zeno Tajoli
CILEA - Segrate (MI)
tajoliAT_SPAM_no_prendiATcilea.it
(Indirizzo mascherato anti-spam; sostituisci quanto tra AT con @)
-------------- next part --------------
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel


More information about the Koha-devel mailing list