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.

    Adding a second news feed.

    Scheduled Pinned Locked Moved Troubleshooting
    25 Posts 4 Posters 13.3k Views 4 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.
    • C Offline
      ChrisEW
      last edited by

      Hi folks:

      Complete newbie here.

      I am really weak on coding, but the other day I did manage to add a second feed on my bottom bar. It was nice, because they alternated every few seconds.

      { and }.

      I’ve used npm run config:check but am getting nowhere. I am currently running OK with the single news feed.
      Thanks in advance.

      Chris

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @ChrisEW
        last edited by

        @ChrisEW

        {
        	disabled: false,
        		module: "newsfeed",
        		position: "bottom_bar",
        		config: {
        			updateInterval: 28 * 1000,
        			feeds: [
        				{
        					title: "New York Times",
        					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
        				},
        				{
        					title: "ANOTHER NEWSFEED HERE - CHANGE THE URL BELOW",
        					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
        				},
        				{
        					title: "ANOTHER NEWSFEED HERE - and so on and so forth",
        					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
        				},
        				],
        				showSourceTitle: true,
        				showPublishDate: true
        			}
        		},
        

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 2
        • C Offline
          ChrisEW
          last edited by

          Thanks so much. A simple comma was missing, who knew?.

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @ChrisEW
            last edited by

            @ChrisEW said in Adding a second news feed.:

            Thanks so much. A simple comma was missing, who knew?.

            You’re welcome.

            Those damned comma’s! :^)

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIJOSROBERTO
              last edited by RIJOSROBERTO

              hello hope all are well another nubie here lol , iam trying to find out how I can replace the new times news feed with this new news feed because I have no clue how to get it to look like the wording that the current news feed has lol any help would be a blessing thanks ,

              http://www.wpbf.com/article/rss/3381423

              top stories and if its possible on magic mirror the weather videos as well especially this one wich would be better then the feed , http://www.wpbf.com/nowcast

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @RIJOSROBERTO
                last edited by

                @rijosroberto
                top stories is

                http://www.wpbf.com/topstories-rss

                weather vids is

                http://feeds.hearstdigitalstudios.com/wsi_app_feed_wpbf.xml

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RIJOSROBERTO
                  last edited by

                  thank you going to try it now , ,
                  I need to learn how to make those lol ,

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by

                    click on the link in the web page to select it (where the page says ‘XML’) , and then copy the URL (address) line

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RIJOSROBERTO
                      last edited by RIJOSROBERTO

                      oooo ok , thank you ,
                      so far everything loads up but the live news feed it says loading , so far 5 min have past

                      update seems to be stuck at loading , the live video feed

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @RIJOSROBERTO
                        last edited by

                        @rijosroberto might be an error…

                        alt-spacebar, n to minimize the mirror screen and see the console log in the terminal window where u did npm start (this will show the debug/errors from the node_helpers)…

                        and/or ctrl-shift-i (letter i) to open the debug console, select the console tab
                        (this will show the debug from the modules)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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