From c5d84f108217dbaa89a457ff33f9f410f9ff79c8 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Fri, 2 Feb 2024 11:43:49 +0100 Subject: [PATCH 1/5] wip for better csw-dcat output for data.gouv.fr, from @jeanpommier (#4182) --- .../main/plugin/iso19139/layout/tpl-rdf.xsl | 109 +++++++++++++++--- 1 file changed, 92 insertions(+), 17 deletions(-) diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl index adf1551155..ef235918bf 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl @@ -104,6 +104,7 @@ + @@ -115,7 +116,9 @@ - + + + text/html @@ -187,6 +190,14 @@ + + + + + + + + @@ -273,7 +284,10 @@ --> - + + + + @@ -290,6 +304,10 @@ + + + / + @@ -299,6 +317,16 @@ + + + + + + + + : . + @@ -427,26 +455,45 @@ + - - - - + + + + + + + + + + + license + + + - - - - - - - - - + + + + + + + + + + + + + accessRights + + + + @@ -522,6 +569,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + From 24cf7afe572a6b6d661d007e326104d20d316d4a Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Fri, 2 Feb 2024 15:56:51 +0100 Subject: [PATCH 2/5] create a link that resolves to a md page for landingPage --- schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl index ef235918bf..92b67c7825 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl @@ -306,7 +306,7 @@ - / + /srv/api/records/ From 24105e2525e88908d0cea3d10a6af09d12aeb4cd Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Mon, 19 Feb 2024 13:19:36 +0100 Subject: [PATCH 3/5] use util:getNodeId instead of hardcoding srv in dcat:landingPage --- schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl index 92b67c7825..0c01d006de 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl @@ -306,7 +306,7 @@ - /srv/api/records/ + //api/records/ From d0e5f1b0c2f6cf5904768ec5e87d03ef335d5c00 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 20 Mar 2024 17:35:44 +0100 Subject: [PATCH 4/5] cleanup after discussion with @jeanpommier --- .../main/plugin/iso19139/layout/tpl-rdf.xsl | 27 +++++-------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl index 0c01d006de..cf0368fce5 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl @@ -104,7 +104,6 @@ - @@ -116,8 +115,7 @@ - - + @@ -191,7 +189,7 @@ - + @@ -284,9 +282,7 @@ --> - - - + @@ -304,7 +300,7 @@ - + //api/records/ @@ -317,16 +313,6 @@ - - - - - - - - : . - @@ -455,7 +441,7 @@ - + @@ -493,7 +479,6 @@ - @@ -569,7 +554,7 @@ - From 2a26e627f7f3867027002e350d38f9496da845ad Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 20 Mar 2024 17:55:08 +0100 Subject: [PATCH 5/5] we shouldnt have two dct:licence blocks --- schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl index cf0368fce5..8137aa8569 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/layout/tpl-rdf.xsl @@ -465,9 +465,9 @@ - + - +