[ckan-discuss] Bot to update tags to new conventions?

Tim McNamara paperless at timmcnamara.co.nz
Tue May 24 00:08:57 BST 2011


I actually took the liberty of using ISO codes as well as the country's name
for many of the packages I recently amended and created. With the exception
of the United States' packages, which are tagged `country.us`, `country.usa`
and `country.united-states-of-america`.

Tim


On 23 May 2011 21:22, Rufus Pollock <rufus.pollock at okfn.org> wrote:

> On 22 May 2011 07:30, Tim McNamara <paperless at timmcnamara.co.nz> wrote:
> > I think it would be easy/useful to script a bit which would iterate
> through
> > packages looking for examples of the tag conventions and changing them to
> > the new ones:
> > country-united-kingdom => country.united-kingdom
>
> I think we should move to: country.{2-digit-iso-code} i.e. country.gb.
> For iso codes see:
>
> <http://ckan.net/package/iso-3166-2-letter-country-codes> and it's
> links e.g. to <http://opencountrycodes.appspot.com/>
>
> > access-ftp => access.ftp
>
> In a way that tag could deprecated now that we have formats on resources
> ...
>
> Rufus
>
> > I'm happy to do this.
> > Tim
> >
> > _______________________________________________
> > ckan-discuss mailing list
> > ckan-discuss at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-discuss
> >
> >
>
>
>
> --
> Co-Founder, Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age
> http://www.okfn.org/ - http://blog.okfn.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20110524/1ffa1a44/attachment.htm>


More information about the ckan-discuss mailing list