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 16.1k 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 Do not disturb
                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 Do not disturb
                    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 Do not disturb
                        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
                        • R Offline
                          RIJOSROBERTO
                          last edited by RIJOSROBERTO

                          ok ,
                          I noticed I had the yellow http:// and the one I copied and pasted so I just erased the blue one and left the yellow one and just rebooted to see

                          update ok so far the video feed one just says about the storie and who wrote the storie , it doesn’t show the live feed , trying the regular one now, that one works perfect , still would love the live feed tho any ideas ?

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @RIJOSROBERTO
                            last edited by sdetweil

                            @rijosroberto i am guessing the RSS module doesn’t know about non-text content…

                            from the news items

                            media:content url=
                            
                            

                            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

                              mmmm how can I fix that ? its a fresh install of noobs , and the raspian that the installer recommends , would I need to download a player or some sorts ?

                              1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil
                                last edited by

                                the code doesn’t know about anything but the text of the items…

                                you would have to change the code, and use some player, and … I don’t know what else

                                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

                                  I suck at coding so that would take me 20 years to at least get a little half way lol is there an alternative

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @RIJOSROBERTO
                                    last edited by

                                    @rijosroberto said in Adding a second news feed.:

                                    is there an alternative

                                    no idea

                                    i am a MM newbie

                                    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

                                      me too , I know they have a module called iframe that can be used to open up smart tiles , but I tried it and it didn’t work for the live feed maybey I did it wrong tho , but it makes me think if mm is able to watch live camara feeds it should be able to watch the news

                                      I found this one that iam trying now hopefully it works
                                      https://github.com/maxenxe/MMM-RSS-FEED

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @RIJOSROBERTO
                                        last edited by

                                        @rijosroberto no… that one doesn’t process the media link either

                                        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

                                          this one opens it up like a web page
                                          https://github.com/alberttwong/MMM-iFrame

                                          but no vid I would have to resize it to fit the whole screen , it beats the purpose , of using a pi

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

                                            do you kno if theres away to go back to the pm2 save ? iam guessing when it saves it backs up?

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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