ckan / ckanext-dcat

CKAN ♥ DCAT
163 stars 142 forks source link

Improve mailto handling and add generic value modifier to _add_triple_from_dict #134

Closed seitenbau-govdata closed 5 years ago

seitenbau-govdata commented 5 years ago

The generic modifier allows to provide a function which updates the value before it is added to the graph from the dict.

Also, this improves handling of mail addresses:

https://github.com/GovDataOfficial/ckanext-dcatde/issues/6

amercader commented 5 years ago

This looks good @seitenbau-govdata. @metaodi raises a good point, so I think it's safer to add the new keyword param at the end.

seitenbau-govdata commented 5 years ago

@amercader and @metaodi Good point! I agree. I have pushed a new commit with the change.

amercader commented 5 years ago

Thanks @seitenbau-govdata