Read the statement by Michael Teeuw here.
newsfeed
-
@foggy are you editing the correct file?
it looks like your changes are not in the config.js being used
-
@foggy - @sdetweil may be onto something. I jsut added your url to my config.js file and I now get the BBC just fine.
I also wonder whether the "{ " and “}” brackets are required but missing in your feeds array? I have each feed url in its own brackets and it works for me. See my config below, modified to add your BBC url.
@sdetweil - related question: In the[recent] past my system has always restarted Magic Mirror when i commit a change to config.js using control-O, but lately it doesn’t and I have to manually restart MM. Is this expected behavior?
Here is the file MagicMirror/config/config.js now correctly displaying BBC news.
{module: "newsfeed", disabled: false, tableClass: "small", position: "bottom_center", // bottom_center bottom_bar config: { feeds: [ { title: "New York Times", url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml" }, { title: "BBC", url: "https://feeds.bbci.co.uk/news/world/rss.xml"}, { title: "Las Vegas Review Journal", url: "https://www.reviewjournal.com/feed/" }, { title: "Detroit Metro Times", url: "https://www.metrotimes.com/detroit/Rss.xml" }, ], reloadInterval: 600000, // Content fetch interval - 600000 = 10 minutes updateInterval: 15000, //Display new headline interval - default = 10000 milliseconds / 10 seconds showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: false, broadcastNewsUpdates: false } },
-
related question: In the[recent] past my system has always restarted Magic Mirror when i commit a change to config.js using control-O, but lately it doesn’t and I have to manually restart MM. Is this expected behavior?
this is provided by PM2 file change detection… it is inconsistent, and I haven’t found any reason… for me it has NEVER worked on pi, or linux… but used to ALWAYS work on mac… (but now doesn’t as well) …
in my config to setup the MagicMirror app I use a json file that provides that configuration.
I don’t see any change in the pm2 doc for this
{ "apps" : [{ "name" : "MagicMirror", "script" : "/home/pi/MagicMirror/installers/mm.sh", "watch" : ["/home/pi/MagicMirror/config/config.js"] <----- I adjust this for user and path }] }
-
@JohnGalt remember he is running under lxc container
Proxmox/#magicmirror-server-lxcso the files are NOT in exactly the same place… (they are linked into the container is the same logical place)
Proxmox/#magicmirror-server-lxc
-
@sdetweil - Thanks for both the update on the pm2 restart and on the reminder that the OP’s system structure is different.
OK, back to newsfeed behavior…
-
@JohnGalt I think he might be editing the sample
-
Thank you all for your comments. Not sure what I did but the BBC is now working. Please close.
Best wishes.
-
@foggy you close. click the 3 dots to the right, and select mark this post…
-