[ckan-dev] Metadata queries

Timothy Lebo lebot at rpi.edu
Tue May 15 12:19:55 UTC 2012


Ross,

Thanks for responding.

So controlling the metadata RDF requires my own instance of CKAN?

I'm trying to base my work around thedatahub, whose RDF URI dereferencing is slow and has some modeling that I'd like to refine.

Thanks,
Tim

On May 15, 2012, at 5:53 AM, Ross Jones wrote:

> Hi Tim,
> 
> Sorry for the delay in responding to this.
> 
> Not currently no, but it certainly does need documenting and I'll make sure it gets into the 1.7.1 documentation.  To change the format that you wish to return the dataset information in, you can simply override the package/read.rdf template to use whichever vocab you wish to use.  
> 
> Normally this is done as part of an extension, and a recent one was done in https://github.com/okfn/ckanext-ecportal/blob/master/ckanext/ecportal/templates/package/custom_read.rdf the template name is different in this case as the read.rdf switches on a key parameters (see https://github.com/okfn/ckanext-ecportal/blob/master/ckanext/ecportal/templates/package/read.rdf ).
> 
> Apologies again for the lack of documentation, I'll make sure it gets done in this sprint.
> 
> Ross
> 
> 
> On 10 May 2012, at 18:27, Timothy Lebo wrote:
>>> Yes, there is now an RDF format that we return the dataset metadata in (for 1.7) but it is also possible to provide your own template for the RDF output, using whichever vocabs you wish.
>> 
>> Is there more material on how this works?
>> 
>> Thanks,
>> Tim
>> 
>>> 
>>> Ross
>>> 
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> 
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120515/e78af0a8/attachment-0001.html>


More information about the ckan-dev mailing list