Read the statement by Michael Teeuw here.
how to pull new element added to an array?
-
@justjim1220 yeh, I just want to get default behavior working… I have added my code, it should work, just want to test…
-
kind of an example of what I am looking to accomplish…




Only, instead of the title on the left side, I am wanting to show the logo associated with the newsfeed.
Like this:

-
@justjim1220 understood…
i just can’t get the module to do ANYTHING…
it loads, and registers, and that is it… no functions are called…
-
I’m not understanding it myself, I’ll keep plugging away at it.
Feel free to collaborate on it any time you feel like it.
Thanks for all your help thus far! :winking_face:
-
@justjim1220 I added all the defined functions and none are called…
-
@sdetweil
What I meant was that I added you as a collaboratorMaybe this way you can show what you did and I could look at it as well
-
@justjim1220 @sdetweil
First, in line 18 ofMMM-NewsFeedTicker.jsModule.register("MMM-NewsFeedTicker", { -
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
Just executable. I think there might be many things to improve or fix.
-
I think this is similar with what you really want to get.
https://www.dropbox.com/s/9u4bjaimhlrnzfj/MMM-NewsFeedTickerX.zip?dl=0
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. -
@justjim1220 thanks. Woke in the middle of the night thinking that needed to match module name…
Haven’t tried it yet!
-
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
-
@sean nicely done…
-
LOL, I woke up early this morning thinking I could get something like this to work…

But, of course, I probably had something wrong somewhere, because it didn’t!!!
-
@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!!!
-
@sean
This is ABSOLUTELY WONDERFUL!!!
THANK YOU, THANK YOU, THANK YOU!!! :smiling_face: :smiling_face: :smiling_face:
(still gonna try to get the first one going you sent link for in previous post!) :winking_face:
-
@sean and I have the same solution to GET the image url, the use of the tickertape widget which supports image is the key trick
-
Thank You for ALL your help on this, I think I have learned a lot doing this module!
THANK YOU! THANK YOU ! THANK YOU! !!! :smiling_face: :smiling_face: :smiling_face:
I’m looking at doing a bit of tweaking with each solution and when I get them done, I will commit to the repository and add to 3rd party list! :smiling_face_with_sunglasses:
-
@justjim1220 the key for all these callbacks and .on() routines, is that you cannot WAIT for things to happen in a browser, else it stops functioning… click,… nothing happens…
so, you have all these little event handlers… and YOU have to think about WHEN the happen relative to each other in time…
-
I get that now. Thanks!
My only issue at the moment is getting the speed of the animation to go faster on my original that Sean fixed to work. His re-worked one is adjustable, mine won’t budge!
I’ve even tried to incorporate some od the same coding he used in his, and I can’t figure it out! It is very weird!!!
-
ok, so here are some of the differences between the one we have been working on, and the one Sean reworked:
His truncates the description, I cannot figure out how to make it not truncate.
His images are set to height and width, Mine, I can set the height and the width is auto configured for aspect-ratio.
His shows the same message repeatedly for a period of time, then changes, Mine changes after each message.
with his, I can adjust the scroll speed, mine, I can’t figure out why it won’t change.
So, I am trying to figure out how to make the scroll adjustable as it goes really slow.
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