Questions tagged [dkan]

DKAN is a Drupal based open source project that makes it easier to publish Open Data. If your question is not closely related to programming, please consider asking your question on https://opendata.stackexchange.com.

DKAN is a Drupal based open source project that makes it easier to publish Open Data. It is a complimentary offering to CKAN (another open source Open Data project that currently has a SO tag) in the effort to make data more open and accessible. There's also the major difference that DKAN is built on PHP, where as CKAN is built on Python.

Links and Resources

12 questions
2
votes
1 answer

Where is Project Open Data data.xml format defined

I would like to convert a dataset into Project Open Data data.xml format so that I can ingest in via the DKAN harvester. I know there is data.json format but prefer to use data.xml as the data is already XML and I am comfortable transforming it. I…
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11
1
vote
1 answer

Access denied for user 'root'@'localhost' when accessing DKAN

I installed DKAN and I briefly worked. Then I closed everything and tried to open it again, I got the following error message: The website encountered an unexpected error. Please try again later. Drupal\Core\Database\DatabaseAccessDeniedException:…
CroatiaHR
  • 615
  • 6
  • 24
1
vote
1 answer

How do I consume and display a DCAT file on DKAN

I would like to use DKAN to consume a DCAT file containing a data catalog and display it on the UI but am not sure how to do this or where instructions to do this are documented.
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11
1
vote
1 answer

Add custom CSS in DKAN website for an image / append a class Name to the HTML element in DKAN

I want to add a CSS for the above image like .img{ float : right } how could I add that in the DKAN If I edit the panel it's showing the options like in the following image: or how do I add a class name to the HTML element like in the below…
Semantic
  • 119
  • 1
  • 1
  • 10
1
vote
2 answers

Drush site-install dkan fails - "All parts of a PRIMARY KEY must be NOT NULL"

I'm trying to make a DKAN site via drush, and I'm currently running into some issues with the site-install. I've downloaded drush, dkan, and mysql, and the mysql server is currently running with version mysql Ver 14.14 Distrib 5.7.13, for osx10.11…
Nicholas Tomlin
  • 195
  • 1
  • 3
  • 11
0
votes
1 answer

Having a OpenStreetMap on DKAN

I am trying to have a map shown on the front page of DKAN, but my research has not given me a clear answer if that is even possible. I find DKAN quite not flexible when it comes to these things, but it may be the lack of experience I have. I saw…
CroatiaHR
  • 615
  • 6
  • 24
0
votes
1 answer

Edit Drupal Search Bar Block in DKAN

I'm attempting to put a search block into my Drupal 7 theme. I have included the following into the theme:
reelyard
  • 931
  • 1
  • 8
  • 29
0
votes
1 answer

dkan dataset not displaying drupal 7

Here is what is going on. I have Drupal 7 setup and I'm using the dkan module. What seems to be going on is that every time I click on a item (for example I click on an item like this: http://sitename/?q=dataset/dataset-name), but I get title of the…
0
votes
1 answer

DKAN API CSRF Validation Failed

I'm trying to log into my DKAN instance via the API just through the terminal but I keep getting a CSRF validation failed error. Here's what I'm doing. First I login an collect a CSRF token: curl -X POST -i -H "Content-type: application/json" -H…
reelyard
  • 931
  • 1
  • 8
  • 29
0
votes
1 answer

how to add dataset in Drupal using API

I am very new to DRUPAl and DKAN. I have an existing application built using DRUPAL and DKAN. I want to expose a functionality from this Drupal based application such that it exposes an API using which I can add dataset. This new API will be…
Manish Mehra
  • 1,381
  • 1
  • 16
  • 24
0
votes
2 answers

Dkan Drupal Error after installing field permission module

After installing the Fields Permissions Drupal module in DKAN, an error displays whenever I try to view my catalog of datasets in DKAN. It is fine for me to view individual datasets by navigating to their individual…
user6521240
0
votes
0 answers

How to get the constructor name in Node.js from super class

I have a "super" module in my Node.js application with a constructor and some prototype functions. var parser = function(options, util, cache, url) { this.options = options; this.util = util; this.cache =…
AhmadAssaf
  • 3,556
  • 5
  • 31
  • 42