From 9b2b149cebeff1c09381402939f1bafc8aed20ed Mon Sep 17 00:00:00 2001 From: cde-barros Date: Wed, 16 Oct 2024 11:47:27 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20acc=C3=A8s=20au=20xml=20de=20la=20m?= =?UTF-8?q?=C3=A9tadonn=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/metadata-info/metadata-info.component.html | 3 ++- .../src/lib/metadata-info/metadata-info.component.ts | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html index b4a24c8da5..9bab24bc31 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html @@ -219,7 +219,8 @@

record.metadata.sheet

- {{ metadata.landingPage }} + + {{ ignLandingPage }}

diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts index 55379fc5fe..44c12bf7e2 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts @@ -97,4 +97,11 @@ export class MetadataInfoComponent { onKeywordClick(keyword: Keyword) { this.keyword.emit(keyword) } + + get ignLandingPage() { + return new URL( + 'https://data.geopf.fr/csw?REQUEST=GetRecordById&SERVICE=CSW&VERSION=2.0.2&OUTPUTSCHEMA=http://standards.iso.org/iso/19115/-3/mdb/2.0&elementSetName=full&ID=' + + this.metadata.uniqueIdentifier + ) + } }