這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

DOI Creator

外掛說明

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.

Configuration

Before using this plugin it is mandatory to properly define the settings.

The settings page can be accessed from the plugin list page and from the settings menu (“Settings -> DOI creator settings”).

Mandatory information to be specified in the settings are:

  • DOI base: the prefix and suffix of the DOI (e.g. 10.5438/0012)
  • Periodicity: number of months of each issue. In other words, how often a new issue of the journal is published.
  • DataCite credentials: your username and password used to access DataCite. These are stored in your database and are never shared with anyone other than DataCite.

Testing

Before generating and publishing new DOIs, we strongly recommend to run some tests to check that everything runs as expected.

To generate and register DOIs in test mode, you can select the “Use test environment” option under this plugin settings.

All DOIs generated and published while in test mode will be visible only on DataCite Fabrica Test, https://doi.test.datacite.org.

Please note that if your test credentials are different from your production credentials, you must enter them in the settings of this plugin.

Supporting the project

If you find this plugin useful and you would like to contribute to its development, please consider donating.

Feature requests and support

If you would like to see new features added to the plugin, send us your requests through the support forum of the plugin on WordPress.org, and please consider donating to increase the time we can spend coding the plugin.

The plugin is provided as-is without any support. If you really need help, please consider donating and making a support request. We’ll do our best to help those who help us.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈DOI Creator〉的開發相關工作。

參與者

將〈DOI Creator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄