Extension talk:Pubmed
Could this be made into a parserfunction call instead of a tag call? i.e. {{#pubmed: pmid}}? This is because I'm trying to call it like this:
<pubmed>Pubmed</pubmed> which dosn't work (for known reasons).
It's an excellent piece of work otherwise!
Cheers, --Dmb 18:44, 17 August 2009 (UTC)
- Dmb - try using it with the tag parser hook like this:
{{#tag:pubmed|content inside tag here}}
-
- Or try Extension:PubmedParser. -- Bovender 07:24, 20 September 2011 (UTC)
- Good tip about the tag parser hook! I was trying to use <pubmed>{{{1}}}</pubmed> within a template. All my citations were rendering as the same list of 4 PMIDs, which I finally figured out were coming from literally passing "{{{1}}}" as the PMID [1]. Switching to {{#tag:pubmed|{{{1}}}}} worked perfectly. --Quantum7 00:11, 25 January 2012 (UTC)
[edit] Just installed it on MW 1.15.1
Using PHP 5.2.8 (cgi-fcgi) & MYSQL 4.1.22-max-log. So far so good. Thanks for the awesome extension!!
[edit] Pubmed SOAP Web Service Isses
This extension may have the same issue I found with the Biblio extension and described here. Recent changes in the data delivered via the Pubmed SOAP Web Service cause the PHP XML Parser to fail if the character set is not correctly configured. This Nusoap included in this extension distribution may need to be modified. It failed the same way Biblio did when I tested. Both the PHP executabe and Nusoap are effected.