koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc/migration_tools build_authorities.pl [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha/misc/migration_tools build_authorities.pl [rel_2_2]
Date: Mon, 09 Jan 2006 10:34:06 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   06/01/09 10:34:06

Modified files:
        misc/migration_tools: build_authorities.pl 

Log message:
        updating build_authorities.pl for better default UNIMARC handling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/misc/migration_tools/build_authorities.pl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text

Patches:
Index: koha/misc/migration_tools/build_authorities.pl
diff -u koha/misc/migration_tools/build_authorities.pl:1.1.2.1 
koha/misc/migration_tools/build_authorities.pl:1.1.2.2
--- koha/misc/migration_tools/build_authorities.pl:1.1.2.1      Thu Aug 11 
13:51:32 2005
+++ koha/misc/migration_tools/build_authorities.pl      Mon Jan  9 10:34:05 2006
@@ -56,36 +56,60 @@
 
 my %whattodo = (
        # authority code (the one you've choosen (or will choose) in Koha >> 
parameters >> thesaurus structure >> add)
-       NP =>   {
-                               # the list of MARC tags using this authority
-                               taglist => "600|700|701|702",
-                               # the list of MARC subfields used as key for 
authority. 2 entries in biblio having the same key will be considered as the 
same.
+       TU =>   {       taglist => "500",
+                               key             => "a|i|x|k|l|m|n|q|y|z",
+                               other   => "",
+                               authtag => "230",
+                       },
+       
+       SAUT => {
+                               taglist => "600",
                                key             => "a|b|c|d|f|x|y|z",
-                               # the list of MARC subfields not used as key, 
but to be copied in authority.
                                other   => "j",
-                               # the field in authority that will be reported 
in biblio. Remember that all subfields in tag "authtag" will be reported in the 
same subfield of the biblio (in MARC tags that are in "taglist")
                                authtag => "200",
                        },
-       CO =>   {       taglist => "601|710|711|712",
+       SAUTTIT =>      {
+                               taglist => "604",
+                               key             => "a|b|c|d|f|x|y|z",
+                               other   => "j",
+                               authtag => "240",
+                       },
+       SCO =>  {       taglist => "601",
                                key             => "a|b",
                                other   => "c|d|f|g|p",
                                authtag => "210",
                        },
-       NG =>   {       taglist => "607",
-                               key             => "a|x|y|z",
-                               other   => "",
-                               authtag => "215",
-                       },
-       TU =>   {       taglist => "500|605",
+       STU =>  {       taglist => "605",
                                key             => "a|i|x|k|l|m|n|q|y|z",
                                other   => "",
                                authtag => "230",
                        },
-       NC =>   {       taglist => "606",
+       SNG =>  {       taglist => "607",
+                               key             => "a|x|y|z",
+                               other   => "",
+                               authtag => "215",
+                       },
+       SNC =>  {       taglist => "606",
                                key             => "a|x|y|z",
                                other   => "",
                                authtag => "250",
                        },
+       
+       NP =>   {
+                               # the list of MARC tags using this authority
+                               taglist => "700|701|702",
+                               # the list of MARC subfields used as key for 
authority. 2 entries in biblio having the same key will be considered as the 
same.
+                               key             => "a|b|c|d|f|x|y|z",
+                               # the list of MARC subfields not used as key, 
but to be copied in authority.
+                               other   => "j",
+                               # the field in authority that will be reported 
in biblio. Remember that all subfields in tag "authtag" will be reported in the 
same subfield of the biblio (in MARC tags that are in "taglist")
+                               authtag => "200",
+                       },
+       CO =>   {       taglist => "710|711|712",
+                               key             => "a|b",
+                               other   => "c|d|f|g|p",
+                               authtag => "210",
+                       },
 );
 my %authorities;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]