From 570925d1273b0a56fb01a844062e45c89855de8a Mon Sep 17 00:00:00 2001 From: Will Fyson Date: Tue, 10 Oct 2023 11:25:52 +0000 Subject: [PATCH] Set creators to use Personal attribute so they show up as people --- DataCiteDoi.epmi | 6 +++--- lib/cfg.d/z_datacite_mapping.pl | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DataCiteDoi.epmi b/DataCiteDoi.epmi index 28c5ea0..b093e4b 100644 --- a/DataCiteDoi.epmi +++ b/DataCiteDoi.epmi @@ -9,9 +9,9 @@ document cfg.d/z_datacite_mapping.pl text/plain - a8ea31619777aed5849a83cdc1d7e7e1 + ffe4d09471560d241104baa376b26dfd MD5 - 35704 + 35790 document @@ -147,7 +147,7 @@ coverimage - 3.2.3 + 3.2.4 diff --git a/lib/cfg.d/z_datacite_mapping.pl b/lib/cfg.d/z_datacite_mapping.pl index f979f9b..b004129 100644 --- a/lib/cfg.d/z_datacite_mapping.pl +++ b/lib/cfg.d/z_datacite_mapping.pl @@ -100,7 +100,9 @@ if ($family eq '' && $given eq '') { $creators->appendChild($author); } else { - $author->appendChild($xml->create_data_element("creatorName", $name_str)); + $author->appendChild($xml->create_data_element("creatorName", $name_str, + nameType => "Personal", + )); } if ($given eq '') { $creators->appendChild($author);