I don’t think so, BUT, I really like the idea!!!
Read the statement by Michael Teeuw here.
Posts
-
RE: New modules - how to find them
-
RE: how to pull new element added to an array?
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:
-
RE: how to pull new element added to an array?
@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:
-
RE: how to pull new element added to an array?
@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!!!
-
RE: how to pull new element added to an array?
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!!!
-
RE: how to pull new element added to an array?
@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
-
RE: how to pull new element added to an array?
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:
-
RE: how to pull new element added to an array?
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:

-
RE: how to pull new element added to an array?
No, no idea, one of the reasons I uploaded it as a repository, to let you and whoever else wants to gander at it and see what the issues are or could be.
Not sure when you downloaded it, but I made some minor changes to it a few hours ago. just some syntax errors and such.
Nonetheless, still can’t get it to work.
-
RE: how to pull new element added to an array?
ok, just a thought, seen it with a few other modules. Thanks!
-
RE: how to pull new element added to an array?
What is the possibility of using and array of sorts?
place the logos in a pics folder, call them according to the newsItem[activeItem].title, Ive seen some examples, and tried it a few different ways, but not sure if I am missing something as I can’t get it to work.
recent example tried:
feeds…{ title: "New York Times: ", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" }, { title: "Wall St. Journal: ", url: "http://www.wsj.com/xml/rss/3_7085.xml" }, { title: "USA Today: ", url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories" }, { title: "BBC World News: ", url: "http://feeds.bbci.co.uk/news/world/rss.xml#" }Array…
iconArray: { "USAToday": "USA Today: ", "NewYorkTimes": "New York Times: ", "WallStJournal": "Wall St. Journal: ", "BBCWorldNews": "BBC World News: " }Added this to start function…
this.logo = {};sample code…
var logo = this.logo; if (this.config.showDescription) { var description = document.createElement("div"); //description.setAttribute("style", "padding-top: 25px"); description.className = "bright xlarge bold" + (!this.config.wrapDescription ? " no-wrap" : ""); var txtDesc = this.newsItems[this.activeItem].description; description.innerHTML = "<img class = image src=./modules/default/newsfeed/pics/" + logo.icon + ".png height=150px valign=middle>" + "<marquee scrollamount=20 scrolldelay=0 left=500px>" + "<font color=yellow>" + moment(new Date(this.newsItems[this.activeItem].pubdate)).fromNow() + " : " + "</font>" + this.newsItems[this.activeItem].title + " || " + txtDesc + "</marquee>"; wrapper.appendChild(description); }Any chance this could work easier if I had it coded correctly?
Seems Like I should be declaring the
newsItem[activeItem].titleto equal the icon/logo in some fashion…
-
RE: MMM-Astrology font color
what is the content class in the css file?
Just curious, because that is how I figured out how to change the color of the description content…

gives me this…

and this…

gives me this…

When I go to figure out how things work, I make changes to the css file, then move it to my custom.css file, leaving the original intact. I was told to do it this way way back when I first started doing this. I guess I wasn’t told that changing the original was taboo, although, I have always felt I needed to keep the original intact to go back to just ‘in case’.
I was told this was the best way to learn, to play with things. Which I do. And if someone asks a question that I have had some experience with, I tend to return the help given to me by you and all the others who have been so awesome and patient with me.
I won’t give that advise anymore, I really am sorry, :pensive_face:
-
RE: MMM-Astrology font color
Sorry, I thought that was the reason for the css files, to make the changes to suit your needs.
I usually add to the custom.css file after I figure out what does what.My apologies! :worried_face:
-
RE: MMM-Astrology font color
the content is the same as the description, it changed color for me by just changing that part of the css
-
RE: I know it's here but I cannot seem to find it.....
to get more than one instance of the same mirror on different screens, I had to create copies of the mirror and run separate electrons in different windows and assign them to each separate monitor. I just had to create different configs for each one. Yeah, I have to make duplicate changes, But, like you, I would think there is a different way!
If using the same mirror config, you just need to run separate instances of electron and assign them to the appropriate screen.
-
RE: MMM-Astrology font color
Strange, It works for me.
And, you made the cahnge in the MMM-Astrology.css file?
Or, ADD the full code snippet to your custom.css file
Either way should work!
-
RE: how to pull new element added to an array?
@sdetweil, @cowboysdude, @Sean
I created a repository, hopefully it will make it easier for you to help.
https://github.com/justjim1220/MMM-NewsFeedTicker
ALL help is MUCH APPRECIATED!!!
I gotta learn this stuff one way or another!
:smiling_face_with_sunglasses: