Read the statement by Michael Teeuw here.
default newsfeed and prohibitedWords
-
I’m truly sick of seeing “Trump” appear in my news headlines, unless it’s to notify me that he’s being impeached. It makes me not want to look at my magic mirror.
I’m not sure how to add prohibitedWords to my config to make him disappear. Any suggestions? Here’s what I have now. It works, but anywhere I try to put prohibitedWords: ‘trump’ , it breaks the module or magic mirror won’t load.
{ module: "newsfeed", position: "bottom_bar", // This can be any of the regions. Best results in center regions. config: { // The config property is optional. // If no config is set, an example calendar is shown. // See 'Configuration options' for more information. feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", }, { title: "The Verge", url: "https://www.theverge.com/rss/index.xml", }, ], } }, -
@twosquirrels it has to be an array, see the documentation
{ module: "newsfeed", position: "bottom_bar", config: { prohibitedWords: ['trump'], feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", }, { title: "The Verge", url: "https://www.theverge.com/rss/index.xml", }, ], } }, -
Thank you! My news feed is now Chump free!
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