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.

    Not reading RSS

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 3.8k 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.
    • G Offline
      goncalovsc
      last edited by

      Yeah, i installed an older version of raspian and it worken now, 2 months later. With the NY Times it works, but with my RSS it just stays on loading

      1 Reply Last reply Reply Quote 0
      • G Offline
        goncalovsc
        last edited by

        @ninjabreadman said in Not reading RSS:

        curl http://www.cmjornal.pt/rss

        I understood what you meened now, i runned that command and it loaded the RSS, but in the magicMirror app just says loading

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          ninjabreadman @goncalovsc
          last edited by

          @goncalovsc That was just to check that the MM could reach cmjornal.pt.

          Hmm, if it works with NYT, it may have a problem parsing your RSS feed. Start your MM with npm start dev to see errors in both Terminal and the Chrome/Electron JavaScript console.

          The RSS feed contains errors, but it still loads for me:

          0_1521165345095_Screen Shot 2018-03-15 at 9.54.56 PM.png

          Problem with config or JavaScript? Copy/paste it into JSHint.
          Check out the detailed walkthroughs on install, config, modules, etc.

          1 Reply Last reply Reply Quote 0
          • G Offline
            goncalovsc
            last edited by

            This is my newsfeed.js file

            // Default module config.
            	defaults: {
            		feeds: [
            			{
            				title: "Ultimas Noticias",
            				url: "http://www.cmjornal.pt/rss",
            				encoding: "UTF-8" //ISO-8859-1
            			}
            		],
            		showSourceTitle: true,
            		showPublishDate: true,
            		showDescription: false,
            		wrapTitle: true,
            		wrapDescription: true,
            		truncDescription: true,
            		lengthDescription: 400,
            		hideLoading: false,
            		reloadInterval: 5 * 60 * 1000, // every 5 minutes
            		updateInterval: 10 * 1000,
            		animationSpeed: 2.5 * 1000,
            		maxNewsItems: 0, // 0 for unlimited
            		ignoreOldItems: false,
            		ignoreOlderThan: 24 * 60 * 60 * 1000, // 1 day
            		removeStartTags: "",
            		removeEndTags: "",
            		startTags: [],
            		endTags: [],
            		prohibitedWords: []
            	},
            
            	// Define required scripts.
            	getScripts: function() {
            		return ["moment.js"];
            	},
            

            Any idea why its stuck on loading?

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              ninjabreadman @goncalovsc
              last edited by ninjabreadman

              @goncalovsc Is that your full newsfeed.js file? That is definitely not the complete file. Suggest running git checkout ~/MagicMirror/modules/newsfeed.js in Terminal.

              Best practice is to not edit your module files (e.g. newsfeed.js). Instead, override the defaults with your own settings in config/config.js.

              Problem with config or JavaScript? Copy/paste it into JSHint.
              Check out the detailed walkthroughs on install, config, modules, etc.

              1 Reply Last reply Reply Quote 0
              • G Offline
                goncalovsc
                last edited by

                Thanks for the help, it was an “http://” that was missing :p
                But Now i have the se=ame problem that you had, a lot of "?"appears in special caracthers like “ç”, “ó”, etc.
                Any solution?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  goncalovsc
                  last edited by

                  I discovered now how to fix, just changed the encoding in both files and its working

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    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