Read the statement by Michael Teeuw here.
This Day in History ticker?
-
@yawns Thank you! Solid suggestions. Yeah an excerpt would work. I just want less info on the screen at a time, and more of them. What I was envisioning is like what pops up when you type a date into Wikipedia (is that a faux pas? Noob here…). This was under the “Feb 12” entry:
-
@yawns Ok I think I found what I’m looking for here: http://history.muffinlabs.com
Now how do I get it on my Magic Mirror? Again, Noob here.
-
Just write a module.
-
@yawns said in This Day in History ticker?:
You mean just showing an excerpt of the actual text? You could try to fiddle around with CSS using
text-overflow: ellipsis;
but this does not support multiline text. So it would be very ugly :) Besides that, this is not possible at this point.
Should be easy to implement something likemaxLength: 200,
to cut the text after 200 characters and to show a … at the end to indicate there is more text. I don’t see the use, as you cannot tap the … to see the whole text.I submitted a Pull Request, let’s see if cowboysdude accepts my changes to his module :)
I wouldn’t have a problem with that if it’s a config option. :)
-
@cowboysdude said in This Day in History ticker?:
I wouldn’t have a problem with that if it’s a config option. :)
That’s exactly what I submitted: https://github.com/cowboysdude/MMM-History/pulls
-
@yawns said in This Day in History ticker?:
@cowboysdude said in This Day in History ticker?:
I wouldn’t have a problem with that if it’s a config option. :)
That’s exactly what I submitted: https://github.com/cowboysdude/MMM-History/pulls
Then request accepted :) Thank you! It’s done!
-
@donutsoup @cowboysdude That would make a slick module. You could cobble it together from various others, like MMM-json-feed to fetch your data and newsfeed to display it in discrete elements/items.
-
Wouldn’t need another module to get the data it already comes in json format… just put the info in rotating fashion and you’d have a new module … ;)
I started it here… Long day I’ll work on it more tomorrow ;)
-
@cowboysdude Agreed, I meant if @xela is looking to find code examples to construct a single module. Sorry if that wasn’t clear; best to keep in a single module.
-
@ninjabreadman said in This Day in History ticker?:
@cowboysdude Agreed, I meant if @xela is looking to find code examples to construct a single module. Sorry if that wasn’t clear; best to keep in a single module.
That’s okay you guys can finish it… I’m super busy… it’s there and the data part is done and coming in. Someone wants to make a complete module please let me sign it over. :)