[ECODP-dev] updating the list of valid 'tags'

John Glover john.glover at okfn.org
Tue May 14 13:21:56 UTC 2013


Hi Bert,

The tags/keywords are stored in the database and so can be updated using
the API.

See:
http://docs.ckan.org/en/ckan-1.7.2/tag-vocabularies.html
http://docs.ckan.org/en/ckan-1.7.2/apiv3.html#ckan.logic.action.create.tag_create

For reference, the current tags are created from the JSON files in this
directory:
https://github.com/okfn/ckanext-ecportal/tree/master/data

The specific values for interoperability level are here:
https://github.com/okfn/ckanext-ecportal/blob/master/data/odp-interoperability-level.json


John


On 14 May 2013 14:02, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:

> Hi John and Darwin,
>
> I got the next message out of CKAN.
>
> 2013-05-14 13:46:38,353 main ERROR
> org.ckan.demo.ecportal.rdf2ckan.http.JsonAPI UPLOAD ERROR:
> {__type=Validation Error, interoperability_level=[Tag
> http://ec.europa.eu/open-data/kos/interoperability-level/Organizationaldoes not belong to vocabulary interoperability_level]}
>
> I expected this, but now I want to know what is the procedure to
> update/manage this list.
>
> kind regards,
>
> Bert
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130514/4c9f8348/attachment.html>


More information about the ecodp-dev mailing list