• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-newsfeedtouch - News so hot you wanna touch it

Scheduled Pinned Locked Moved Utilities
touchnewsfeed
18 Posts 6 Posters 11.2k Views 7 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.
  • B Offline
    broberg Project Sponsor
    last edited by broberg Feb 22, 2017, 4:45 PM Jan 25, 2017, 10:13 PM

    Description:

    This module caters to you who are running touch mirrors and wants some more information on the headlines without having the description of the headline to be visible the entire time.

    When you touch the Headline, a larger Description of the Headline appears. The Description is set on a timer (set by readInterval, standard read time is 15 seconds) OR you can actively touch the description to close it and load the next Headline.

    Works otherwise exactly as the default news feed module.

    Thanks to @strawberry-3-141 for the help to get me started with this!

    Screenshots:

    0_1485382839334_screenshotnewsfeedtouch.png

    Download:

    [card:brobergp/MMM-newsfeedtouch]


    Version 0.1

    • First release, evaluation needed
    • Get Description on touch
    R 1 Reply Last reply Mar 12, 2017, 7:29 PM Reply Quote 5
    • C Offline
      cowboysdude Module Developer
      last edited by Feb 3, 2017, 3:16 AM

      Looks great!! Can’t wait to get my ir touch frame :)

      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralf @broberg
        last edited by Mar 12, 2017, 7:29 PM

        @broberg
        When I press on the headline, the headline disappears for 15 sec. Thats it.
        Here the config.js:

        {
                                "module": "MMM-newsfeedtouch",
                                "position": "bottom_bar",
                                "config": {
                                        "feeds": [
                                                {
                                                        "title": "n-tv",
                                                        "url": "http://www.n-tv.de/23.rss"
                                                },
                                                {
                                                        "title": "Welt",
                                                        "url": "https://www.welt.de/feeds/topnews.rss"
                                                }
                                        ]
                                },
                                "classes": "default everyone"
                        },
        
        

        This does not work with any rss feed?
        Can you give me a rss link where it works, so I can test.

        B 2 Replies Last reply Mar 12, 2017, 7:56 PM Reply Quote 0
        • B Offline
          broberg Project Sponsor @Ralf
          last edited by Mar 12, 2017, 7:56 PM

          @Ralf if you don’t get anything displayed that means that the rss feed doesn’t have a description specified for the headline, ie no data.

          Try the feed from some big news sources. They usually have descriptions specified.

          1 Reply Last reply Reply Quote 0
          • B Offline
            broberg Project Sponsor @Ralf
            last edited by Mar 12, 2017, 8:05 PM

            @Ralf another thought hits me, is your display horizontal or vertical? If it’s horizontal you might have to change the css a bit

            .infoCenter {
              Top: -400px;
            }
            R 1 Reply Last reply Mar 12, 2017, 8:21 PM Reply Quote 0
            • R Offline
              Ralf @broberg
              last edited by Mar 12, 2017, 8:21 PM

              @broberg the display is horizontal, i changed the custom.css
              changed the rss feed to BBC and NY Times, same result,
              the modul position is “top_bar”, before "bottom_bar,
              Unfortunately no change

              B 1 Reply Last reply Mar 16, 2017, 10:28 PM Reply Quote 0
              • B Offline
                broberg Project Sponsor @Ralf
                last edited by Mar 16, 2017, 10:28 PM

                @Ralf Okey, sorry for the long time away, I have tested your feeds on my own mirror,

                I can’t really find why you don’t get the description,

                try this code in your custom.css

                .infoCenter {
                  position: fixed;
                  top: 10px;
                  z-index: 10;
                }
                

                That should make the description appear right on top of the headline.
                (I also added a higher z-index value in case something is being rendered above it, but it shouldn’t be)

                R 1 Reply Last reply Mar 16, 2017, 11:02 PM Reply Quote 1
                • R Offline
                  Ralf @broberg
                  last edited by Mar 16, 2017, 11:02 PM

                  @broberg Perfect, works great. The description appear now on top of the screen (module position is bottom_bar), but thats right what i want.
                  Looks great. Thanks a lot.

                  B 1 Reply Last reply Mar 16, 2017, 11:10 PM Reply Quote 0
                  • B Offline
                    broberg Project Sponsor @Ralf
                    last edited by Mar 16, 2017, 11:10 PM

                    @Ralf Glad it works, even though it doesn’t work as I thought it would!
                    just a question, are you using another browser to display the MM or is it the built in browser that comes with MM?

                    Since my css code behaves differently for you than it does for me I would really like to know why :D

                    R 1 Reply Last reply Mar 16, 2017, 11:30 PM Reply Quote 0
                    • R Offline
                      Ralf @broberg
                      last edited by Mar 16, 2017, 11:30 PM

                      @broberg I’m still using the built in browser that comes with MM.
                      Strange.

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