From eb5887cb9a0ad8adc7fcfc62e38e257e7ad98b9c Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Wed, 13 Mar 2024 14:46:00 +0100 Subject: [PATCH] including related organization url in the XML record serialization (ticket #9498) --- .../eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java index 4d9d9c341..b2a4ad8ff 100644 --- a/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java +++ b/dhp-workflows/dhp-graph-provision/src/main/java/eu/dnetlib/dhp/oa/provision/utils/XmlRecordFactory.java @@ -1133,6 +1133,9 @@ public class XmlRecordFactory implements Serializable { if (re.getCountry() != null && !re.getCountry().isBlank()) { metadata.add(XmlSerializationUtils.mapQualifier("country", re.getCountry())); } + if (StringUtils.isNotBlank(re.getWebsiteurl())) { + metadata.add(XmlSerializationUtils.asXmlElement("websiteurl", re.getWebsiteurl())); + } break; case project: if (isNotBlank(re.getProjectTitle())) {