Read the statement by Michael Teeuw here.
Config Options in the News Module
-
Hi there, new to this but have played with pies for a while.
So I am trying to get much more of the current news articles on the screen, not just the headlines, how do I set up the config file to do this please.
I have read throught the manual but I am just not getting it.
Thanks
-
@edwardssj not in the doc, but a config option (defaults to false) is
showFullArticle
so, set that to true in the config.js newsreader config section
-
Could you give me an example please so I can understand where and the format, thanks.
-
@edwardssj never mind,. it doesn’ty work for some sites (as the site refuses to allow embedding)
the setup was
{ module: "newsfeed", disabled: false, position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true, showFullArticle : true // < --- added this, with the comma on line before } },
-
@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;}