In Category on 11 Oct 2024
Enhancing DCAT support in CKAN (DCAT-AP v3, scheming integration, and more)
A review of the recent developments in CKAN's DCAT support, and how you can get involved
IResourcePreview
interface. This is the same interface as CKAN already uses for built-in previews. (Note that, while most of these are enabled by default, the built-in PDF preview is not. To enable PDF preview, you need to edit the CKAN .ini
file and add pdf_preview
to ckan.plugins
.)
A preview extension must implement three methods:
can_preview
to indicate that it can preview the dataset,preview_template
to return the template for the preview, andsetup_template_variables
to add the data that should be rendered to the template.ckanext
. If you have any questions, let us know on the mailing list and we'll try to help.
A review of the recent developments in CKAN's DCAT support, and how you can get involved
CKAN 2.11 introduces Table Designer: form builder and enforced validation for your data