[Koha] koha authorities update linking authorities in subfield 0

schnydszch eugenegf at yahoo.com
Wed Sep 9 01:35:51 NZST 2015


In current iteration of Koha ILS, given the following marc authorities in
marcxml format:

The first record:
<record>
  <leader>01877nz  a2200433o  4500</leader>
  <controlfield tag="001">1</controlfield>
      ....
  </datafield>
  <datafield tag="151" ind1=" " ind2=" ">
    <subfield code="a">Borneo</subfield>
  </datafield>
  <datafield tag="550" ind1=" " ind2=" ">
    <subfield code="w">g</subfield>
    <subfield code="a">South East Asia</subfield>
    <subfield code="c">c_7260</subfield>
  </datafield>
</record>

The second record:
<record>
  <leader>02462nz  a2200553o  4500</leader>
  <controlfield tag="001">2</controlfield>
       ...
  <datafield tag="151" ind1=" " ind2=" ">
    <subfield code="a">South East Asia</subfield>
  </datafield>
  <datafield tag="550" ind1=" " ind2=" ">
    <subfield code="w">h</subfield>
    <subfield code="a">Borneo</subfield>
    <subfield code="c">c_1017</subfield>
  </datafield>
 
</record>

Is there a way in linking Borneo with Southeast Asia and vice versa? Such
that the control no. is added in 550 tag like below:

Authority Record no. 1:
  <datafield tag="151" ind1=" " ind2=" ">
    <subfield code="a">Borneo</subfield>
  </datafield>
  <datafield tag="550" ind1=" " ind2=" ">
    <subfield code="w">g</subfield>
    <subfield code="a">South East Asia</subfield>
    <subfield code="c">c_7260</subfield>
    <subfield code="0">2</subfield>
  </datafield>

Authority Record no. 2:
  <datafield tag="151" ind1=" " ind2=" ">
    <subfield code="a">South East Asia</subfield>
  </datafield>
  <datafield tag="550" ind1=" " ind2=" ">
    <subfield code="w">h</subfield>
    <subfield code="a">Borneo</subfield>
    <subfield code="c">c_1017</subfield>
    <subfield code="0">1</subfield>

Or if this was in MARC:

=001  1
=035  \\$ac_1017
=151  \\$aBorneo
=550  \\$wg$aSouth East Asia$cc_7260$02

=LDR  02462nz  a2200553o  4500
=001  2
=035  \\$ac_7260
=151  \\$aSouth East Asia
=550  \\$wh$aBorneo$cc_1017$01

Has anybody done such use case? Or is this possible in Koha? Is there a
cronjob that should be run in order to link or merge these authorities? I
see the merge authority cron job merges the authorities with the biblios.
Thanks in advance and cheers!






--
View this message in context: http://koha.1045719.n5.nabble.com/koha-authorities-update-linking-authorities-in-subfield-0-tp5852941.html
Sent from the Koha-general mailing list archive at Nabble.com.


More information about the Koha mailing list