diff --git a/ckanext/foph/harvesters/fophharvester.py b/ckanext/foph/harvesters/fophharvester.py index d3d7001..67bf0e4 100644 --- a/ckanext/foph/harvesters/fophharvester.py +++ b/ckanext/foph/harvesters/fophharvester.py @@ -319,8 +319,11 @@ def gather_stage(self, harvest_job): 'license_id': col[u'license_id'].lower(), 'version': col[u'version'], 'translations': [], - 'tags': col[u'tags'].split(u', ') + 'tags': [] } + tags = col[u'tags'].split(u', ') + tags = [munge_tag(tag) for tag in tags] + metadata['tags'] = tags metadata['resources'] = self._generate_resources_dict_array( col[u'id'])