From e57316c2ccaef8587c4406d2867c4ff70440b235 Mon Sep 17 00:00:00 2001 From: Petar Hristov <hristov@itc.rwth-aachen.de> Date: Wed, 24 May 2023 11:50:41 +0200 Subject: [PATCH] New: Added missing contact information generation for the RWTH Aachen --- src/OrganizationLoader/Program.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/OrganizationLoader/Program.cs b/src/OrganizationLoader/Program.cs index 04e857b..757a89a 100644 --- a/src/OrganizationLoader/Program.cs +++ b/src/OrganizationLoader/Program.cs @@ -325,7 +325,7 @@ namespace Coscine.OrganizationLoader streamWriter.WriteLine(); streamWriter.WriteLine($"<{rorId}>"); streamWriter.WriteLine(@" dcterms:publisher <https://itc.rwth-aachen.de/> ;"); - streamWriter.WriteLine(@" dcterms:rights ""Copyright © 2020 IT Center, RWTH Aachen University"" ;"); + streamWriter.WriteLine(@" dcterms:rights ""Copyright © 2023 IT Center, RWTH Aachen University"" ;"); streamWriter.WriteLine(@" dcterms:title ""RWTH Aachen University""@en ;"); streamWriter.WriteLine(); streamWriter.WriteLine(@" a org:FormalOrganization ;"); @@ -396,6 +396,12 @@ namespace Coscine.OrganizationLoader streamWriter.WriteLine($@"<{organizationMapping.RorId}> org:identifier ""{organizationMapping.EntityId}"" ."); } + // Contact Information + streamWriter.WriteLine($"<{rorId}> coscineresource:contactInformation ["); + streamWriter.WriteLine(@" foaf:name ""Service Desk"";"); + streamWriter.WriteLine(@" foaf:mbox <mailto:servicedesk@rwth-aachen.de>;"); + streamWriter.WriteLine("]."); + streamWriter.Flush(); return Encoding.UTF8.GetString(memoryStream.ToArray()); -- GitLab