MagicMirror Forum

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

    Adding a second news feed.

    Troubleshooting
    4
    25
    8321
    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
      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

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        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
          ChrisEW last edited by

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

          Mykle1 1 Reply Last reply Reply Quote 1
          • Mykle1
            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
              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
                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

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • R
                  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
                    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

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • R
                      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
                        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

                        Create a working config
                        How to add modules

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