Create a gist now

Instantly share code, notes, and snippets.

A pubmed search plugin for ubiquity that works with Ubiquity 0.5. Inspired by
/* This is a template command. */
names: ["pubmed"],
icon: "",
description: "Searches <a href=''>pubmed</a>.",
help: "type 'pubmed something', enter. The something is like searching from the front page of PubMed",
author: { name: "Ben J. Woodcroft", email: "b.woodcroft near"},
license: "GPL",
arguments: [{role: 'object', nountype: noun_arb_text}],
execute: function execute(args) {
var urlString = ""+args.object.text;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment