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.

    News module wiht pictures

    Scheduled Pinned Locked Moved Requests
    17 Posts 3 Posters 5.6k Views 3 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.
    • S Offline
      Sven1894
      last edited by

      I would like to include a rss-feed with pictures from a local newspaper in my MagicMirror. The module MMM-PNews looks exactly like I would like to have it but unfortunately you can only add feeds from this site, where my feed isn’t included. I couldn’t find a common module where you can add your own feeds. Does anyone know any module which does the same or something similar? Or is it possible to change the MMM-PNews module to display own rss-feeds? I took a look at the JavaScript code of the module but I couldn’t figure out a way to add own feeds.
      Thanks for your help and tipps!

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

        What is your feed? MMM-PNews is something I wrote :)

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          Sven1894 @cowboysdude
          last edited by

          @cowboysdude Hey thanks for your answer!
          This is the link to the feed: https://www.badisches-tagblatt.de/LokalesBadenBaden.rss

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

            @Sven1894 Let me take a look at it! :) Be happy to. Should have something for you by tomorrow at some point :)

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

              That should work for you :)
              Instead of News Source I put the author as the news source doesn’t change.

              Capture.PNG

              S 1 Reply Last reply Reply Quote 3
              • S Offline
                Sven1894 @cowboysdude
                last edited by

                @cowboysdude Wow thank you so much! :) It works really good, thank you! :)

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

                  @Sven1894 If the language is off let me know so we can change it… I’m talking about for example ‘2 Tage vor’…want to make sure it’s correct.

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

                    @cowboysdude

                    You’re so awesome!

                    Create a working config
                    How to add modules

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

                      @Mykle1 said in News module wiht pictures:

                      @cowboysdude

                      You’re so awesome!

                      I know, right? LOL

                      1 Reply Last reply Reply Quote 1
                      • S Offline
                        Sven1894 @cowboysdude
                        last edited by

                        @cowboysdude Here’s a list of the translation errors that I noticed:

                        • ‘2 Jahre vor’ is correctly ‘vor 2 Jahren’
                        • ‘1 Jahr vor’ is correctly ‘vor 1 Jahr’
                        • ‘2 Monate vor’ is correctly ‘vor 2 Monaten’
                        • ‘1 Monat vor’ is correctly ‘vor 1 Monat’
                        • ‘2 Wochen vor’ is correctly ‘vor 2 Wochen’
                        • ‘1 Woche vor’ is correctly ‘vor 1 Woche’
                        • ‘2 Tage vor’ is correctly ‘vor 2 Tagen’
                        • ‘1 Tag vor’ is correctly ‘vor 1 Tag’
                        • ‘2 Std vor’ is correctly ‘vor 2 Std’ or ‘vor 2 Stunden’ - ‘Std’ is the abbreviation for ‘Stunde’ or ‘Stunden’
                        • ‘2 Protokoll vor’ (I think that should stand for minutes?) - is correctly ‘vor 2 Minuten’
                        • ‘1 Minute vor’ is correctly ‘vor 1 Minute’
                        • ‘2 seconds vor’ is correclty ‘vor 2 Sekunden’
                        • ‘1 seconds vor’ is correctly ‘vor 1 Sekunde’

                        I was able to correct it myself. The rest seems all correct.
                        Thank you for the effort you put in this! :)

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

                          @cowboysdude I noticed another error: If no author is specified in an RSS entry, the entry will not be displayed. When the first entry of the feed has no author, the module won’t display anything till an entry with an author is loaded.
                          I fixed the bug myself but wanted to let you know about it anyway :)

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

                            @Sven1894 said in News module wiht pictures:

                            Jahren

                            I will make those corrections after work tonight and post back so you can do a git pull to update :)

                            S 1 Reply Last reply Reply Quote 1
                            • S Offline
                              Sven1894 @cowboysdude
                              last edited by

                              @cowboysdude Alright thanks :)

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

                                @cowboysdude Is it possible to put the date, author and so on under the picture? I think it would look better there :)

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

                                  Not really. It’s written as a flex-container so 3 divs can be put side by side.

                                  You can play with it if you want :) Can’t get into too much trouble as it’s on github and if it gets messed up you can always just go get it and copy over the messed up files :)

                                  How to update:

                                  ~MagicMirror/modules/MMM-YourNews
                                  in that directory type: ‘git pull’

                                  That should give you the new version with no errors for no author :)

                                  S 1 Reply Last reply Reply Quote 1
                                  • S Offline
                                    Sven1894 @cowboysdude
                                    last edited by

                                    @cowboysdude alright thank you :)

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

                                      @Sven1894 You’re Welcome!

                                      1 Reply Last reply Reply Quote 1

                                      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 / 1
                                      • 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