Skip to content

Instantly share code, notes, and snippets.

@fantonangeli
Created October 7, 2016 08:02
Show Gist options
  • Save fantonangeli/8ec5f4fe7d5f097dfc3491652b073d04 to your computer and use it in GitHub Desktop.
Save fantonangeli/8ec5f4fe7d5f097dfc3491652b073d04 to your computer and use it in GitHub Desktop.
Wordreference translator ubiquity command
CmdUtils.makeSearchCommand({
name: "WordReference",
url: "http://www.wordreference.com/redirect/translation.aspx?w={QUERY}",
author: {name:"Fabrizio Antonangeli", email:"fabrizio.antonangeli@gmail.com"},
homepage:"http://wordreference.com/",
icon:"http://www.wordreference.com/favicon.ico",
description:"WordReference translator",
parser: {
container: ".WRD tr[id]",
title: ".FrWrd strong",
body: ".ToWrd",
maxResults: 15,
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment