# Oxford Dictionaries 2024

**URL:** <https://forum.freemdict.com/t/topic/33025>\
**Category:** 词典装饰排版交流分享\
**Tags:** ⭐star\
**Created:** [2024 年10 月 19 日 02:11 UTC](https://forum.freemdict.com/t/topic/33025 "2024-10-19T02:11:05Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

作者： ![shiruxue](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@shiruxue](https://forum.freemdict.com/u/shiruxue)\
发布日期： [2024 年10 月 22 日 01:02 UTC](https://forum.freemdict.com/t/topic/33025/121 "2024-10-22T01:02:56Z")

</div>

> [@meandmyhomies](#):
>
> 一开始加的是英汉 不区分 (现在加了美英两种发音）

英美发音能在css或js里设置吗？即：蓝色喇叭英音，红色喇叭美音，既可以同时出现，也可以只出现一种？还有，再给喇叭加上动画效果就更好了。

---

<div class="post-metadata">

作者： ![Howie](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/h/9fc29f/32.png) [@Howie](https://forum.freemdict.com/u/Howie)\
发布日期： [2024 年10 月 22 日 01:38 UTC](https://forum.freemdict.com/t/topic/33025/122 "2024-10-22T01:38:24Z")

</div>

序号错位，内容无显示

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/c/0/c004483307270c60aa67620b8435f0d55224d02f.png)  
序号错位，内容显示  
 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/2/e/2e2a8f948ce6379705853633c4fac8403ba59dd0.png)

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 01:51 UTC](https://forum.freemdict.com/t/topic/33025/123 "2024-10-22T01:51:16Z")

</div>

序号没有错位，内容重复，删除了。  
你要看重复内容么 😂

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 02:36 UTC](https://forum.freemdict.com/t/topic/33025/124 "2024-10-22T02:36:02Z")

</div>

UK US 颜色细微区分了：

![image](https://forumcdn.freemdict.com/uploads/default/original/3X/7/1/715778268552f9830bab2dfddfb446332a46c2c4.png)

**更新css, js**

---

<div class="post-metadata">

作者： ![mrmusavi](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/e495f1/32.png) [@mrmusavi](https://forum.freemdict.com/u/mrmusavi)\
发布日期： [2024 年10 月 22 日 04:38 UTC](https://forum.freemdict.com/t/topic/33025/125 "2024-10-22T04:38:22Z")

</div>

> [@meandmyhomies](#):
>
> 一开始加的是英汉 不区分 (现在加了美英两种发音）  
> 同义词里面应该区分，更新了js

there is no audio icon for the examples in each entry, using MDICT!! should i change anything?especially when i use different dics in group list but when i open individually i can see audio icons

---

<div class="post-metadata">

作者： ![Hazuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hazuki/32/82206_2.png) [@Hazuki](https://forum.freemdict.com/u/Hazuki)\
发布日期： [2024 年10 月 22 日 04:43 UTC](https://forum.freemdict.com/t/topic/33025/126 "2024-10-22T04:43:33Z")

</div>

> [@Shiro](#):
>
> 一个释义的definition，相同的保持不变，UK独有的用蓝色背景的span，US独有的用红色背景的span。短短的一句释义色彩缤纷，差异一目了然

好像可以用别人已经实现的代码做这个，可以尝试一下。不过效果不知道怎么样，对于大多数词条应该还是不错的，少数词条才有很大的结构上的差异。

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 05:08 UTC](https://forum.freemdict.com/t/topic/33025/127 "2024-10-22T05:08:10Z")

</div>

mdict 貌似完全不支持，所以。。。。

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 05:09 UTC](https://forum.freemdict.com/t/topic/33025/128 "2024-10-22T05:09:36Z")

</div>

html 或者 xml diff 试过，但是很丑。适合机器读。

---

<div class="post-metadata">

作者： ![Hazuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hazuki/32/82206_2.png) [@Hazuki](https://forum.freemdict.com/u/Hazuki)\
发布日期： [2024 年10 月 22 日 05:16 UTC](https://forum.freemdict.com/t/topic/33025/129 "2024-10-22T05:16:36Z")

</div>

有结果图吗，用的是哪个库？看看效果怎么样。

现在的差集实现… 也不是特别优雅直观

---

<div class="post-metadata">

作者： ![jiangws](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/jiangws/32/18560_2.png) [@jiangws](https://forum.freemdict.com/u/jiangws)\
发布日期： [2024 年10 月 22 日 05:18 UTC](https://forum.freemdict.com/t/topic/33025/130 "2024-10-22T05:18:54Z")

</div>

音标后的发音，UK和US，能否有空统一下？工程巨大的😀

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 05:24 UTC](https://forum.freemdict.com/t/topic/33025/131 "2024-10-22T05:24:19Z")

</div>

> [@Hazuki](#):
>
> 现在的差集实现… 也不是特别优雅直观

很久前试过， [Python API — xmldiff documentation](https://xmldiff.readthedocs.io/en/stable/api.html)  
差异可以mark up,就是视觉效果很差。

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 05:30 UTC](https://forum.freemdict.com/t/topic/33025/132 "2024-10-22T05:30:42Z")

</div>

弄好了，更新css即可。

---

<div class="post-metadata">

作者： ![jiangws](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/jiangws/32/18560_2.png) [@jiangws](https://forum.freemdict.com/u/jiangws)\
发布日期： [2024 年10 月 22 日 06:41 UTC](https://forum.freemdict.com/t/topic/33025/133 "2024-10-22T06:41:17Z")

</div>

So fast, big thanks.

 ![Screenshot_2024-10-22-14-39-24-93_75a5fa3d482633fb16bc28d8c4374029](https://forumcdn.freemdict.com/uploads/default/original/3X/c/d/cd31b16fd0e3b5d5bba5df6f7a34c20050e803d4.jpeg)

---

<div class="post-metadata">

作者： ![Martinz](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/martinz/32/73240_2.png) [@Martinz](https://forum.freemdict.com/u/Martinz)\
发布日期： [2024 年10 月 22 日 07:19 UTC](https://forum.freemdict.com/t/topic/33025/134 "2024-10-22T07:19:50Z")

</div>

This is a great work! The dictionary is getting to somewhere close to be perfect

---

<div class="post-metadata">

作者： ![Hazuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hazuki/32/82206_2.png) [@Hazuki](https://forum.freemdict.com/u/Hazuki)\
发布日期： [2024 年10 月 22 日 10:18 UTC](https://forum.freemdict.com/t/topic/33025/135 "2024-10-22T10:18:24Z")

</div>

写了一个试试看，只是跑了一下 diff 没有做任何优化。可以优化的地方有很多，比如缩小范围到释义部分。

视觉效果感觉还可以，就是好像不是很有必要做对比，分开两本词典也差不多，加不加这个功能还有待考虑。

 ![Screenshot 2024-10-22 at 18.18.49](https://forumcdn.freemdict.com/uploads/default/original/3X/e/5/e55058c3649cee3cfacf1f47478d4ea598d73640.jpeg)

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 10:21 UTC](https://forum.freemdict.com/t/topic/33025/136 "2024-10-22T10:21:05Z")

</div>

很赞！

用的什么软件，这个就是看起来比较精神分裂。。。。

另外，第一个例句貌似错位了，也就是说，不一定排在第n的US例句就是UK的第n个例句。。。

这两个问题解决了（对应和显示）  
就最优解了

---

<div class="post-metadata">

作者： ![Hazuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hazuki/32/82206_2.png) [@Hazuki](https://forum.freemdict.com/u/Hazuki)\
发布日期： [2024 年10 月 22 日 12:39 UTC](https://forum.freemdict.com/t/topic/33025/137 "2024-10-22T12:39:18Z")

</div>

用的是这个 [htmldiff-js - npm](https://www.npmjs.com/package/htmldiff-js)，代码框架我已经弄好了 [htmldiff.zip](https://forum.freemdict.com/uploads/short-url/yeersOC7XksMG2kErL2J0M8DozX.zip) (45.1 KB)。

例句相较于释义变化太大了，像上面图里的例句，相同的只有 the 和 fortuitous，放在一块对比没有多大意义。

---

<div class="post-metadata">

作者： ![meandmyhomies](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/958977/32.png) [@meandmyhomies](https://forum.freemdict.com/u/meandmyhomies)\
发布日期： [2024 年10 月 22 日 12:42 UTC](https://forum.freemdict.com/t/topic/33025/138 "2024-10-22T12:42:45Z")

</div>

例句里面如果有差异也很少。关键是完全不同的两个例句 不能互相 diff，会成non-sense.

例句只要找到全句差集就行了，不能一个字一个字对比。

---

<div class="post-metadata">

作者： ![扬州三月烟雨](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/%E6%89%AC/e56c9b/32.png) [@扬州三月烟雨](https://forum.freemdict.com/u/%E6%89%AC%E5%B7%9E%E4%B8%89%E6%9C%88%E7%83%9F%E9%9B%A8)\
发布日期： [2024 年10 月 22 日 13:00 UTC](https://forum.freemdict.com/t/topic/33025/139 "2024-10-22T13:00:36Z")

</div>

漂亮的有点不像话了。 😃

---

<div class="post-metadata">

作者： ![Samuel123](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/samuel123/32/68117_2.png) [@Samuel123](https://forum.freemdict.com/u/Samuel123)\
发布日期： [2024 年10 月 24 日 13:53 UTC](https://forum.freemdict.com/t/topic/33025/140 "2024-10-24T13:53:35Z")

</div>

楼主的版本很漂亮，内容也很丰富。想请问一下，如何做到默认首先显示英汉词典？

[上一页](https://forum.freemdict.com/t/topic/33025.md?page=6)

[下一页](https://forum.freemdict.com/t/topic/33025.md?page=8)
