Read the statement by Michael Teeuw here.
Not reading RSS
-
Im trying to put this RSS (http://www.cmjornal.pt/rss) but the module just stays on “loading”
Any guesses? -
@goncalovsc Does the default config work, showing NYT headlines?
module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", }] }What happens when you run the following in the terminal from your MM?
curl http://www.cmjornal.pt/rssDoes this mean you succeeded in installing MM given your earlier post?
-
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
-
@ninjabreadman said in Not reading RSS:
I understood what you meened now, i runned that command and it loaded the RSS, but in the magicMirror app just says loading
-
@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 devto see errors in both Terminal and the Chrome/Electron JavaScript console.The RSS feed contains errors, but it still loads for me:

-
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?
-
@goncalovsc Is that your full
newsfeed.jsfile? That is definitely not the complete file. Suggest runninggit checkout ~/MagicMirror/modules/newsfeed.jsin Terminal.Best practice is to not edit your module files (e.g.
newsfeed.js). Instead, override the defaults with your own settings inconfig/config.js. -
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? -
I discovered now how to fix, just changed the encoding in both files and its working
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login