Read the statement by Michael Teeuw here.
Config Options in the News Module
-
@sdetweil Could you give me an example please so I can understand where and the format, thanks.
-
@edwardssj I did that in the message above this one
-
@sdetweil Sorry Sam, I should have refresehed :)
-
@edwardssj no problem. Hope it works for you.
The New York Times doesn’t allow it’s feed to be framed away from it’s parent site
-
@sdetweil It does but of course brings the story up into a full screen, I just have to find a way to bring the text only into the window.
Thank you for showing me the anatomy of the module.
Stuart
-
@sdetweil I have broken something and I cannot see where
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/ var config = { address: '0.0.0.0', electronOptions: {}, ipWhitelist: [], modules: [ { module: 'MMM-Remote-Control', position: 'bottom_right', config: { apiKey: '', customCommand: {} } }, { module: 'alert', config: {} }, { module: 'updatenotification', position: 'top_bar', config: {} }, { module: 'clock', position: 'top_left', config: {} }, { module: 'calendar', header: 'UK Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check', url: 'webcal://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics' } ], titleReplace: { 'De verjaardag van ': '', '\'s birthday': '' }, excludedEvents: [] } }, { module: 'currentweather', position: 'top_right', config: { location: 'Cwmbran', locationID: '2651654', appid: 'c1a5ad438e20f60a0f61165ef64837da', iconTable: { '01d': 'wi-day-sunny', '02d': 'wi-day-cloudy', '03d': 'wi-cloudy', '04d': 'wi-cloudy-windy', '09d': 'wi-showers', '10d': 'wi-rain', '11d': 'wi-thunderstorm', '13d': 'wi-snow', '50d': 'wi-fog', '01n': 'wi-night-clear', '02n': 'wi-night-cloudy', '03n': 'wi-night-cloudy', '04n': 'wi-night-cloudy', '09n': 'wi-night-showers', '10n': 'wi-night-rain', '11n': 'wi-night-thunderstorm', '13n': 'wi-night-snow', '50n': 'wi-night-alt-cloudy-windy' } }, header: '' }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Cwmbran', locationID: '2651654', appid: '6ad7c913f464a99eef2b61631b084d42', iconTable: { '01d': 'wi-day-sunny', '02d': 'wi-day-cloudy', '03d': 'wi-cloudy', '04d': 'wi-cloudy-windy', '09d': 'wi-showers', '10d': 'wi-rain', '11d': 'wi-thunderstorm', '13d': 'wi-snow', '50d': 'wi-fog', '01n': 'wi-night-clear', '02n': 'wi-night-cloudy', '03n': 'wi-night-cloudy', '04n': 'wi-night-cloudy', '09n': 'wi-night-showers', '10n': 'wi-night-rain', '11n': 'wi-night-thunderstorm', '13n': 'wi-night-snow', '50n': 'wi-night-alt-cloudy-windy' } } }, { module: 'newsfeed', position: 'top_center', config: { feeds: [ { title: 'BBC News', url: 'http://feeds.bbci.co.uk/news/rss.xml' } ], showDescription: true, ignoreOldItems: true, scrollLength: true, startTags: [], endTags: [], prohibitedWords: [] } }, header: '' ], paths: { modules: 'modules', vendor: 'vendor' } } /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
-
@edwardssj u could edit the code not to be full screen. Careful the article could be clipped at the iframe edge
-
@edwardssj what is that extra } after prohibited words?
Match the braces and brackets
-
@sdetweil Do I just remove it?
Coding is not my strong suit, I tried adding an extra module and got it very wrong
-
@edwardssj run npm run config:check from the MagicMirror folder.
Fix errors starting from the top.
Errors are usually reported on the line after the problem.(Usually)