This script submits Digital Object Identifiers (DOIs) and their associated metadata to DataCite.
- Copy
config/config.ini.example
toconfig/config.ini
and fill out the environment variables. - In
update_minted_public.py
, implement your own logic to construct the URL that the submitted DOI should resolve to. Currently, the script uses thebase_resolve_url
variable to construct this URL.
python3 update_minted_public.py
- updated_minted_public.py - Script for DOI submission
- config/config.ini - Contains environment variables required to run the DOI submission script
- example_files/items.json - List of example items
- item_info_*.json - Example item metadata used to map to DataCite metadata
- {:doi}.txt - (Example TXT file generated for submission to DataCite /doi endpoint)
- {:doi}.xml - (Example XML metadata generated for submission to DataCite /metadata endpoint, reformatted for clarity)
- FAILED_DOI - Folder for holding failed submissions