Table of Contents

PubMed2020 Plugin

Compatible with DokuWiki

Greebo, Frusterick Manners, Elenor Of Tsort, Detritus

plugin Retrieves and creates publication citations from NCBI PubMed

Last updated on
2023-01-13
Provides
Syntax, Render
Repository
Source

Similar to doi, pubmed

Tagged with citation, medical, pubmed, references, science

Description

This plugin retrieves the MedLine description of articles and books recorded in the NCBI PubMed and the PMC database and allow users to easily include article citation into their DokuWiki pages. The MedLine content is cached in the media directory of your wiki. This plugin is 100% compatible with the new citation interface of PubMed (as of 05/2020).

This plugin is perfectly adapted to dokuwiki farms and works with PHP 5.6+.

Authors and licence

Examples/Usage

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually. The local plugin directory must have the same name as the plugin is named, otherwise the plugin won't work properly.

Syntax

Basic syntax

Including article citation into your pages

Options

Citation format

User defined citation

You can define in the configuration a simple string to define your own citation format. The following tokens are available.

Token Content
%pmid% PMID with a link to pubmed citation
%pmcid% PMCID with a link to pubmed PMC citation
%type% Type of the citation (“article”, “book”)
%authors% All authors (complete lastname)
%authorsVancouver% All authors (initials lastname)
%first_author% Only first author +/- “et al”
%corporate_author% Author collective
%title% Title of the article
%title_tt% Translated title in the original language of the publication
%book_title% Title of the Book
%collection_title% Title of the collection
%copyright% Copyright
%country% Country
%lang% Language of the article
%journal_iso% ISO Journal title (abbrev)
%journal_title% Full Journal title
%journal_id% Journal ID
%iso% Self computed ISO citation
%so% Medline ISO citation
%vol% Volume
%issue% Issue
%year% Year
%month% Month
%pages% Pages
%abstract% Abstract (togglable)
%doi% DOI of the publication
%pii% PII of the publication
%journal_url% Link to Journal web site using the DOI
%pmc_url% If available, link to free PDF of the article.
%abstractFr% Show french translated abstract (see specific doc)
%localpdf% Add link to local PDF file (see specific doc)
Hard coded format Content
short %first_author%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url%
long %authors%. %title%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url%
long_pdf %authors%. %title%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %localpdf% %tweet%
long_abstract %authors%. %title%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %abstract% %abstractFr% %tweet%
long_abstract_pdf %authors%. %title%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %abstract% %abstractFr% %localpdf% %tweet%
long_tt %authors%. %title_tt%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %tweet%
long_tt_pdf %authors%. %title_tt%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %localpdf% %tweet%
long_tt_abstract %authors%. %title_tt%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %abstract% %abstractFr% %tweet%
long_tt_abstract_pdf %authors%. %title_tt%. %iso%. %pmid%. %pmcid% %journal_url% %pmc_url% %abstract% %abstractFr% %localpdf% %tweet%

Defining citation format for one document

Styling

Using local PDF

Specific commands

Configuration and Settings

Development

Change Log

Report Bugs and Issues

Please use the github repository to adress any comments, issues or wishes.

Roadmap

Discussion