news ticker like what you see on the news channels, except for online newspapers, showing current headlines and short descritpions.
The MMM-NewsFeedTickermodule is a 3rd Party Module of the MagicMirror².
To use this module, add it to the modules array in the 'config/config.js' file:
{
module: "MMM-NewsFeedTicker",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
customLogo: "NYT_logo_rss_250x40.png"
},
{
title: "CBC World",
url: "https://www.cbc.ca/webfeed/rss/rss-world",
customLogo: "CBC_140x140.png"
},
{
title: "BBC World News",
url: "https://feeds.bbci.co.uk/news/world/rss.xml",
customLogo: "bbc_news_120x60.gif"
}
]
}
},cd ~/MagicMirror/modules
git clone https://github.com/justjim1220/MMM-NewsFeedTicker
cd MMM-NewsFeedTicker
npm installcd ~/MagicMirror/modules/MMM-NewsFeedTicker
git pull
npm installYou can add as many feeds as you like. To change or add feedsources you need to make sure the site can be linked.
At this point, you need to download the website logo and place it in the pics folder within the MMM-NewsFeedTicker directory. Then put the name of it in the config for 'customLogo' (see config example above).
Hope you all like it!
To change background color, add the following to you custom.css file:
.MMM-NewsFeedTicker {
background: rgb(104, 9, 9); /* to change background color, can use rgb. hex, or name of the color */
}To remove background color, change to background: none;
If the ticker feels too slow or too fast, adjust updateInterval in your module config.
The marquee duration now follows that value, so a lower interval scrolls and rotates items faster.
updateInterval: 30 * 1000,First, I want to thank @sdetweil, @Sean, @cowboysdude, & @Mykle1 for their patience in attempting to teach me this coding stuff!!!
And, @Sean & @sdetweil for giving the pointers I needed to finish it when I was stuck!
Enjoy!
.png)
.png)
.png)