• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Config Options in the News Module

Scheduled Pinned Locked Moved Unsolved Troubleshooting
15 Posts 2 Posters 3.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @edwardssj
    last edited by Mar 21, 2020, 1:31 PM

    @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

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    E 1 Reply Last reply Mar 21, 2020, 2:43 PM Reply Quote 0
    • E Offline
      edwardssj
      last edited by Mar 21, 2020, 1:33 PM

      Could you give me an example please so I can understand where and the format, thanks.

      S 1 Reply Last reply Mar 21, 2020, 1:36 PM Reply Quote 0
      • S Away
        sdetweil @edwardssj
        last edited by Mar 21, 2020, 1:36 PM

        @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
        			}
        		},
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          edwardssj @sdetweil
          last edited by Mar 21, 2020, 2:43 PM

          @sdetweil Could you give me an example please so I can understand where and the format, thanks.

          S 1 Reply Last reply Mar 21, 2020, 2:52 PM Reply Quote 0
          • S Away
            sdetweil @edwardssj
            last edited by Mar 21, 2020, 2:52 PM

            @edwardssj I did that in the message above this one

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Mar 21, 2020, 2:54 PM Reply Quote 0
            • E Offline
              edwardssj @sdetweil
              last edited by Mar 21, 2020, 2:54 PM

              @sdetweil Sorry Sam, I should have refresehed :)

              S 1 Reply Last reply Mar 21, 2020, 2:56 PM Reply Quote 0
              • S Away
                sdetweil @edwardssj
                last edited by Mar 21, 2020, 2:56 PM

                @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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                E 2 Replies Last reply Mar 21, 2020, 3:01 PM Reply Quote 0
                • E Offline
                  edwardssj @sdetweil
                  last edited by Mar 21, 2020, 3:01 PM

                  @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

                  S 1 Reply Last reply Mar 21, 2020, 3:55 PM Reply Quote 0
                  • E Offline
                    edwardssj @sdetweil
                    last edited by Mar 21, 2020, 3:55 PM

                    @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;}
                    
                    
                    S 1 Reply Last reply Mar 21, 2020, 3:57 PM Reply Quote 0
                    • S Away
                      sdetweil @edwardssj
                      last edited by Mar 21, 2020, 3:55 PM

                      @edwardssj u could edit the code not to be full screen. Careful the article could be clipped at the iframe edge

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/15
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy