Created
March 24, 2009 11:50
-
-
Save wwood/84049 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
names: ["texmed_pmid"], | |
arguments: [{role: 'object', nountype: noun_arb_text}], | |
homepage: "http://www.bioinformatics.org/texmed", | |
author: { name: "Ben J. Woodcroft", email: "b.woodcroft@pgrad.unimelb.edu.au"}, | |
contributors: ["Ben J. Woodcroft"], | |
license: "GPL3", | |
description: "Retrieve the bibtex entry for a pubmed identifier.", | |
preview: "Retrieve the bibtex entry for a pubmed identifier.", | |
execute: function(args) { | |
var urlString = ""; | |
var text = new String(args.object.text); | |
urlString = "http://www.bioinformatics.org/texmed/cgi-bin/list.cgi?PMID="+text; | |
Utils.openUrlInBrowser(urlString); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment