• 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.

Default newsfeed - make list?

Scheduled Pinned Locked Moved Requests
14 Posts 3 Posters 7.3k 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.
  • P Offline
    Pade2204
    last edited by Pade2204 Jan 15, 2018, 4:56 PM Jan 15, 2018, 4:55 PM

    I just tried your code, with default setting (copy/paste into newsfeed.js)

    It looks like this when the feed is loading. Then it counts down and show 1 lines less every second? Is that in purpose?

    Feed at startup

    1 Reply Last reply Reply Quote 0
    • D Offline
      doubleT Module Developer
      last edited by Jan 15, 2018, 4:58 PM

      Yes, but you forgot the custom.css.

      1 Reply Last reply Reply Quote 0
      • P Offline
        Pade2204
        last edited by Pade2204 Jan 15, 2018, 5:15 PM Jan 15, 2018, 5:10 PM

        I have the custom.css file in modules/default/newsfeed/
        :/

        and tried to name it custom.css and newsfeed.css

        1 Reply Last reply Reply Quote 0
        • D Offline
          doubleT Module Developer
          last edited by Jan 15, 2018, 5:18 PM

          The lines are ment for MagicMirror/css/custom.css – just add them.
          Alternatively, add this function in the module (probably after start: function():

          getStyles: function() {
          	return [
          		this.file('custom.css')
          	]
          },
          
          P 1 Reply Last reply Jan 15, 2018, 6:48 PM Reply Quote 0
          • P Offline
            Pade2204 @doubleT
            last edited by Jan 15, 2018, 6:48 PM

            Thanks. This is great. Now it works with .css file.

            But:

            It does not show the headers title for instance “CNN” - and no timestamps? Is it possible to add short timestamp before the news headline?

            These have no effect:
            showSourceTitle: true,
            showPublishDate: true,

            And 1 last thing - Do you control the speed of the sliding somewhere - Or maybe just slide in new entries when you reach max entries?

            Thanks, man!

            1 Reply Last reply Reply Quote 0
            • D Offline
              doubleT Module Developer
              last edited by Jan 15, 2018, 6:53 PM

              As I said, this is nowhere near complete, just playing around. Speed is the same as in the config. The rest can be done. I’ll look into it.

              P 1 Reply Last reply Nov 10, 2018, 12:10 AM Reply Quote 0
              • P Offline
                Pade2204
                last edited by Jan 15, 2018, 7:05 PM

                Thanks man. Its really nice of you.

                Thnaks!

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pade2204
                  last edited by Feb 2, 2018, 3:40 PM

                  Had any time to look into this?

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pade2204 @doubleT
                    last edited by Nov 10, 2018, 12:10 AM

                    @doublet said in Default newsfeed - make list?:

                    As I said, this is nowhere near complete, just playing around. Speed is the same as in the config. The rest can be done. I’ll look into it.

                    doublet, any chance you have time to fix this? Thanks.

                    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