Extension:Pubmed

The Pubmed extension can fetch literature data from scientific articles stored in PubMed (www.pubmed.org), and generate a reference list or box. The extension can create, in addition to the primary data like author, article title, journal, year, pages, etc., links like back to PubMed or to WorldCat.org by ISSN or to the full text at the publisher's page (if a DOI is specified). Further links can be defined using the layout template.

Usage
PubMed-ID or search string


 * Example:

15980568 will result:

 Andreas Bohne-Lang, Wolf-Dieter Groch, René Ranzinger

AISMIG--an interactive server-side molecule image generator. Nucleic Acids Res.: 2005, 33(Web Server issue);W705-9 [PubMed:15980568] [WorldCat.org] [DOI] (I p) Pubmed can be combined quite elegantly with the Cite extension to produce in-text citations and an automatically numbered list of PubMed references, like the following:

==References== .
 * 1) place "Pubmed" directory in.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Configuration
$wgPubmedCache="/tmp/pubmedcache"; enables cacheing of the Pubmed article data in a directory

$wgPubmedLimit=0; means that you get all articles a search query returns (remember the Pubmed limit of 500 articles) $wgPubmedLimit=10 sets the global limit of max retrieved articles to ten / can override the global setting

$wgPubmedLayoutFile="layout_ext.def"; sets the global default layout file can override the default setting

$wgPubmedLayoutLinks="PMID,WORLDCAT,EZB,DOI"; sets default link includes

--

... sets a limit of max data set that should be listed if there are more than one

 ... sets an alternative layout template file

Tips & Tricks

 * Fetch the latest 15 really published (not EPub ahead of print) publications from your department
 * "Medical Faculty Mannheim"[AD] AND "2011"[DP] AND pubstatusppublish


 * Latest publication about "real" science ;-)
 * 21133407, 6418270, 7819986

Changelog
Version 1 - SOAP interface
 * 01.12.2008: small bugfix in SOAP class
 * 07.07.2009: Add ProxyUser and ProxyPassword to code area that handles a SOAP proxy connection
 * 28.04.2010: Try to code a work around for the mismatch encoding information in the SOAP-data coming from Pubmed. Adding 2 new variables: $wgPubmedSOAP="nusoap"; that can be "auto or nusoap" and $wgNUSOAPencodinghack=true; At the moment only $wgPubmedSOAP="nusoap" is working correctly.
 * 28.12.2010: Fix Pubmed changing in Title: Unfixed 'Array' occurs in titel. This is fixed in layout.inc.php now.
 * 08.02.2011: Fix Pubmed changing in ["MedlineCitation"]["PMID"]["_"]: Cache function was worry about...
 * 11.02.2011: Version is outdated and not longer supported. Please update to version 2.

Version 2 - fcgi interface
 * 11 Feb 2011: Doing a complete redesign of the API. The SOAP-interface (used in Version 1) of Pubmed causes more problems than clouds in the sky. The redesigned extension uses the fcgi-interface and xml.
 * 11 Feb 2011B: Minor bugfix in proxy authentification (if user uses a proxy with login)
 * 07 Mar 2011: Minor bugfix: if Limit was set to 0 now it takes the max 500 (before it took 0) records.
 * 11 Apr 2011: Add CollectiveName to authorlist. E.g. see PubMed:18391952 and "Diabetes Genetics Initiative" and "Wellcome Trust Case Control Consortium" in authorlist.
 * 25.01.2012: Modification by Spencer Bliven in Date fild extraction.
 * 24.05.2017: Minor bug fixes that come with STRICT mode on Mac port.
 * 18 Jul 2018: changing http:// to https:// for outleading links

Version 3 - json interface (experimental)

 Bohne-Lang A, Groch WD, Ranzinger R AISMIG--an interactive server-side molecule image generator. Nucleic Acids Res: 2005 Jul 1, 33(Web Server issue);W705-9 PMID:15980568 PubMed:15980568 [ISSN WorldCat.org][ESSN WorldCat.org]http://DOI DOI ( p)
 * 18 Jul 2018: Version 3 connects to the json api and is smaller as version 2 that interfaces the xml api. At this time Pubmed offers a json api for esummery (and not efetch) only. The advantage of this version is that there is no dependency to xml.
 * You could test this version next to the other after installing by by changing wgPubmedPath to $wgPubmedPath="extensions/Pubmed3";

Usage examples
Most wikis are only used in Intranet but some are available from Internet:
 * http://ucxray.berkeley.edu/wiki/index.php/Publications
 * https://php.med.unsw.edu.au/embryology Wiki sites Embryology from Mark Hill
 * http://bsd.neuroinf.jp Brain Science Dictionary project in Japanese. With some modifications.

Publication
Bohne-Lang, Andreas and Lang, Elke A landmark in biomedical information: many ways are leading to PubMed ''Information und Wissen: global, sozial und frei? - Proceedings des 12. Internationalen Symposiums f&uuml;r Informationswissenschaft (ISI 2011); Hildesheim, 9.—11. March 2011'' / hrsg. von Joachim Griesbaum, Thomas Mandl, Christa Womser-Hacker Boizenburg : vwh, 2011, S. 496-7, (Schriften zur Informationswissenschaft; Bd. 58), ISBN: 978-3-940317-91-9 Conference poster (in english)

Contact
Andreas Bohne-Lang Medical Faculty Mannheim of the University Heidelberg Computational Center/Library Ludolf-Krehl-Str. 13-17 68167 Mannheim Germany E-mail: andreas.bohne-lang@medma.uni-heidelberg.de