Import and export plugins for RDMO. Included are plugins for maDMP, DataCite (Kernel 4.3), and the Radar metadata schema.
Since the RDMO questionaires and the domain does not contain all information needed for maDMP, DataCite, or Radar, the exports will not produce valid files. We will fix this in the future.
Please visit the RDMO documentation for detailed information.
Please note that the re3data plugin was moved to a seperate repository.
Install the plugins in your RDMO virtual environment using pip (directly from GitHub):
pip install git+https://github.com/rdmorganiser/rdmo-plugins
Add the rdmo_plugins
to the INSTALLED_APPS
in config/settings/local.py
:
from . import INSTALLED_APPS
INSTALLED_APPS = ['rdmo_plugins'] + INSTALLED_APPS
Add the export plugins to the PROJECT_EXPORTS
in config/settings/local.py
:
from django.utils.translation import ugettext_lazy as _
from . import PROJECT_EXPORTS
PROJECT_EXPORTS += [
('madmp', _('as maDMP JSON'), 'rdmo_plugins.exports.madmp.MaDMPExport'),
('datacite-xml', _('as DataCite XML'), 'rdmo_plugins.exports.datacite.DataCiteExport'),
('radar-xml', _('as RADAR XML'), 'rdmo_plugins.exports.radar.RadarExport'),
('radar', _('directly to RADAR'), 'rdmo_plugins.exports.radar.RadarExportProvider'),
('zenodo', _('directly to Zenodo'), 'rdmo_plugins.exports.zenodo.ZenodoExportProvider')
]
Add the import plugins to the PROJECT_IMPORTS
in config/settings/local.py
:
from django.utils.translation import ugettext_lazy as _
from . import PROJECT_IMPORTS
PROJECT_IMPORTS += [
('madmp', _('from maDMP'), 'rdmo_plugins.imports.madmp.MaDMPImport'),
('datacite', _('from DataCite XML'), 'rdmo_plugins.imports.datacite.DataCiteImport'),
('radar', _('from RADAR XML'), 'rdmo_plugins.imports.radar.RadarImport'),
]
After restarting RDMO, the exports/imports should be usable for all projects.