Skip to content

Commit

Permalink
[#534] Remove unused configuration flags
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorbaptista committed Apr 22, 2013
1 parent b515fe7 commit b6e4dae
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
3 changes: 0 additions & 3 deletions ckan/config/deployment.ini_tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ who.config_file = %(here)s/who.ini
who.log_level = warning
who.log_file = %(cache_dir)s/who_log.ini

# Location of RDF versions of datasets
#rdf_packages = http://semantic.ckan.net/record/

# Location of licenses group (defaults to cached local version of ckan group)
#licenses_group_url = http://licenses.opendefinition.org/licenses/groups/ckan.json

Expand Down
19 changes: 0 additions & 19 deletions doc/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,21 +192,6 @@ Default value: ``html htm rdf+xml owl+xml xml n3 n-triples turtle plain atom rss
Defines the resource formats which should be loaded directly in an `iframe`
tag when previewing them.

rdf_packages
^^^^^^^^^^^^

Example::

rdf_packages = http://semantic.ckan.net/record/

Configure this if you have an RDF store of the same datasets as are in your CKAN instance. It will provide three sorts of links from each dataset page to the equivalent RDF URL given in `rdf_packages`:

1. 303 redirects for clients that content-negotiate rdf-xml or turtle. e.g. client GETs `http://ckan.net/dataset/pollution-2008` with accept header `application/rdf+xml` ``curl -H "Accept: application/rdf+xml" http://ckan.net/dataset/pollution-2008``. CKAN's response is a 303 redirect to `http://semantic.ckan.net/dataset/pollution-2008` which can be obtained with: ``curl -L -H "Accept: application/rdf+xml" http://ckan.net/dataset/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. e.g. `<a href="http://semantic.ckan.net/record/b410e678-8a96-40cf-8e46-e8bd4bf02684.rdf">`

ckan.dumps_url & ckan.dumps_format
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -230,10 +215,6 @@ Setting both these options according to an established Recaptcha account adds ca

To get a Recaptcha account, sign up at: http://www.google.com/recaptcha

And there is an option for the default expiry time if not specified::

ckan.cache.default_expires = 600

ckan.feeds.author_name
^^^^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 0 additions & 2 deletions test-core.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ckan.auth.create_unowned_dataset=true

ckan.cache_validation_enabled = True
ckan.cache_enabled = False
ckan.cache.default_expires = 200
ckan.tests.functional.test_cache.expires = 1800
ckan.tests.functional.test_cache.TestCacheBasics.test_get_cache_expires.expires = 3600

Expand All @@ -40,7 +39,6 @@ carrot_messaging_library = queue
ckan.site_url = http://test.ckan.net
package_new_return_url = http://localhost/dataset/<NAME>?test=new
package_edit_return_url = http://localhost/dataset/<NAME>?test=edit
rdf_packages = http://test.com/package/
ckan.extra_resource_fields = alt_url

# we need legacy templates for many tests to pass
Expand Down

0 comments on commit b6e4dae

Please sign in to comment.