MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Newsfeed not displaying on MM

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 1.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      redkittens
      last edited by

      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,
      
      1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy