Page 1 of 2

Searches in online dictionaries

PostPosted: Sat May 16, 2009 6:51 am
by quanto
Is it possible to add additional search strings for looking up words in online dictionaries (e.g. Multitran) just like in Wikipedia?

The search string in Multitran for the word "model" is "http://multitran.ru/c/m.exe?CL=1&l1=1&s=model"

I tried to add the following: "http://multitran.ru/c/m.exe?CL=1&l1=1&s=w" in Edit > Dictionaries >Wikipedia but it seems not to work properly.

Any ideas?

Re: Searches in online dictionaries

PostPosted: Sat May 16, 2009 7:58 am
by Gloggy
Oh, this is a *terrific* idea! :) I tried it right away, and also couldn't make it work, unfortunately.

Re: Searches in online dictionaries

PostPosted: Sat May 16, 2009 9:51 am
by ikm
Actually this was in the plans a while ago, but since the plans change all the time, it's not there still. One problem with this though is that such a request would take the whole browser window. That is, a dictionary of this kind couldn't coexist in a group with any other, regular dictionaries. Another thing is that those dictionaries are usually full of advertisements, sidebars, frames and stuff like that, and it also lowers its attractiveness.

p.s. No, you can't hijack wikipedia this way, it uses api.php web api exclusively.

Re: Searches in online dictionaries

PostPosted: Sat May 16, 2009 6:10 pm
by ikm
I found out it was quite simple to implement this feature after all. So since the feature's cool, I've just done it. I'd like to ask everyone to supply more sites to be added to the default ones.

Re: Searches in online dictionaries

PostPosted: Mon May 25, 2009 5:19 pm
by tarasp
It would be great to be able to define an XSLT stylesheet for each site. So GoldenDic would convert HTML to XHTML and apply the stylesheet before showing an article. This way we could strip the article of any "excess" decorations ;)

Re: Searches in online dictionaries

PostPosted: Mon May 25, 2009 5:23 pm
by ikm
It would indeed. I'm accepting patches.

Re: Searches in online dictionaries

PostPosted: Tue Aug 25, 2009 4:45 am
by ety43
I cannot make it work with OED Online. Tried all of the suggested patterns. It searches when mixed in with the other dictionaries as long as I click on a word in the word list but not on its own. The error that it gives reads :"Blank search is not permitted. You must enter a search term." What am I doing wrong here please?

Below is OED's typical query when searching for the word "test":
Code: Select all
http://dictionary.oed.com/cgi/findword?query_type=word&queryword=test&find.x=0&find.y=0&find=Find+word

Re: Searches in online dictionaries

PostPosted: Tue Aug 25, 2009 9:37 pm
by ikm
What %GDWORD% pattern do you use exactly?

Re: Searches in online dictionaries

PostPosted: Wed Aug 26, 2009 12:09 am
by ety43
I have tried a variety:

Code: Select all
http://dictionary.oed.com/cgi/findword?query_type=word&queryword=%GD1251%&find.x=0&find.y=0&find=Find+word
http://dictionary.oed.com/cgi/findword?query_type=word&queryword=%GD1251%
http://dictionary.oed.com/cgi/findword?query_type=word&queryword=%GDISO1%
http://dictionary.oed.com/cgi/findword?query_type=word&queryword=%GDWORD%


Same result: "Blank search is not permitted. You must enter a search term."

Re: Searches in online dictionaries

PostPosted: Wed Aug 26, 2009 6:00 pm
by ikm
Well, it actually says to me that:

The Oxford English Dictionary Online is a subscription service. Access to the Dictionary is only available to users with valid licences.

So I don't really understand how it would work in your case at all. Even if you get to log in there, no cookies are saved across program restarts, so it should've been kinda hard.