Read the statement by Michael Teeuw here.
MMM-Pnews
-
-
Ugh, I think i found it. You need to do npm install as root…
Wait, nope!
pi@Pi:~/MagicMirror $ sudo npm install > electron@1.6.6 postinstall /home/pi/MagicMirror/node_modules/electron > node install.js /home/pi/MagicMirror/node_modules/electron/install.js:47 throw err ^ Error: ENOENT: no such file or directory, lstat '/home/pi/MagicMirror/node_modules/electron/dist/resources' at Error (native) npm ERR! Linux 4.9.25-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v6.10.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! electron@1.6.6 postinstall: `node install.js` npm ERR! Exit status 1Ugh, I give up. Going to bed. Thanks for your help, i’ll fix in the morning. :)
-
Good Night :)
-
Hey mate, I think I have a bug for you. :bug:
In MMM-PNews.js you hard code in the sorting method (latest) for the source.
this.url = "https://newsapi.org/v1/articles?source=" + this.config.newsSource + "&sortBy=Latest&apiKey=";Latest isn’t a valid sorting method for some sources.
Example is the https://newsapi.org/abc-news-au-apiIf you hit that with the url they provide with Latest in there for sorting, it fails and gives
{"status":"error","code":"sourceUnavailableSortedBy","message":"The news source you've selected (abc-news-au) isn't available sorted by latest"}But if you change Latest to Top in the url, works fine. :)
This is causing some feeds to not work.
-
This post is deleted! -
Also, mine doesn’t seem to be updating the feed. (Sorry!)
Seeing this in the log?
fatal: unable to access ‘https://github.com/cowboysdude/MMM-PNews/’: GnuTLS recv error (-54): Error in the pull function. -
-
Awesome, thanks! :D
-
@cowboysdude Just installed this for the first time. Looks GREAT! However, it seems to take up a lot of space at the bottom bar; I am using a somewhat smaller screen. Is there a way I can limit the module to more of the center leaving space on both sides at the bottom for smaller modules? Also, I’d like to center the pic and text. It seems that it only aligns to the left. Any help would be greatly appreciated.
-
@lucallmon I’ll take a look at it later when I get home :) We’ll see what we can do!
-
hi Cowboysdude,
I like your modules, nice work.
I was wondering if you could modify or make a separate module for the dutch (belgian) newsfeeds.
take a look at this side: http://feeds.nieuwsblad.be/nieuws/snelnieuws
they provide for each headline, a pircture and short description.
It would be nice if you could also incorparate this into the module.Johan
-
hi Cowboysdude,
I like your modules, nice work.
I was wondering if you could modify or make a separate module for the dutch (belgian) newsfeeds.
take a look at this side: http://feeds.nieuwsblad.be/nieuws/snelnieuws
they provide for each headline, a pircture and short description.
It would be nice if you could also incorparate this into the module.Johan
Johan, Thank you! I will certainly take a peek at that this evening!! :)
-
-
@cowboysdude said in MMM-Pnews:
Here you go:
So, all I have to do is ask and you’ll make me a module?
You’re awesome! :^)
-
@cowboysdude said in MMM-Pnews:
Here you go:
So, all I have to do is ask and you’ll make me a module?
You’re awesome! :^)
Sure, why not? LOL
-
You are amazing.
Never thought it would be realized.
Had a hard day on the job today, but this makes my day.
I’m going to install now.
ThanksJohan
-
@cowboysdude said in MMM-Pnews:
Here you go:
Isnt Johan looking for Dutch instead of Danish news? :P
-
just installed, but got an error -
Load script: modules/MMM-Dnews//MMM-Dnews.js
MMM-Dnews.js Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:190 Error on loading script: modules/MMM-Dnews//MMM-Dnews.js
script.onerror @ loader.js:190Would like to make a printscreen, but i can’t manage to do that on the raspberry.
(indeed Dutch news, not Danish - thanks goprojojo )
Edit: added screenprints

-
Sorry about that… right now I just don’t have time. I am SUPER busy… I will look at it when I can.
-
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
