1.海词
http://api.dict.cn/ws.php?utf8=true&q=#{word }
返回格式XML
<?xml version="1.0" encoding="UTF-8" ?>
<dict>
<key>word</key>
<lang>ec</lang>
<audio>http://dict.cn/mp3.php?q=efVw7</audio>
<pron>wə:d</pron>
<def>n. 词,单词,消息,诺言 vt. 用词语表达</def>
<sent>
<orig>Could we have a word before you go to the meeting?</orig>
<trans>你去开会之前,咱们能私下说句话吗?</trans>
</sent>
<sent>
<orig>Tell me what happened in your own words.</orig>
<trans>用你自己的话把发生的事情告诉我。</trans>
</sent>
<sent>
<orig>My friend sent word that he was well.</orig>
<trans>我朋友捎来口信说他很好。</trans>
</sent>
</dict>
<dict>
<key>word</key>
<lang>ec</lang>
<audio>http://dict.cn/mp3.php?q=efVw7</audio>
<pron>wə:d</pron>
<def>n. 词,单词,消息,诺言 vt. 用词语表达</def>
<sent>
<orig>Could we have a word before you go to the meeting?</orig>
<trans>你去开会之前,咱们能私下说句话吗?</trans>
</sent>
<sent>
<orig>Tell me what happened in your own words.</orig>
<trans>用你自己的话把发生的事情告诉我。</trans>
</sent>
<sent>
<orig>My friend sent word that he was well.</orig>
<trans>我朋友捎来口信说他很好。</trans>
</sent>
</dict>
2.爱词霸
http://dict-co.iciba.com/api/dictionary.php?w=#{word }
返回格式XML
写道
<?xml version="1.0" encoding="UTF-8"?>
&l
&l