Extension Pubsub


Extension Basics

Title
Pubsub
Name
ckanext-pubsub
Type
Public extension
Description
WIP: Instant notifications for datasets.
CKAN versions
Download-Url (zip)
Last commit
11 years ago (2014-11-10 16:41:46)
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

[WIP] ckanext-pubsub

THIS PLUGIN IS CURRENTLY UNFINISHED.

Intro

ckanext-pubsub is a CKAN extension that notifies user when datasets change or new ones are added. It does this in one of three ways:

  • You can add some words, and when a new dataset is added, if it matches some percentage of the terms - you get email.
  • You can choose to watch specific datasets, and get notified when they change via email.
  • It notifies a pubsubhubbub server whenever a dataset is published, or substantially modified [1] with a link to the Atom feed.

Installation

To install this extension you should first activate the virtualenv that runs your CKAN instance and then run the following command.

 pip install -e git+https://github.com/rossjones/ckanext-pubsub.git#egg=ckanext-pubsub

For development you should check out the code into a useful location as follows (again, as long as the virtualenv is activated)

 git clone git://github.com/rossjones/ckanext-pubsub.git
 cd ckanext-pubsub
 python setup.py develop

Configuration

Add the plugin to the ckan.plugins setting in your CKAN .ini file

ckan.plugins = … subpub

Restart your web-server, probably apache

sudo apache2ctl restart

Testing

To run the tests for ckanext-pubsub you should run the following command from the folder where you installed ckanext-subpub. This is only really useful if you installed by cloning from git.

nosetests

Is it any good?

No. It currently does nothing.

[1] A new resource added, for instance

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


Installation Guide

Configuration hints

To install this extension you should first activate the virtualenv that runs your CKAN instance and then run the following command.

 pip install -e git+https://github.com/rossjones/ckanext-pubsub.git#egg=ckanext-pubsub

For development you should check out the code into a useful location as follows (again, as long as the virtualenv is activated)

 git clone git://github.com/rossjones/ckanext-pubsub.git
 cd ckanext-pubsub
 python setup.py develop
Plugins to configure (ckan.ini)
subpub Restart your web
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions