writemonkey / wm3

165 stars 5 forks source link

Wordnik no longer works #296

Closed jmcd040 closed 5 years ago

jmcd040 commented 5 years ago

I get a pane with the little circular arrow at the bottom, but no content. For the last week, I was getting definitions but no more, now I don't get any content. My internet access is working. Any ideas?

writemonkey commented 5 years ago

It seems Wordnik made some changes to its APIs.

In plugins/Wordnik/wordnik.js in line 127 change:

options.includeRelatedTypes.replace(/\n+/g, '') to options.includeRelatedTypes.replace(/\s+/g, '')

so "n" must be changed to "s".

Also in plugins/Wordnik/package.json set

includeReverseDictionary to false as this feature doesn't work any more. It will be available again, though. (according to Wordnik)

i.

jmcd040 commented 5 years ago

That worked! Thanks,