MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Newsfeed not displaying on MM



  • The default newsfeed module is not displaying when I run MM, and doesn’t say it is loading. It used to work fine. I’ve since made made various edits and added an additional news source and it’s still not working. This is what it looks like in the config.js file:

                    {
                            module: "newsfeed",
                            position: "bottom_bar",
                            config: {
                                    feeds: [
                                            {
                                                    title: "ABC News",
                                                    url: "http://abc.net.au/news/feed/51120/rss.xml",
                                            },
                                            {
                                                    title: "Huffington Post",
                                                    url: "https://www.feedspot.com/infiniterss.php?q=site:http%3A%2F%2Fwww.huffingtonpost.com.au%2Frss%2Findex.xml",  
                                            },
                                    ],
                                    showSourceTitle: true,
                                    showPublishDate: true,
                            }
                    },
            ]
    
    };
    

    and this is what the default newsfeed module looks like:

    Module.register("newsfeed",{
    
            // Default module config.
            defaults: {
                    feeds:
                            {
                                    title: "ABC News",
                                    url: "http://abc.net.au/news/feed/51120/rss.xml",
                                    encoding: "UTF-8"
                            },
                            {
                                    title: "Huffington Post",
                                    url: "https://www.feedspot.com/infiniterss.php?q=site:http%3A%2F%2Fwww.huffingtonpost.com.au%2Frss%2Findex.xml",
                             },
    
                    ],
                    showSourceTitle: true,
                    showPublishDate: true,
                    showDescription: false,
    

  • Project Sponsor

    Dude, I copy & pasted your config.js entry and it came right up. If you’ve modified the newsfeed.js file then you’re going to want to reset it to source.

    Do you get any errors when you type pm2 log 0?
    Do you get any errors in the console when you open the developer tools?


Log in to reply