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.

    MMM-Jnews

    Scheduled Pinned Locked Moved Education
    33 Posts 10 Posters 20.5k Views 8 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.
    • justjim1220J Offline
      justjim1220 Module Developer @cowboysdude
      last edited by

      @cowboysdude

      TOTALLY AWESOME!!!
      Hoping it works with my little podunk towns newspaper! BWAHAHAHAHA! :face_with_stuck-out_tongue_winking_eye: :face_with_stuck-out_tongue_winking_eye: :face_with_stuck-out_tongue_winking_eye:

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

      1 Reply Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @cowboysdude
        last edited by

        @cowboysdude

        This might be a dumb question…
        Why am I needing the API for wunderground???

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

        cowboysdudeC 1 Reply Last reply Reply Quote 0
        • B Offline
          barnosch
          last edited by

          Guess its a classical Copy&paste error.

          One line above:

          Get your free API key here
          [https://newsapi.org/)

          Wunderground would make no sense here, you are right.

          I will give it a try. Looks nice.

          1 Reply Last reply Reply Quote 1
          • B Offline
            barnosch
            last edited by barnosch

            Do you plan to add more sources manually?

            Currently there are only the top-headlines implemented. Which is good enough.
            But, i would like to add some more (from the newsapi page) like wired or TechCrunch.

            edit:
            ok after testing i really would like to add the sources in an array maually if possible, since there are the very unuseful BILD news in the top-headlines.

            And some cosmetics stuff: the date stuff “1hour ago” and so on i static and not translated.
            No problem for me, just for the notes ;)

            Thanks for the module.

            cowboysdudeC 1 Reply Last reply Reply Quote 2
            • cowboysdudeC Offline
              cowboysdude Module Developer @barnosch
              last edited by

              @barnosch Feel free then do a pull request :) That would be pretty awesome!!

              1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer @justjim1220
                last edited by

                @justjim1220 Well because the wunderground key isn’t good for anything else so may as well try it here LOL

                justjim1220J 1 Reply Last reply Reply Quote 2
                • J Offline
                  jeffreyking
                  last edited by yawns

                  Hi I am new to this and I did so I think all that is to be done and it still do not work tell me to config.js file

                                   {
                                           module: 'MMM-Jnews'
                                               config: {
                  	                             apiKey: "my api", 
                                                       image : true, [default is false, Raspberry Pi's don't like the images]
                                                       rotateInterval: 25 * 1000 [This is default set to 25 seconds, you can change this if you'd like]
                                          }
                                   }, 
                                   {  
                                           module: 'MMM-MovieListings',
                                                  position: 'top_center',   // This can be any of the regions. Best results in left or$
                                                  config: {
                  					apiKey: 'de1d0b92bb87bncbbbbbbbbbbbbbbbbbbbbbb9f7a57b',
                  					region: 'US',
                  					language: 'EN',
                  					interface: 'poster', //'list', 'poster', 'detailed'
                  					includeMoviePlot: false,
                  					maxPlotLength: 198,
                  					header: 'Movie Listings',
                  					moviesPerPage: 0,
                  					refreshInterval: 1000 * 60 * 60 * 24, //Once a day
                  					baseUrl: 'https://api.themoviedb.org/3/movie/now_playing',
                  					animationSpeed: 2.5 * 1000,
                  					pageChangeInterval: 35 * 1000
                  		         }
                                  },
                  
                  cowboysdudeC bheplerB 2 Replies Last reply Reply Quote 0
                  • B Offline
                    bjoern
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @jeffreyking
                      last edited by

                      @jeffreyking said in MMM-Jnews:

                      Hi I am new to this and I did so I think all that is to be done and it still do not work tell me to config.js file
                      },
                      {
                      module: ‘MMM-Jnews’
                      config: {
                      apiKey: “my api”,
                      image : true
                      }
                      },

                      OK first off you have to go to https://newsapi.org/ and get your api key…the key they give you has to go in between the quotes like this [for example]

                      apiKey : “aabjadjfadfas9adfajsdlfja”

                      The rest of the config should work for you as I’ve rewritten it… use the above example only go get the api and replace “my apikey” with “YOUR KEY” put in quotes that you get from the newsapi.org link :)

                      1 Reply Last reply Reply Quote 0
                      • justjim1220J Offline
                        justjim1220 Module Developer @cowboysdude
                        last edited by

                        @cowboysdude

                        You know I just had to give you some sh** a little bit.

                        It is a nice module, as I suspected, no way to get local news without making some changes to your code.

                        I really like the set up though.

                        Great job! (as usual!) :grinning_face: :grinning_face: :grinning_face:

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

                        cowboysdudeC 1 Reply Last reply Reply Quote 1
                        • cowboysdudeC Offline
                          cowboysdude Module Developer @justjim1220
                          last edited by

                          @justjim1220 said in MMM-Jnews:

                          @cowboysdude

                          You know I just had to give you some sh** a little bit.

                          It is a nice module, as I suspected, no way to get local news without making some changes to your code.

                          I really like the set up though.

                          Great job! (as usual!) :grinning_face: :grinning_face: :grinning_face:

                          Yes it’s news from a bunch of different sources all brought together…

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

                            @cowboysdude said in MMM-Jnews:

                            Yes it’s news from a bunch of different sources all brought together…

                            I’m getting just a little bit tired of all your success. ;-)

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1
                            • B Offline
                              bjoern
                              last edited by

                              Great module. I like it. Question: Some lines of text consist of 3 lines and the next message is 4. As a result, the modules above will always jump “up and down”. Can you set the module to 4 lines and these automatically fill depending on the content? Do you understand what I want to express?

                              cowboysdudeC 1 Reply Last reply Reply Quote 0
                              • bheplerB Offline
                                bhepler Module Developer @jeffreyking
                                last edited by bhepler

                                @jeffreyking -
                                Just in case nobody else mentions it, you should delete the advice in the square brackets from your config.js file. The part that looks like this: [default is false, Raspberry Pi's don't like the images]

                                Delete in the part in the square brackets from the next line as well. They are commentary from the developer.

                                cowboysdudeC 1 Reply Last reply Reply Quote 1
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @bjoern
                                  last edited by

                                  @bjoern I do and I will look at it :)

                                  1 Reply Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @bhepler
                                    last edited by

                                    @bhepler Changed the README.md as this has happened more than once LOL

                                    1 Reply Last reply Reply Quote 1
                                    • J Offline
                                      jeffreyking
                                      last edited by

                                      All working now just had to place a position line in thanks you so much.

                                      1 Reply Last reply Reply Quote 1
                                      • J Offline
                                        jeffreyking
                                        last edited by

                                        How can I make the module larger thank you

                                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @jeffreyking
                                          last edited by cowboysdude

                                          @jeffreyking add this to your custom.css file

                                                 .MMM-Jnews .flex-item {
                                                  font-size: 22px;  
                                                    }
                                          

                                          Make the font-size whatever you want :)

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jeffreyking
                                            last edited by

                                            Thank you what about the picture

                                            cowboysdudeC 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
                                            • 2 / 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