# Module: News Feed The `newsfeed ` module is one of the default modules of the MagicMirror. This module displays news headlines based on an RSS feed. ## Using the module To use this module, add it to the modules array in the `config/config.js` file: ````javascript modules: [ { 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. } } ] ```` ## Configuration options The following properties can be configured:
Option Description
feedUrl The url of the feed used for the headlines.

Default value: 'http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml'
showPublishDate Display the publish date of an headline.

Possible values: true or false
Default value: true
showDescription Display the description of an item.

Possible values: true or false
Default value: false
reloadInterval How often does the content needs to be fetched? (Milliseconds)

Possible values: 1000 - 86400000
Default value: 300000 (5 minutes)
updateInterval How often do you want to display a new headline? (Milliseconds)

Possible values:1000 - 60000
Default value: 10000 (10 seconds)
animationSpeed Speed of the update animation. (Milliseconds)

Possible values:0 - 5000
Default value: 2000 (2.5 seconds)
encoding The encoding of the news feed.

Possible values:'UTF-8', 'ISO-8859-1', etc ...
Default value: 'UTF-8'