CKAN Revision Feed

CKAN provides an Atom feed to get updates on edited and created datasets and resources. By default, the feed can be found at {portal-url}/revision/list?format=atom.

In the Python code example I accessed the feed using the feedparser package. The titles of the feed entries are of the following form:

r863bfa65-bfed-40b1-b6ee-e78275be3283 [ra2014:updated:resources]: REST API: Update Objekt ra2014

I used the information within the square brackets: ra2014 is the internal dataset name, updated tells you if the dataset is created or updated and the third value, resources, appears only if a resource of the dataset has been edited.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s