Authorities MARC : Code Cleaning. Call for comment.
GetAuthType $result= &GetAuthType( $authtypecode) If $authtypecode is not "" then Returns hashref to authtypecode information else returns ref to array of hashref information of all Authtypes FindDuplicateAuthority $record= &FindDuplicateAuthority( $record, $authtypecode) return $authid,Summary if duplicate is found. Comments : an improvement would be to return All the records that match. BuildSummary $text= &BuildSummary( $record, $authid, $authtypecode) return HTML encoded Summary Comment : authtypecode can be infered from both record and authid. Moreover, authid can also be inferred from $record. Would it be interesting to delete those things ? BuildUnimarcHierarchy $ref= &BuildUnimarcHierarchy( $record, $class,$authid) return a hashref in order to display hierarchy for record and final Authid $authid "loopparents" "loopchildren" "class" "loopauthid" "current_value" "value" "ifparents" "ifchildren" Those two latest ones should disappear soon. merge $ref= &merge(mergefrom,$MARCfrom,$mergeto,$MARCto) Could add some feature : Migrating from a typecode to an other. For instance, a person into a Corporate Name, Topical to Toponymy. Then we should add some new parameter : bibliotargettag -- Henri-Damien LAURENT
participants (1)
-
Henri-Damien LAURENT