Skip to content

This is an enhancement for CKAN to cite data in different citation styles using DOI

Notifications You must be signed in to change notification settings

HafeezOJ/CKAN-Data-Citation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CKAN-Data-Citation

This is an enhancement for CKAN to cite data in different citation styles using Digital Object Identifier (DOI) from Datacite. This code can be customized for use in any CKAN instance especially CKAN 2.8 and above. A different approach to selecting page elements is required on instances of CKAN earlier than version 2.8. You have to install Sheming datasets extension for CKAN to follow the approach below.

• Edit additional_info.html: line 22 - add id="{{ h.scheming_language_text(field.label) }}" to field properties @/usr/lib/ckan/default/src/ckanext-scheming/ckanext/scheming/templates/scheming/package/snippets/additional_info.html

• Edit plugin.py @/usr/lib/ckan/default/src/ckanext-iitatheming/ckanext/iitatheming/plugin.py: add toolkit.add_resource('fanstatic', 'iitatheming') to line 14

• Create dataset_citation.js and citation_styles.js /usr/lib/ckan/default/src/ckanext-iitatheming/fanstatic/

• Edit read.html @/usr/lib/ckan/default/src/ckanext-scheming/ckanext/scheming/templates/scheming/package/read.html: to include the following {% block package_notes %} {% resource 'iitatheming/dataset_citation.js' %} {% resource 'iitatheming/citation_styles.js' %}

Citation: APA Harvard MLA Vancouver Chicago IEEE

About

This is an enhancement for CKAN to cite data in different citation styles using DOI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%