| 开发者 | ghego1 |
|---|---|
| 更新时间 | 2026年10月29日 04:49 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
doi custom field of the content, so that your theme can show it. It works with the two registration agencies most used by journals and repositories: DataCite and Crossref. You choose yours in the settings and enter the credentials of your account; the plugin does the rest.
Features
{year}-{issue}-{counter}, gives DOIs such as 10.5438/0012/2021-1-2: the year, the issue number (from the periodicity of the journal) and a progressive number.
The metadata
With the "Enhanced" metadata profile DataCite receives: title, authors (with ORCID iD and affiliation when set in their profile), publisher, publication year and date, resource type, a description with journal, issue and year, and, when enabled, abstract, language, subjects, license and journal (title, ISSN, volume, issue).
The "Classic" profile sends exactly the metadata of version 1.0: generic "Text" type ({ "ris": "RPRT", "bibtex": "article", "citeproc": "article-journal", "schemaOrg": "ScholarlyArticle", "resourceTypeGeneral": "Text" }) and a description with journal, issue and year (e.g. "CoolJournal, 3 (2021)"). Sites configured with a version before 1.1 keep this profile until they change it.
Every DOI is registered with DataCite's technical "source" field set to doi-creator-wp. It is not part of the DOI metadata (it does not appear in citations or in the metadata XML), but it is public: it lets the author of this plugin count, from DataCite's public API, how many DOIs are registered with it.
Crossref
Journals and publishers that are Crossref members can register their DOIs on Crossref. Deposits follow the Crossref schema 5.5.0, are validated against it before being sent, and registrations, metadata updates and error messages have been tested against the Crossref test system. Register some DOIs there before switching to production, and please report anything wrong in the support forum. Each content is deposited as a journal article (Crossref schema 5.5.0) with journal title and ISSN, volume and issue, title, authors with ORCID iD and affiliation (with ROR ID), publication date, abstract, language, Creative Commons license and URL.
Crossref needs your user name (e.g. name@example.org/role) and password, the DOI prefix of your membership and the ISSN of the journal. A Crossref deposit creates the DOI or replaces its metadata, so before registering a new DOI the plugin makes sure that nobody is using it yet.
Crossref processes deposits after receiving them, usually within minutes: those DOIs are shown as pending and the plugin keeps checking until Crossref confirms them.
No. Sites configured with a previous version keep the same DOI format, the same metadata (Classic profile), the same date used for year and issue, and posts as the only content type, until you change these settings.
In the user profile (Users > Profile > DOI metadata), or in the page of a Co-Authors Plus guest author. If your site already stores ORCID iDs in another user field, set its meta key in Settings > DOI creator > Metadata.
Yes: in the content list, filter by "Published without DOI", select the contents and use the "Register DOI" bulk action. Set "Date used for year and issue" to the publication date, so that older contents keep the year and issue in which they were published.
The DOI column and the DOI box show the error returned by the agency, which is also listed in Settings > DOI creator > Activity and in the PHP error log. Temporary errors are retried automatically; after fixing the cause of other errors, use "Register DOI now" in the DOI box.
Crossref accepted the deposit but has not processed it yet, which usually takes minutes. The plugin checks again by itself, more and more rarely, for about two days; "Check now" in the DOI box asks right away.
New DOIs go to the agency chosen in the settings. DOIs registered before keep being updated with the agency that registered them, so changing agency does not touch them.
Filters: doi_creator_work (the metadata of a content), doi_creator_datacite_attributes (the DataCite attributes), doi_creator_url (the URL registered for a content), doi_creator_agencies (the registration agencies), doi_creator_agency (the registration agency). Action: doi_creator_registered (after a DOI is registered).
Another plugin can add a registration agency by extending DoiCreator\Agency\AbstractAgency and declaring it with the doi_creator_agencies filter. Agencies that process submissions later return Result::pending(): the plugin then asks for the outcome with check(), automatically, for about two days.
doi-creator-wp, so that the number of DOIs registered with this plugin can be counted from DataCite's public API. No DOI metadata is changed and no data is sent anywhere else.