|
You could modify
the list of web search
engine according to your
requirement. The way is:
- Open "{Lingoes
Installation
Folder}\app_user\webe\webengine.xml"
in Notepad.
- Format of configuration file
base on XML, Each element of
<engine>
is only for one search engine
code, <cata> is engine
team, <lang> means
different language of search
engine team. For example:
Some code of frequently-used
search engine has been list in
the following table, you can
copy them and paste into the
configuration file. If there's
not the codes you need, you can
code them yourself.
<lang
code="en"> <cata> <engine id="google.com" name="Google"
url="http://www.google.com/search?q=[$key]&hl=[$langcode]"
/> <engine id="bing.com" name="Bing"
url="http://www.bing.com/search?q=[$key]"
/> </cata> <cata> <engine id="answers.com"
name="Answers"
url="http://www.answers.com/[$key]"
/> ...... </cata> </lang> <lang code="de"> <cata>
...... </cata> </lang>
code
attribute of
<lang>
element is language of search
engine, e.g. en is English,
fr-FR is French(France), de-DE
is German(Germany), zh-CN is
Simplified Chinese, zh-TW is
Traditional Chinese, ja is
Japanese, ko-KR is Korean(ROK),
and so on. Please refer to
ISO Language Code Table.
- The way is:
First, find out
<lang>
element of specially appointed
language, if no, add a new one:
<lang code="LanguageYouNeed"> <cata>
You can add <engline> line here... </cata> </lang>
Then add a item
<engine> in the
category
<cata>, each
<engine>
refers to one search engine.
- The following table list
configuration code of some
common used engine, you could
copy them into configuration
file. You could write a new one
if it isn't in the table.
The format of calling code
is:
<engine
id="engineID"
name="engineName"
url="searchURL"
codepage="CharacterSetCodePage"
/>
-
id attribute
is filled in exclusive ID
for differing from other
engine, the value is custom,
recommend domain name of
engine as the value.
-
name
attribute is filled in
engine name, the value is
custom and it will appear in
Lingoes.
-
url attribute
is filled in calling code of
search engine, there are 2
variable,
[$key]
refer to keyword;
[$langcode] refer
to language code of current
user interface.
-
codepage
attribute is filled in
Character Set Code of search
engine, the value is Windows
code page defined by
Microsoft.
The attribute is optional.
Default value is UTF-8 code.
If the code isn't UTF-8,
please fill in correct value
according to
CodePage Table,
for example:
The codepage of Western Europe Character Latin 1 is 1252 The codepage of Simplified Chinese GB2312 or GBK is 936 The codepage of traditional Chinese BIG5 is 950 The codepage of Japanese Shift-JIS is 932
- After finish edition of
configuration file and save it,
then run Lingoes again, you
would enjoy your new web search
engine list in Lingoes.
The list of frequently-used web search engine:
Paste your code in the
forum and share them with other guys if you want to do. Come on!
Search Engine |
Google |
<engine id="google.com" name="Google"
url="http://www.google.com/search?q=[$key]&hl=[$langcode]"
/> |
Yahoo |
<engine id="yahoo.com"
name="Yahoo"
url="http://search.yahoo.com/search?p=[$key]&ei=UTF-8"
/> |
Bing |
<engine id="bing.com"
name="Bing"
url="http://www.bing.com/search?q=[$key]"
/> |
Baidu |
<engine id="baidu.com"
name="Baidu"
url="http://www.baidu.com/s?wd=[$key]"
/> |
|
|
Online Dictionaries |
Dictionary.com |
<engine id="dictionary.com"
name="Dictionary.com"
url="http://dictionary.reference.com/browse/[$key]"
/> |
Answers.com |
<engine id="answers.com"
name="Answers.com"
url="http://www.answers.com/[$key]"
/> |
Urban Dictionary |
<engine
id="urbandictionary.com"
name="Urban Dictionary"
url="http://www.urbandictionary.com/define.php?term=[$key]"
/> |
OneLook |
<engine id="onelook.com"
name="OneLook"
url="http://www.onelook.com/?w=[$key]&ls=a"
/> |
Merriam-Webster Online |
<engine id="m-w.com"
name="Merriam-Webster"
url="http://www.m-w.com/dictionary/[$key]"
/> |
Oxford Online |
<engine
id="oxforddictionaries.com"
name="Oxford Dictionaries"
url="http://oxforddictionaries.com/search/english/?direct=1&multi=1&q=[$key]"
/> |
Cambridge Online |
<engine id="cambridge.org"
name="Cambridge Dictionaries"
url="http://dictionary.cambridge.org/search/british/direct/?q=[$key]"
/> |
Longman Online |
<engine id="ldoceonline.com"
name="Longman"
url="http://www.ldoceonline.com/search/?q=[$key]"
/> |
Babylon |
<engine id="babylon.com"
name="Babylon"
url="http://dictionary.babylon.com/[$key]/"
/> |
|
|
dict.cc (en-de) |
<engine id="dict.cc"
name="dict.cc (en-de)"
url="http://www.dict.cc/?s=[$key]"
codepage="" /> |
Rustran (en-ru) |
"Rustran (en-ru)", "http://www.rustran.com/odr.php4?q=1&word=[$key]", 1251 |
goo (en-ja) |
<engine id="goo.ne.jp"
name="goo 辞書"
url="http://dictionary.goo.ne.jp/search.php?MT=[$key]&kind=all"
codepage="" /> |
zKorean (en-ko) |
<engine id="zkorean.com"
name="zKorean (en-ko)"
url="http://www.zkorean.com/dictionary/search_results?direction=ek&word=[$key]"
codepage="" /> |
Dict.cn (en-chs) |
<engine id="dict.cn"
name="dict.cn"
url="http://dict.cn/search.php?q=[$key]&placeholder=Lingoes"
codepage="" /> |
Dr.eye (en-cht) |
<engine id="dreye.com"
name="Dr.eye"
url="http://dict.dreye.com/ews/dict.php?w=[$key]&hidden_codepage=01&ua=dc_cont&project=nd"
codepage="" /> |
|
|
BitEx 日中中日辞書 |
<engine id="bitex-cn.com"
name="BitEx 日中辞書"
url="http://bitex-cn.com/cn/search_result.php?keywords=[$key]&match=contains&deal_type=jp2cn"
/> |
Naver |
<engine id="cndic.naver.com"
name="Naver 韩中词典"
url="http://cndic.naver.com/search/all?q=[$key]"
/> |
汉典 |
<engine id="zdic.net"
name="汉典"
url="http://www.zdic.net/sousuo/?q=[$key]"
/> |
|
|
Online Encyclopedias |
Encyclopaedia Britannica |
<engine id="britannica.com"
name="Encyclopaedia Britannica"
url="http://www.britannica.com/search?query=[$key]"
codepage="" /> |
Wikipedia |
<engine id="wikipedia.org"
name="Wikipedia"
url="http://en.wikipedia.org/wiki/[$key]"
codepage="" /> |
|
|
|
|