Oeasy 发表于 2015-9-2 18:13:56

GoldenDict 添加在线词典[20150902]

本帖最后由 Oeasy 于 2015-9-2 21:29 编辑

GoldenDict 添加在线词典
接 GoldenDict 的下载、安装、使用https://www.pdawiki.com/forum/forum.php?mod=viewthread&tid=14072
效果图,来自 Hugh
https://www.pdawiki.com/forum/data/attachment/album/201509/01/132257xnq3q9g7qyih9hyv.png
设置方法
https://pdawiki.com/forum/data/attachment/album/201509/02/212917zcl9fklb88sibldm.png
---------------------------
其实在 GoldenDict 里,我不太使用在线词典,不过看有这方面的需求,整理一下。
理论上,任何查询类网站,比如百度百科、**词典等等,都可以如法炮制,添加到 GoldenDict 中,做法其实就是添加一个URL地址,把查询词替换为“%GDWORD%”就可以了。更详细的做法,可以查看 GoldenDict 帮助文件。
Here you can add any website which allow to set target word in url. To add such site you should set it url with target word template, name for dictionaries list and set mark in "Enabled" column. In the "Icon" column you can set custom icon for this site. If you add icon file name without path GoldenDict will search this file in configuration folder.
Target word can be inserted into url in next encodings::
Target word template
Encoding
%GDWORD%
UTF-8
%GD1251%
Windows-1251
%GDISO1% ... %GDISO16%
ISO 8859-1 ... ISO 8859-16 respectively
%GDBIG5%
Big-5
%GDBIG5HKSCS%
Big5-HKSCS
%GDGBK%
GBK and GB 18030
%GDSHIFTJIS%
Shift-JIS


主要步骤,菜单【编辑】->【词典】->【词典来源】->【网站】选项卡,点击【添加】。想查看详细帮助信息的话,可以点击下方的“帮助”。

https://pdawiki.com/forum/data/attachment/album/201509/02/183607t8rizzs5p0222szx.png

实例一:手机版有道词典
调用 http://m.youdao.com/
1. 上图“名称”里填写“有道词典”,“地址”里填写
http://m.youdao.com/dict?le=eng&q=%GDWORD%
2. 注意勾选“已启用”,点击“启用”
https://pdawiki.com/forum/data/attachment/album/201509/02/181957in55h2y7yh5j8594.png
3. 转到【词典】选项卡,看是不是多了个叫“有道词典”的“词典”。
https://pdawiki.com/forum/data/attachment/album/201509/02/182149cjzofxdufvve5sz2.png
4. 可以把这个“有道词典”和其他词典一样,划分到某个词典组里,我这里专门建立一个叫“在线词典”的词典群组。到【群组】选项卡,点击“添加群组”,命名“在线词典”,“确定”
https://pdawiki.com/forum/data/attachment/album/201509/02/182458ou3aco7glttxpoo7.png
https://pdawiki.com/forum/data/attachment/album/201509/02/182459t6yl6y7lyo0ylo6y.png
把“有道词典”移动到“在线词典”这个群组里,点击“应用”或“确定”
https://pdawiki.com/forum/data/attachment/album/201509/02/182618civjvyvv15i1ni1s.png
5. 转到 GoldenDict 主界面,选择“在线词典”这个群组,就可以开始查了,输入“test”,查询效果如图:
https://pdawiki.com/forum/data/attachment/album/201509/02/182831znxygmkl1oo2ggnn.png






相关帖:
meoow 为GoldenDict添加在线有道翻译 https://pdawiki.com/forum/forum.php?mod=viewthread&tid=13924
shipley.wu Goldendict内调用有道词典 https://pdawiki.com/forum/forum.php?mod=viewthread&tid=12758
GoldenDict添加在线词典 http://hechonghua.com/add-online-dict-to-goldendict/

shiningboy 发表于 2015-11-5 11:29:11

按楼主的例子添加了有道及其他一堆在线词典,搜索没有任何返回,我用的GoldenDict-1.5.0-RC-581-g2ab4eea_(QT_551)(64bit)

喵呜 发表于 2016-9-20 10:18:44

请教O大:我想查wordinfo.info这个在线词典。它只有http://wordinfo.info这种域名,而没有https://wordinfo.info。在我这,想查在线词典都得是https://打头的才行。要是http://打头的就不显示。请问O大怎么解决啊?

zhongch 发表于 2017-1-8 09:50:13

我按楼主的方法添加了,可是搜索就是没有反应,郁闷,就差这个功能了。

帝江 发表于 2017-1-9 19:25:53

学习了,依葫芦画瓢增加了金山移动版查询,但是貌似没有有道好用呢.
http://m.iciba.com/%GDWORD%

jackielijia 发表于 2018-2-25 13:31:29

已添加成功,谢谢楼主

logichell 发表于 2018-3-29 06:46:01

http://www.sanskrit-lexicon.uni-koeln.de/scans/awork/apidev/simple-search/v1.0/list-0.2s.html
這邊有大量梵語在線詞典,是否能用呢?

cslijun 发表于 2019-2-22 11:56:57

没有弄成功

George12008 发表于 2019-6-8 11:38:05

mac 用楼主的方法,没有任何返回。

chanceyan 发表于 2019-7-24 22:40:22

D:\Users\Administrator\Desktop\Snipaste_2019-07-24_22-37-03.jpg
o大牛逼啊,学习

Jojen17 发表于 2021-5-23 02:31:30

想问下icon怎么修改呢

afproeaffelix 发表于 2021-12-14 09:48:17

按照操作添加了以后没有任何反应呢?不知道哪里添加的不对还是怎么着?

取名字好难 发表于 2022-5-19 08:42:53

有的可以有的不行是什么原因呢
页: [1]
查看完整版本: GoldenDict 添加在线词典[20150902]