Read the statement by Michael Teeuw here.
MMM-eswordoftheday not showing words
-
Being a novice at MM and js, I’m slowly building my knowledge while trying to figure this out!
I’ve discovered the Developers Window but am not yet clear on what all it does!
I have found this, though, and it seems to indicate that the return from https://www.spanishdict.com/wordoftheday is blank / null.
My current hypothesis is that the website has changed something but I am pretty much going by trial and error as I’m way out of my depth so if anyone can throw any light I’d be very grateful!
-
@rgn01 very good detective work!
now we need the module author to figure out how to fix this.
u can open an issue on the module github page
-
@sdetweil thank you. Yup, I figured that out, too! A steep learning curve but well worth it!
As you say, hopefully the module author can assist. :crossed_fingers:
-
Author (@daniel-windsor) has responded on the Git issue I logged - and has said he will try to fix - so :crossed_fingers:
https://github.com/daniel-windsor/MMM-eswordoftheday/issues/2
Thanks all!
-
Unfortunately I have not heard from Daniel again. I have tried editing the code but am waaaaay out of my depth!
Does anyone know of an alternative, or be willing to have a go to fix this, please?
-
Great news - Daniel has fixed it and has the details on his GitHub …
Fix was so easy to implement once he posted that. I simply edited the updated the node_helper.js file as follows:
//const container = $(".entry--1qTEOKKt")[0]; const container = $("._1qTEOKKt")[0];
Then rebooted.
@daniel-windsor, thank you, sir!
-
@daniel-windsor it appears the site has changed once again. I have tried using your module and it is not working. Just showing the 1. and 2. followed by blanks. I have tried searching for the specific container that your node_helper.js file is pulling from but I cannot. A little help please?
-
@shurtugal I have forked the module and made some changes and it is working. You can clone my fork until I submit the PR to the module creator and he accepts the changes. Not sure if this will fix the issue of things changing in future but fixes the issue for now.
You can find the fork here.
https://github.com/mumblebaj/MMM-eswordoftheday.git