Skip to content

Commit

Permalink
ajout accès au xml de la métadonnée
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Oct 16, 2024
1 parent 74fab3f commit 9b2b149
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ <h5 translate class="font-medium text-black text-sm mb-[2px] mt-[16px]">
<p class="text-sm" translate>record.metadata.sheet</p>
<p class="text-primary font-medium" translate>
<a [href]="metadata.landingPage" target="_blank">
<span class="break-all" gnUiLinkify>{{ metadata.landingPage }}</span>
<!--<span class="break-all" gnUiLinkify>{{ metadata.landingPage }}</span>-->
<span class="break-all" gnUiLinkify>{{ ignLandingPage }}</span>
</a>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
}

0 comments on commit 9b2b149

Please sign in to comment.