Sign up Login
home | you | technology | web 2.0 | podcasts | entertainment | photos | comics | videos
 
Latest from lemonad
 

Search words in Wordnik from Ubiquity

Saturday, October 25, 2008

For people who have installed Ubiquity from Mozilla Labs, here’s a user script that enables you to quickly search for words in Wordnik:

makeSearchCommand({
  name: "Wordnik",
  url: "http://wordnik.com/{QUERY}",
  icon: "http://wordnik.com/media/img/wordnik.ico",
  description: "Searches Wordnik for your words.",
  preview: function(pblock, directObject) {
    var searchTerm = directObject.text;
    var pTemplate = "Searches Wordnik for ${query}";
    var pData = {query: searchTerm};
    pblock.innerHTML = CmdUtils.renderTemplate(pTemplate, pData);
  }
});

I’ve added Ubiquity meta information to this page so that you should see a Firefox bar across the top of the page asking you whether or not to install/subscribe to this script.

...
Original article from http://jonasnockert.com/2008/10/ubiquity-wordnik/
Login to read full articles and enjoy our free features for members.
« Ubiquity code for Jaiku search through Jaikungfu
Ubiquity search for Bloggy.se »
 

Related articles