Read the statement by Michael Teeuw here.
MMM-NewsAPI
-
@mumblebaj sent you a pm chat
-
@swvalenti if u look in the developers window, console tab, are there any errors?
is the module listed in the sources list, and is the content in the elements tab, but maybe marked display:none?
-
@sdetweil I got it all squared away thanks Sam!
-
Will MMM-NewsAPI allow displaying full articles in an iFrame?
-
@mwm341 said in MMM-NewsAPI:
Will MMM-NewsAPI allow displaying full articles in an iFrame?
Maybe an answer:
Gonna try splicing template.html into a responsive iFrame.Wish me luck!
-
@mwm341 It is not setup for that at the moment but, you are more than welcome to make a PR. :winking_face:
-
The following updates have been made to the module. Please feel free to do a git pull and then an npm install in the module directory.
-
Removed the request module and replaced with node-fetch due to request being deprecated.
-
Update to the config.js. You have to remove the following line from you config.js.
className: "News"
- The CSS has been changed to avoid conflicts with other modules. Hence the above className is no longer required and must be removed from the config.js.
-
-
Hey there - thanks for offering this module (NewsAPI). It works so far really well.
But I noticed that the module doesn’t refresh the news as I am forcing it based on my config.
The
fetchInterval:
is set to 1800*1000 // 30 minutes, but I still receive news that are 5 days old.
Only if I restart the MM (npm start
) it is pulling the recent news.And as you can see in the screenshot below, the NewsAPI doesn’t receive requests, as I’m actually expecting all 30min.
-
@mz-ber Hi. I just had a look and mine is running fine and has the latest articles. Can you set
debug: true
in the config to see if it pulls new articles or if an error is returned? I have not run my mirror the past few days due to power issues hence my stats are low but I have been running it all day today and will check back on the stats. Let me know if you see anything in debug mode please.
-
Thanks for getting back. I set
debug: true
in the config and it is indeed pulling recent articles.