[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

url template for wordreference



wordreference.com is a set of translation dictionaries I use quite a
bit.  I've now made my first  url-template for it.  
The way url templates are handled in emacspeak is a beautiful piece of
work by the way.  
I've tested the following but not included it as a patch in
url-templates ... I can do that if it's more convenient.  



(emacspeak-url-template-define
 "wordreference"
 "http://www.wordreference.com/es/translation.asp?tranword=%s&B10=Search&dict=%s";
 (list
  "word"
  "using dictionary")
 #'(lambda nil
     (beginning-of-buffer)
     (search-forward "principal"))
 "Translate a word using wordreference.com. Source and target languages
are specified as two-letter language codes, e.g. fren translates
from french to english. Available dictionaries are: enes, esen, enfr, fren, enit, iten, enen")


-- 
Peter Rayner: LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
address: Bat. 701 LSCE - CEA de Saclay
Orme des Merisiers, 91191 Gif/Yvette
work: +33  (1) 69 08 88 11;	mobile: +33 (6) 75 46 56 52;	 fax: +33 (1) 69 08 77 16
mail-to: peter.rayner@cea.fr

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive