Just as a note... dictionary.com is a HORRIBLE site to try to socket definitions from because of the way their HTML is set up.

You're better off using another dictionary site. Search for a word on various sites and then view the page source in your browser. If the lines are short and there is a way you can see to find the definition on the page (such as only the definition line starting with something like <class="definition"> or <font size=+1> or something else that isn't found all over the page), then it would be a good one for using in a script.

Usually, once you find a good site, the difficulty is keeping the verb/noun/etc definitions separated out. But, that's something to mess with after you find a site you like. smile


Invision Support
#Invision on irc.irchighway.net