Skip to content

Commit

Permalink
Added MMD export to landingpages
Browse files Browse the repository at this point in the history
  • Loading branch information
magnarem committed Sep 8, 2023
1 parent 32f0ea4 commit a271bd7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ public function getLandingPage($id) {
'#title' => $this->t('Download Machine Readable Metadata:'),
'#markup' => '<br><a class="w3-button w3-border" href="https://' . $host . '/dataset/' . explode(':', $fields['metadata_identifier'])[1] . '?export_type=iso">ISO-Inspire</a>
<a class="w3-button w3-border" href="https://' . $host . '/dataset/' . explode(':', $fields['metadata_identifier'])[1] . '?export_type=geonorge">ISO-Norge-Inspire</a>
<a class="w3-button w3-border" href="https://' . $host . '/dataset/' . explode(':', $fields['metadata_identifier'])[1] . '?export_type=dif">NASA DIF 9.8</a>',
<a class="w3-button w3-border" href="https://' . $host . '/dataset/' . explode(':', $fields['metadata_identifier'])[1] . '?export_type=dif">NASA DIF 9.8</a>
<a class="w3-button w3-border" href="https://' . $host . '/dataset/' . explode(':', $fields['metadata_identifier'])[1] . '?export_type=mmd">METNO MMD</a>',
// Add br here for line break.
'#allowed_tags' => ['a', 'strong', 'br'],

Expand Down

0 comments on commit a271bd7

Please sign in to comment.