plugin:pubmed2020
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:pubmed2020 [2020-06-05 18:30] – [Authors and licence] eric.maeker@gmail.com | plugin:pubmed2020 [2023-01-12 06:52] (current) – [Authors and licence] 2a01:e34:efb1:3b80:9cb7:a35:3efe:6fdc | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : eric.maeker@gmail.com | email : eric.maeker@gmail.com | ||
type : syntax, render | type : syntax, render | ||
- | lastupdate : 2020-05-26 | + | lastupdate : 2023-01-13 |
compatible : Greebo, Frusterick Manners, Elenor Of Tsort, Detritus | compatible : Greebo, Frusterick Manners, Elenor Of Tsort, Detritus | ||
similar | similar | ||
Line 29: | Line 29: | ||
* Code was rewritten in 2020 due to PubMed new API (see [[https:// | * Code was rewritten in 2020 due to PubMed new API (see [[https:// | ||
* License : Public Domain | * License : Public Domain | ||
- | * Version | + | * Current version |
===== Examples/ | ===== Examples/ | ||
Line 43: | Line 43: | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | **Including article citation into your pages** | + | ==== Basic syntax ==== |
- | The syntax is quite easy: '' | + | * The plugin basic syntax |
+ | * '' | ||
+ | * '' | ||
- | **Using the default options:**\\ | + | |
- | '' | + | |
- | '' | + | * or simply |
- | **Using specific formula:** | + | ==== Including article citation into your pages ==== |
- | '' | + | * **The syntax is quite easy:** |
+ | * '' | ||
+ | * or '' | ||
- | **You can require multiple citations at once (creating a nice HTML list):** | + | |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | For example this list uses the citations used as examples in the Vancouver referencing paper '' | + | * **Using specific format:** |
+ | * '' | ||
+ | * Many predefined citation format are available. You can define yours in the configuration panel and call it using the '' | ||
- | **Including links to pubmed search page** | + | |
- | + | * For example this list uses the citations used as examples in the Vancouver referencing paper '' | |
- | You can also use this plugin to create pubmed search URL. | + | * If you want to automatically sort ID, just start the list with the word //sort// : '' |
- | < | + | |
- | < | + | |
+ | * **Including links to pubmed search page** | ||
+ | * You can also use this plugin to create pubmed search URL. | ||
+ | * You can use //basic// search of terms or | ||
+ | * Complete search with options: //size, format, filter, sort//. You just have to specify options separated with a '' | ||
+ | * < | ||
+ | // Basic search of terms | ||
+ | {{pmid> | ||
+ | {{pmid> | ||
+ | // Search of terms with options | ||
+ | {{pmid> | ||
+ | // Search passing a specific title for the link (just use a # for the first param) | ||
+ | {{pmid> | ||
+ | </ | ||
===== Options ===== | ===== Options ===== | ||
- | ==== Citation | + | ==== Citation |
* The article citation can be automatically included using pre-formatted outputs: | * The article citation can be automatically included using pre-formatted outputs: | ||
- | * **vancouver** : Full Vancouver citation see Vancouver. | + | * **vancouver** : Full Vancouver citation see [[https:// |
* **short** : ISO citation in a short way. | * **short** : ISO citation in a short way. | ||
* **long** : full ISO citation including all authors, article title, journal title, volume, year, month, pages. | * **long** : full ISO citation including all authors, article title, journal title, volume, year, month, pages. | ||
Line 81: | Line 101: | ||
* **long_abstract_pdf** : append the full abstract to the long citation. The abstract can toggled and is hidden by default. If you own the PDF file a link will show. | * **long_abstract_pdf** : append the full abstract to the long citation. The abstract can toggled and is hidden by default. If you own the PDF file a link will show. | ||
* **long_tt_abstract_pdf** : same as long_tt_abstract_pdf but with translated title (if exists) | * **long_tt_abstract_pdf** : same as long_tt_abstract_pdf but with translated title (if exists) | ||
- | * or **user** defined : you can define you own citation | + | |
+ | * **title** : only title | ||
+ | * **year** | ||
+ | * **date** month and year | ||
+ | * **journal** : only journal title | ||
+ | * **journaliso** : only journal iso title | ||
+ | * **doi_link** : only DOI link | ||
+ | * **listgroup** : Bootstrap ready list-group output (useful with bootstrap3 template) | ||
+ | | ||
* Provides by default a link to the PubMed page and to the free full text in PMC if exists. | * Provides by default a link to the PubMed page and to the free full text in PMC if exists. | ||
==== User defined citation ==== | ==== User defined citation ==== | ||
- | You can define in the configuration a simple string to define your own citation | + | You can define in the configuration a simple string to define your own citation |
^ Token ^ Content | ^ Token ^ Content | ||
| %pmid% | | %pmid% | ||
+ | | %pmcid% | ||
| %type% | | %type% | ||
| %authors% | | %authors% | ||
Line 120: | Line 149: | ||
| %localpdf% | | %localpdf% | ||
- | ^ Hard coded formula | + | ^ Hard coded format |
- | | **short** | + | | **short** |
- | | **long** | + | | **long** |
- | | **long_pdf** | + | | **long_pdf** |
- | | **long_abstract** | + | | **long_abstract** |
- | | **long_abstract_pdf** | + | | **long_abstract_pdf** |
- | | **long_tt** | + | | **long_tt** |
- | | **long_tt_pdf** | + | | **long_tt_pdf** |
- | | **long_tt_abstract** | + | | **long_tt_abstract** |
- | | **long_tt_abstract_pdf** | + | | **long_tt_abstract_pdf** |
+ | |||
+ | ==== Defining citation format for one document ==== | ||
+ | |||
+ | * Use the following command '' | ||
==== Styling==== | ==== Styling==== | ||
- | You can change the style of your citation. Please take a look at the style.css file for further information. | + | * You can change the style of your citation. Please take a look at the '' |
===== Using local PDF ===== | ===== Using local PDF ===== | ||
- | You get a direct link to your media PDF files of publications. You have to save the PDF files in the media directory: '' | + | |
+ | * You get a direct link to your media PDF files of publications. You have to save the PDF files in the media directory: '' | ||
===== Specific commands ===== | ===== Specific commands ===== | ||
* Some more commands are available: | * Some more commands are available: | ||
- | * **test** only for devs | + | * '' |
- | * **raw_medline** show the retrieved MedLine code. {{pmid> | + | |
- | * **clear_raw_medline** : clear all cached Medline files | + | |
- | * **remove_dir** : remove the cache directory (by default / | + | |
- | * **recreate_cross_refs** : recreate the crossref (DOI <-> PMID) | + | |
- | * **full_pdf_list** : show all available PDF (see specific doc) | + | * '' |
- | * To use these commands, use this syntax: '' | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * To use these commands, use this syntax: | ||
+ | * '' | ||
+ | * '' | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
* This plugin comes with some configuration parameters: | * This plugin comes with some configuration parameters: | ||
- | * Default citation | + | * Default citation |
- | * Default user defined | + | * Default user defined |
- | * Default authors limitation in Vancouver | + | * Default authors limitation in Vancouver |
* Default string replacement of authors over the Vancouver author limitation | * Default string replacement of authors over the Vancouver author limitation | ||
+ | * Twitter user name to use in the Tweet URLs (via @UserName) | ||
+ | * You use URL shorteners for the creation of the Twitter weblinks | ||
===== Development ===== | ===== Development ===== |
plugin/pubmed2020.1591374626.txt.gz · Last modified: 2020-06-05 18:30 by eric.maeker@gmail.com