MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

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!