MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    UNSOLVED Newsfeed not displaying on MM

    Troubleshooting
    2
    2
    350
    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
      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
      • bhepler
        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy