[ckan-discuss] Calling license URL
david.read at okfn.org
Sat Apr 10 11:37:19 BST 2010
CKAN now gets its licenses from a centralised license server so you
can get the URLs from here too.
John, is there some documentation about the license service that we
can put into the CKAN docs? There's only the initial specs, ticket and
a brief readme that I know about ( /doc which gets built to
In the meantime Lauren, here's what you need: CKAN is setup to access
the license server by a URL in the ckan config file, in your case
So you can convert 'canada-crown' (which is how it's stored in the
package) to the human readable version 'Canadian Crown Copyright'. And
all the license properties like openness and URL are given here too.
It's in JSON format.
Currently CKAN checks this URL when the vhost is started - usually
when apache is restarted, so I suggest you do something along these
Hope that helps,
On 10 April 2010 00:44, Lauren Bacon <lauren at raisedeyebrow.com> wrote:
> Hello all,
> I have a possibly stupid question… Hope it won't elicit groans around the
> world. :)
> Is there a way to call in the license URL via the CKAN API? We're not seeing
> it in the data we called in.
> If it's not currently available via the API, it would be really nice to
> have; I'd love to put a "more info" link next to the license type on the
> package info screen.
> Lauren Bacon | Partner
> Raised Eyebrow Web Studio, Inc.
> T. 604.684.2498, ext. 4 | E. lauren at raisedeyebrow.com
> UFCW Local 1518
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
More information about the ckan-discuss