ckan / ckanext-dcat

CKAN ♥ DCAT
164 stars 142 forks source link

Adds support for additional vcard representations #178

Closed seitenbau-govdata closed 4 years ago

seitenbau-govdata commented 4 years ago

The pull request adds support for additional vcard (https://www.w3.org/TR/vcard-rdf/) representations.

E.g. the following example can be imported now:

<dcat:contactPoint>
  <rdf:Description>
    <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Organization"/>
    <vcard:hasFN rdf:parseType="Resource">
      <vcard:hasValue>Contact Point Name</>
    </vcard:hasFN>
    <vcard:hasEmail rdf:parseType="Resource">
      <vcard:hasValue rdf:resource="mailto:corky@example.com"/>
    </vcard:hasEmail>
  </rdf:Description>
</dcat:contactPoint>
amercader commented 4 years ago

This looks good @seitenbau-govdata , can you fix the merge conflict?

seitenbau-govdata commented 4 years ago

@amercader The merge conflicts has been resolved

seitenbau-govdata commented 4 years ago

@amercader Thanks for review and merging!