Extension Datasetsnippets


Extension Basics

Title
Datasetsnippets
Name
ckanext-datasetsnippets
Type
Public extension
Description
CKAN plugin to serve dataset detail pages and search as snippets to be included elsewhere
CKAN versions

~2.9.10

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
a month ago (2025-11-27 13:50:30)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

ckanext-datasetsnippets

Tests Code Coverage

This plugin belongs to a set of plugins for the Datenregister – the non-public CKAN instance that is part of Berlin’s open data portal daten.berlin.de. ckanext-datasetsnippets provides markup snippets for dataset pages and dataset search. These snippets can be loaded from the data portal’s public CMS to handle all requests for datasets.

The plugin implements the following CKAN interfaces:

Requirements

This plugin has been tested with CKAN 2.9.10 (which requires Python 3).

API

The Snippet API has the following two endpoints:

/snippet/dataset

This is the search endpoint of the snippet API, which is equivalent to /dataset in the regular CKAN UI. Without additional parameters, this returns markup for the paginated list of all datasets. Parameters (search facets, ordering etc.) can be use to restrict the result. The parameters are identical to the regular CKAN search parameters.

/snippet/dataset/<id>

This is the dataset detail endpoint of the snippet API, which is equivalent to /dataset/<id> in the regular CKAN UI. <id> is the name or id of a dataset.

Parameters

Both endpoints allow a root_breadcrumb parameter to set the root

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

The plugin introduces the following configuration options:

Plugins to configure (ckan.ini)
datasetsnippets
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions