Extension Schemadotorg


Extension Basics

Title
Schemadotorg
Name
ckanext-schemadotorg
Type
Public extension
Description
The **schemadotorg** extension for CKAN is designed to render organizations and datasets in a forma
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-07-08 13:14:07)
Url to repo
Category
Standards Compliance


Background Infos

Description (long)
Show details

ckanext-schemadotorg

A simple CKAN extension for rendering organizations and datasets in a format that schema.org likes.

Installation (for development)

  • Go to the src folder of your CKAN installation
git clone git@bitbucket.org:leedsdatamill/ckanext-schemadotorg.git
cd ckanext-schemadotorg
python setup.py develop
  • Add schemadotorg to your ckan.plugins section in the .ini file.
  • Add the following in your organization/read_base.html template
{% block scripts %}
  {{ super() }}
  {% if h.sdo_installed() %}
    {% snippet "snippets/organization_sdo.html",organization=c.group_dict %}
  {% endif %}
{% endblock %}
  • Add the following in your package/read.html template
  {% block scripts %}
    {{ super() }}
    {% if h.sdo_installed() %}
      {% snippet "snippets/dataset_sdo.html",package=pkg %}
    {% endif %}
  {% endblock %}
Version
Version release date
(not set)
Contact name
(not set)
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

(for development)

  • Go to the src folder of your CKAN installation
git clone git@bitbucket.org:leedsdatamill/ckanext-schemadotorg.git
cd ckanext-schemadotorg
python setup.py develop
  • Add schemadotorg to your ckan.plugins section in the .ini file.
  • Add the following in your organization/read_base.html template

“` {% block scripts %} {{ super() }} {% if h.sdo_installed() %} {% snippet “snippets/organization_sdo.html”,organization=c.group_dict %} {

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