Skip to content

Commit

Permalink
Merge pull request ckan#242 from berlinonline/bugfix/turtle_mimetype
Browse files Browse the repository at this point in the history
replace occurrences of `text/ttl` with `text/turtle`
  • Loading branch information
amercader authored Apr 27, 2023
2 parents a8a8427 + 675ffb8 commit 0c26bed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ RDF representations will be advertised using `<link rel="alternate">` tags on th
<head>

<link rel="alternate" type="application/rdf+xml" href="http://demo.ckan.org/dataset/34315559-2b08-44eb-a2e6-ebe9ce1a266b.rdf"/>
<link rel="alternate" type="text/ttl" href="http://demo.ckan.org/dataset/34315559-2b08-44eb-a2e6-ebe9ce1a266b.ttl"/>
<link rel="alternate" type="text/turtle" href="http://demo.ckan.org/dataset/34315559-2b08-44eb-a2e6-ebe9ce1a266b.ttl"/>
<!-- ... -->

</head>
Expand Down Expand Up @@ -167,7 +167,7 @@ RDF representations will be advertised using `<link rel="alternate">` tags on th

<link rel="alternate" type="application/rdf+xml" href="http://demo.ckan.org/catalog.rdf"/>
<link rel="alternate" type="application/rdf+xml" href="http://demo.ckan.org/catalog.xml"/>
<link rel="alternate" type="text/ttl" href="http://demo.ckan.org/catalog.ttl"/>
<link rel="alternate" type="text/turtle" href="http://demo.ckan.org/catalog.ttl"/>
<!-- ... -->

</head>
Expand Down
2 changes: 1 addition & 1 deletion ckanext/dcat/templates/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ super() }}
{% with endpoint=h.dcat_get_endpoint('catalog') %}
<link rel="alternate" type="text/n3" href="{{ h.url_for(endpoint, _format='n3', _external=True) }}"/>
<link rel="alternate" type="text/ttl" href="{{ h.url_for(endpoint, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="text/turtle" href="{{ h.url_for(endpoint, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="application/rdf+xml" href="{{ h.url_for(endpoint, _format='xml', _external=True) }}"/>
<link rel="alternate" type="application/ld+json" href="{{ h.url_for(endpoint, _format='jsonld', _external=True) }}"/>
{% endwith %}
Expand Down
2 changes: 1 addition & 1 deletion ckanext/dcat/templates/package/read_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ super() }}
{% with endpoint=h.dcat_get_endpoint('dataset') %}
<link rel="alternate" type="text/n3" href="{{ h.url_for(endpoint, _id=pkg.id, _format='n3', _external=True) }}"/>
<link rel="alternate" type="text/ttl" href="{{ h.url_for(endpoint, _id=pkg.id, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="text/turtle" href="{{ h.url_for(endpoint, _id=pkg.id, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="application/rdf+xml" href="{{ h.url_for(endpoint, _id=pkg.id, _format='xml', _external=True) }}"/>
<link rel="alternate" type="application/ld+json" href="{{ h.url_for(endpoint, _id=pkg.id, _format='jsonld', _external=True) }}"/>
{% endwith %}
Expand Down
2 changes: 1 addition & 1 deletion ckanext/dcat/templates/package/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ super() }}
{% with endpoint=h.dcat_get_endpoint('catalog') %}
<link rel="alternate" type="text/n3" href="{{ h.url_for(endpoint, _format='n3', _external=True) }}"/>
<link rel="alternate" type="text/ttl" href="{{ h.url_for(endpoint, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="text/turtle" href="{{ h.url_for(endpoint, _format='ttl', _external=True) }}"/>
<link rel="alternate" type="application/rdf+xml" href="{{ h.url_for(endpoint, _format='xml', _external=True) }}"/>
<link rel="alternate" type="application/ld+json" href="{{ h.url_for(endpoint, _format='jsonld', _external=True) }}"/>
{% endwith %}
Expand Down

0 comments on commit 0c26bed

Please sign in to comment.