The mwd.xml script has stopped working again. Although most of
m-w.comredirects to
merriam-webster.com, it looks like some has stopped doing so.
A part of the fix is to simply replace m-w.com with merriam-webster.com in
all the urls.
This is a sufficient fix for the popup mode. The normal mode is a little
off. Now the Merriam-Webster page shows the requested word as, "va=word"
instead of "word".
Here's a snippet in Python that demonstrates the issue with m-w.com.
>>> import win32com.client
>>> xmlHttp = win32com.client.Dispatch('Microsoft.XmlHttp')
>>> xmlHttp.open("GET", "http://www.m-w.com/dictionary/word", False)
>>> xmlHttp.send()
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "<COMObject Microsoft.XmlHttp>", line 2, in send
com_error: (-2147352567, 'Exception occurred.', (0, 'msxml3.dll', 'Access is
denied.\r\n', None, 0, -2147024891), None)
But if you try it with merriam-webster.com, you'll get a good response.
>>> xmlHttp.open("GET", "http://www.merriam-webster.com/dictionary/word",
False)
>>> xmlHttp.send()
>>> xmlHttp.responseText[:20]
u'<!DOCTYPE html PUBLI'
--David
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601