With this plugin you can automatically generate a new Digital Object Identifier (DOI) for any new post you publish and automatically register it on DataCite.
A new DOI is generated when a new post is published (drafts are ignored). All information needed to generate the DOI is automatically retrieved from the post being published.
As of the current version, the new DOI submitted to DataCite contains the following information:
- "doi": generated automatically based on the prefix and suffix declared in the settings of this plugin, plus the publication year, the issue number and the number of the post (e.g. 10.5438/0012/2021-1-2)
- "url": the permalink to the post
- "creators": the list of the authors. If the plugin coauthors plus is installed, the complete list of authors is retrieved.
- "titles": the title of the post.
- "publicationYear": the year in which the post has been published.
- "publisher": the name of the journal (website), retrieved from the general settings of WordPress (Settings -> General).
- "descriptions": a one line sentence with the name of the journal, the issue and year (e.g. "CoolJournal, 3 (2021)"). The issue number is calculated automatically based on the periodicity of the journal, declared in the settings of this plugin, and the month of publication.
- "types": as of now this plugin is aimed at generating DOIs for academic papers in journals, so the types are as follows:
{ "ris": "RPRT", "bibtex": "article", "citeproc": "article-journal", "schemaOrg": "ScholarlyArticle", "resourceTypeGeneral": "Text" }
Once the DOI has been created and registered on DataCite, it is saved as a custom field (
doi
) of the post. To check that the new DOI has been saved, once the article has finished saving the new details, reload the page and check that the doi is listed in the custom fields section of the post.