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

how to pull new element added to an array?

Scheduled Pinned Locked Moved Solved Troubleshooting
57 Posts 4 Posters 18.4k Views 4 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
    sdetweil @justjim1220
    last edited by Oct 19, 2018, 12:46 AM

    @justjim1220 I added all the defined functions and none are called…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 1 Reply Last reply Oct 19, 2018, 12:48 AM Reply Quote 0
    • J Offline
      justjim1220 Module Developer @sdetweil
      last edited by Oct 19, 2018, 12:48 AM

      @sdetweil
      What I meant was that I added you as a collaborator

      Maybe this way you can show what you did and I could look at it as well

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

      ? 1 Reply Last reply Oct 19, 2018, 6:36 AM Reply Quote 0
      • ? Offline
        A Former User @justjim1220
        last edited by Oct 19, 2018, 6:36 AM

        @justjim1220 @sdetweil
        First, in line 18 of MMM-NewsFeedTicker.js

        Module.register("MMM-NewsFeedTicker", {
        
        S 1 Reply Last reply Oct 19, 2018, 1:38 PM Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User Oct 19, 2018, 7:45 AM Oct 19, 2018, 7:24 AM

          I don’t know what @justjim1220 expect(So, I don’t request PR), but anyway, it’s executable now.
          https://github.com/eouia/MMM-NewsFeedTicker
          https://github.com/justjim1220/MMM-NewsFeedTicker/commit/64f5aae290682725ce2b8a1a64dd2771dfbd83c3

          0_1539934768820_sample1.png

          Just executable. I think there might be many things to improve or fix.

          J 1 Reply Last reply Oct 19, 2018, 8:11 PM Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User Oct 19, 2018, 1:14 PM Oct 19, 2018, 1:13 PM

            I think this is similar with what you really want to get.
            https://www.dropbox.com/s/9u4bjaimhlrnzfj/MMM-NewsFeedTickerX.zip?dl=0

            0_1539954680780_aaa.png

            At first, I tried with your repository, but it seems so many things to modify. So I worked with original newsfeed. I wish you good luck.

            S J 2 Replies Last reply Oct 19, 2018, 5:37 PM Reply Quote 0
            • S Offline
              sdetweil @Guest
              last edited by sdetweil Oct 19, 2018, 3:50 PM Oct 19, 2018, 1:38 PM

              @justjim1220 thanks. Woke in the middle of the night thinking that needed to match module name…

              Haven’t tried it yet!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Oct 19, 2018, 8:09 PM Reply Quote 0
              • S Offline
                sdetweil
                last edited by sdetweil Oct 19, 2018, 6:36 PM Oct 19, 2018, 3:49 PM

                i have posted my almost working code to your github project in a new branch.

                the image url is extracted, saved and added to each rss feed response item.
                that url is used in the image.src attribute for the getDom function…

                BUT… the url is the FULL url, and I think the web engine under MM only allows src= from LOCAL files…

                when u look at the debug data items, the web server base is

                http://0.0.0.0:configured_port

                meaning adding a full url on to the end of that will fail…

                i posted info in an issue on github on what it might take to solve that…

                |edit: I see that Sean has used a different ui widget (Ticker) that seems to solve this problem

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Guest
                  last edited by Oct 19, 2018, 5:37 PM

                  @sean nicely done…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    justjim1220 Module Developer @sdetweil
                    last edited by Oct 19, 2018, 8:09 PM

                    @sdetweil

                    LOL, I woke up early this morning thinking I could get something like this to work…

                    0_1539979737672_Screenshot (399).png

                    But, of course, I probably had something wrong somewhere, because it didn’t!!!

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

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      justjim1220 Module Developer @Guest
                      last edited by Oct 19, 2018, 8:11 PM

                      @sean

                      Not sure why, but this didn’t work for me, I will try it again in a little while, probably something I’m doing wrong!

                      Thank You!!!

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      5 / 6
                      • First post
                        43/57
                        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