
ckanext-ark
This extension provides minter and resolver of the ARK Identifier. Inspired by ckanext-doi.
Requirements
Compatibility with core CKAN versions:
| CKAN version |
Compatible? |
| 2.8 and earlier |
no |
| 2.9 |
yes |
| 2.10 |
yes |
This extension is compatible with Python 3.8, 3.9, and 3.10.
Installation
To install ckanext-ark:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
- Install the ckanext-ark Python package into your virtual environment:
pip install ckanext-ark
Add ark to the ckan.plugins setting in your CKAN
config file (by default the config file is located at
/etc/ckan/default/ckan.ini).
Add a file templates/package/read_base.html in your custom extension
(or modify /usr/lib/ckan/default/src/ckan/ckan/templates/package/read_base.html if
you are not using a custom extension):
{% ckan_extends %}
{% block secondary_content %}
{{ super() }}
{% snippet "ark/snippets/ark.html" %}
{% endblock %}
- Restart CKAN. For example if you’ve deployed CKAN with Apache on