Skip to content

Commit

Permalink
Updated rdf template to show format of resource
Browse files Browse the repository at this point in the history
  • Loading branch information
rossjones committed May 14, 2012
1 parent c9615d8 commit 110e367
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ckan/templates/package/read.rdf
Expand Up @@ -23,6 +23,13 @@
<dcat:distribution>
<dcat:Distribution>
<dcat:accessURL rdf:resource="${ rsc_dict['url'] }"/>
<dct:format py:if="rsc_dict.get('format')">
<dct:IMT>
<rdf:value>rsc_dict.get('format')</rdf:value>
<rdfs:label>rsc_dict.get('format')</rdfs:label>
</dct:IMT>
</dct:format>
<dct:title py:if="rsc_dict.get('name')">${rsc_dict.get('name')}</dct:title>
</dcat:Distribution>
</dcat:distribution>
</py:for>
Expand Down

0 comments on commit 110e367

Please sign in to comment.