MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-News

    Utilities
    15
    55
    8052
    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.
    • ?
      A Former User last edited by

      I know there is already newsfeed and MMM-PNews, but I made this for my own purpose and now share with you.

      MMM-News

      MagicMirror module - displaying news articles with News.org API V2

      Features

      • Aggregate headlines from multiple sources at once.
      • Country specific, Category specific, Keyword specific news could be aggregated.
      • Touchable (Clickable) UI supported
      • Can open article page in iFrame and scrollable by touch or autoScroll
      • Controllable by notification
      • Controllable by MMM-TelegramBot
      • Customizable with Template

      Screenshot

      • type:horizontal, touchable:true
        Screenshot

      • type:vertical, touchable:false
        Screenshot

      • detail page is opened
        Screenshot

      • Control by Telegram
        Screenshot

      Details

      cowboysdude justjim1220 2 Replies Last reply Reply Quote 5
      • cowboysdude
        cowboysdude Module Developer @Guest last edited by

        @sean That is FANTASTIC!! Nice job!

        1 Reply Last reply Reply Quote 0
        • justjim1220
          justjim1220 Module Developer @Guest last edited by

          @sean Nice Work Sean!!

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            UPDATED

            • Added : Reader mode. article details without adv. or any other annoying things.

            Screenshot

            1 Reply Last reply Reply Quote 0
            • M
              mrdenmark last edited by

              does anyone know if BBC is a compatible source for this module?
              it works as advertised with all other news sources i’m interested in but from the bbc it receives nothing.
              if for some reason the bbc can’t be used what other british sources of news/sport are people using?

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @mrdenmark last edited by

                @mrdenmark
                0_1574001354168_d39a5dca-ac3b-4958-a1b8-a4775e9e74cd-image.png
                use bbc-news as source.

                1 Reply Last reply Reply Quote 0
                • D
                  dankerthrone last edited by

                  Hey, I’m getting this error message:

                  [NEWS] Error :  https://newsapi.org/v2/top-headlines?pageSize=20&apiKey=XXX result.code:Required parameters are missing. Please set any of the following parameters and try again: sources, q, language, country, category.
                  
                  

                  although I think have that configured correctly:

                  {
                  			module: "MMM-News",
                  			position: "bottom_right",
                  			config: {
                  					apiKey : "XXX",
                  					type: "vertical",
                  					query : [
                  						  {
                  							language: "de"
                  						  }
                  						  ],
                  					items: 20,
                  					timeFormat: "relative",
                  					endpoint :  "https://newsapi.org/v2/top-headlines",
                  					scanInterval: 1000*60*10, // This will be automatically recalculated by number of queries to avoid query quota limit. This could be minimum interval.
                  					templateFile: "template.html"
                  					
                  					}
                  		},
                  

                  Any help is greatly appreciated 🙂

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @dankerthrone last edited by

                    @dankerthrone
                    change language to country

                    1 Reply Last reply Reply Quote 0
                    • uros76
                      uros76 last edited by

                      Hi. Is it possible to have two different queries of news, each displayed in a separate horizontal position?

                      My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                      cowboysdude 1 Reply Last reply Reply Quote 0
                      • cowboysdude
                        cowboysdude Module Developer @uros76 last edited by cowboysdude

                        @uros76 sure it is… see picture below…

                        news.PNG

                        Just using the stock newsfeed in MM…[I DETEST CNN but needed a quick example]
                        You can then use them in the same region or put one each in different regions.
                        The example is both using bottom_bar but I did try and put one in bottom_bar the other in middle_center and still works… 😉

                        [Just remember IF you copy the below code and put it in your config.js it will give you an error… you have to change the quotes “” or ‘’ because they do NOT copy correctly].

                        {
                        			module: 'newsfeed',
                        			position: 'bottom_bar',
                        			config: {
                        				feeds: [
                        					{
                        						title: "CNN",
                        						url: "http://rss.cnn.com/rss/cnn_latest.rss"
                        					}
                        				],
                        				showSourceTitle: true,
                        				showPublishDate: true
                        			}
                        		},
                        		{
                        			module: 'newsfeed',
                        			position: 'bottom_bar',
                        			config: {
                        				feeds: [
                        					{
                        						title: "New York Times",
                        						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                        					}
                        				],
                        				showSourceTitle: true,
                        				showPublishDate: true
                        			}
                        		},
                        
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 1 / 6
                        • 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