diff --git a/internal/controller/generator/mapper.go b/internal/controller/generator/mapper.go index 53f619b..5681d7b 100644 --- a/internal/controller/generator/mapper.go +++ b/internal/controller/generator/mapper.go @@ -196,7 +196,7 @@ func addMetadataLinks(metadataLinks pdoknlv3.MetadataLink, ownerInfo smoothopera return err } link := atomfeed.Link{ - Rel: "related", + Rel: "describedby", Href: href, Type: "text/html", Title: htmlTitle, diff --git a/internal/controller/test_data/maximum-atom/expected-output/configmap.yaml b/internal/controller/test_data/maximum-atom/expected-output/configmap.yaml index b0cfada..2058b73 100644 --- a/internal/controller/test_data/maximum-atom/expected-output/configmap.yaml +++ b/internal/controller/test_data/maximum-atom/expected-output/configmap.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: maximum-atom-generator-8gk8292cf2 + name: maximum-atom-generator-d9bhh28t99 namespace: default labels: test: test @@ -37,7 +37,7 @@ data: rel: describedby type: application/xml - href: https://test.com/html/00000000-0000-0000-0000-000000000000 - rel: related + rel: describedby type: text/html title: NGR pagina voor deze download service - href: https://test.com/open/00000000-0000-0000-0000-000000000000.xml @@ -105,7 +105,7 @@ data: rel: describedby type: application/xml - href: https://test.com/html/00000000-0000-0000-0000-000000000001 - rel: related + rel: describedby type: text/html title: NGR pagina voor deze dataset - href: https://test.com/encodingrule.pdf @@ -172,7 +172,7 @@ data: rel: describedby type: application/xml - href: https://test.com/html/00000000-0000-0000-0000-000000000003 - rel: related + rel: describedby type: text/html title: NGR pagina voor deze dataset rights: rights