[ckan-changes] commit/ckan: dread: [doc, config]: #1088 update docs for new sematic.ckan.net format.

Bitbucket commits-noreply at bitbucket.org
Tue May 31 11:46:08 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/44a77910641e/
changeset:   44a77910641e
branches:    
user:        dread
date:        2011-05-31 13:46:01
summary:     [doc,config]: #1088 update docs for new sematic.ckan.net format.
affected #:  2 files (232 bytes)

--- a/ckan/config/deployment.ini_tmpl	Mon May 30 12:15:41 2011 +0100
+++ b/ckan/config/deployment.ini_tmpl	Tue May 31 12:46:01 2011 +0100
@@ -75,8 +75,7 @@
 ckan.enable_call_timing = false
 
 # Location of RDF versions of packages
-# e.g. rdf_packages = http://semantic.ckan.net/package/
-rdf_packages =
+#rdf_packages = http://semantic.ckan.net/record/
 
 # Location of licenses group (defaults to local Python licenses package)
 #licenses_group_url = http://licenses.opendefinition.org/2.0/ckan_original


--- a/doc/configuration.rst	Mon May 30 12:15:41 2011 +0100
+++ b/doc/configuration.rst	Tue May 31 12:46:01 2011 +0100
@@ -58,15 +58,15 @@
 
 Example::
 
- rdf_packages = http://semantic.ckan.net/package/
+ rdf_packages = http://semantic.ckan.net/record/
 
 Configure this if you have an RDF store of the same packages as are in your CKAN instance. It will provide three sorts of links from each package page to the equivalent RDF URL given in `rdf_packages`:
 
-1. 303 redirects for clients that content-negotiate rdf-xml. e.g. client GETs `http://ckan.net/package/pollution-2008` with accept header `application/rdf+xml`. CKAN's response is a 303 redirect to `http://semantic.ckan.net/package/pollution-2008`
+1. 303 redirects for clients that content-negotiate rdf-xml or turtle. e.g. client GETs `http://ckan.net/package/pollution-2008` with accept header `application/rdf+xml` ``curl -H "Accept: application/rdf+xml" http://ckan.net/package/pollution-2008``. CKAN's response is a 303 redirect to `http://semantic.ckan.net/package/pollution-2008` which can be obtained with: ``curl -L -H "Accept: application/rdf+xml" http://ckan.net/package/pollution-2008``
 
-2. Embedded links for browsers that are aware. e.g. `<link rel="alternate" type="application/rdf+xml" href="http://semantic.ckan.net/package/pollution-2008">`
+2. Embedded links for browsers that are aware. e.g. `<link rel="alternate" type="application/rdf+xml" href="http://semantic.ckan.net/record/b410e678-8a96-40cf-8e46-e8bd4bf02684.rdf">`
 
-3. A visible RDF link on the page in the 'Alternative metadata formats' box. e.g. `<a href="http://semantic.ckan.net/package/pollution-2008">`
+3. A visible RDF link on the page. e.g. `<a href="http://semantic.ckan.net/record/b410e678-8a96-40cf-8e46-e8bd4bf02684.rdf">`
 
 
 cache_validation_enabled

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list