<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-EveryNews is not loading anything]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/12910/mmm-everynews-is-not-loading-anything">MMM-EveryNews is not loading anything</a><br />
I disabled all modules to try to debug this issue but still could not get any news loaded and no errors using rpm start dev.<br />
It says “Anyone’s presents…”<br />
I don’t have any Google modules loaded.</p>
]]></description><link>https://forum.magicmirror.builders/topic/17532/mmm-everynews-is-not-loading-anything</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 18:51:07 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17532.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jan 2023 18:38:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 19:54:58 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Sam for pointing me to issue#6, I applied the changed and now it’s working! I really appreciate your help.</p>
]]></description><link>https://forum.magicmirror.builders/post/107163</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107163</guid><dc:creator><![CDATA[JeanMichelC]]></dc:creator><pubDate>Wed, 11 Jan 2023 19:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 19:08:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeanmichelc" aria-label="Profile: JeanMichelC">@<bdi>JeanMichelC</bdi></a> no… my guess is that the api has changed  and the module has not been updated.<br />
the author is currently not available.</p>
<p dir="auto">but, see the comments in issue 5</p>
<p dir="auto"><a href="https://github.com/mykle1/MMM-EveryNews/issues/5" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mykle1/MMM-EveryNews/issues/5</a></p>
]]></description><link>https://forum.magicmirror.builders/post/107158</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107158</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 11 Jan 2023 19:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 19:05:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/107155">MMM-EveryNews is not loading anything</a>:</p>
<blockquote>
<pre><code>       if (!error) {
            if(response.statusCode == 200) {
                var result = JSON.parse(body).articles;
                this.sendSocketNotification('NATGEO_RESULT', result);
            } else {
                 console.error(this.name+" status failed=",response.statusCode)
            }
        } else {
            console.error(this.name+" error=",error)
        }
</code></pre>
</blockquote>
<p dir="auto">I get a Bad Request 400 response code, any idea?</p>
<p dir="auto">This is the entry in the config.js file<br />
{<br />
disabled: false,<br />
module: ‘MMM-EveryNews’,<br />
position: ‘top right’,<br />
config: {<br />
source: “msnbc”, // any source from <a href="https://newsapi.org/sources" target="_blank" rel="noopener noreferrer nofollow ugc">https://newsapi.org/sources</a>. // Up to 10 at once<br />
scroll: true,                                  // description scroll or static<br />
scrollSpeed: “3”,                              // if scroll is true<br />
apiKey: “xxxxxxxxxxxxxxxxxxxxxxxx”,    // free API key from <a href="https://newsapi.org/register" target="_blank" rel="noopener noreferrer nofollow ugc">https://newsapi.org/register</a><br />
useHeader: true,                               // False if you don’t want a header<br />
header: “Over 30,000 News Sources!”,           // Any text you want. useHeader must be true<br />
maxWidth: “350px”,<br />
animationSpeed: 3000,                          // fade speed<br />
rotateInterval: 5 * 60 * 1000,<br />
}<br />
},</p>
<p dir="auto">I tested the API key on NewsAPI site and it worked fine</p>
]]></description><link>https://forum.magicmirror.builders/post/107157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107157</guid><dc:creator><![CDATA[JeanMichelC]]></dc:creator><pubDate>Wed, 11 Jan 2023 19:05:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 19:00:20 GMT]]></title><description><![CDATA[<p dir="auto">I was looking in the wrong folder, I found it in the MMM-EveryNews folder, making changes now</p>
]]></description><link>https://forum.magicmirror.builders/post/107156</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107156</guid><dc:creator><![CDATA[JeanMichelC]]></dc:creator><pubDate>Wed, 11 Jan 2023 19:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 18:57:13 GMT]]></title><description><![CDATA[<p dir="auto">I edtited node_helper.js in this folder MagicMirror/js and could not find the code you asked me to change. The only reference I found that checking the response return code 200  is</p>
<p dir="auto">NodeHelper.checkFetchStatus = function (response) {<br />
// response.status &gt;= 200 &amp;&amp; response.status &lt; 300<br />
if (response.ok) {<br />
return response;<br />
} else {<br />
throw Error(response.statusText);<br />
}<br />
};</p>
]]></description><link>https://forum.magicmirror.builders/post/107162</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107162</guid><dc:creator><![CDATA[JeanMichelC]]></dc:creator><pubDate>Wed, 11 Jan 2023 18:57:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-EveryNews is not loading anything on Wed, 11 Jan 2023 18:49:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeanmichelc" aria-label="Profile: JeanMichelC">@<bdi>JeanMichelC</bdi></a> yeh, no error is reported… do this</p>
<p dir="auto">edit the node_helper.js and<br />
change this</p>
<pre><code>}, (error, response, body) =&gt; {
            if (!error &amp;&amp; response.statusCode == 200) {
                    var result = JSON.parse(body).articles;
                    this.sendSocketNotification('NATGEO_RESULT', result);
                }
        });
</code></pre>
<p dir="auto">to this</p>
<pre><code>}, (error, response, body) =&gt; {
            if (!error) {
                if(response.statusCode == 200) {
                    var result = JSON.parse(body).articles;
                    this.sendSocketNotification('NATGEO_RESULT', result);
                } else {
                     console.error(this.name+" status failed=",response.statusCode)
                }
            } else {
                console.error(this.name+" error=",error)
            }
        });
</code></pre>
<p dir="auto">with a bad api key I see on the console now</p>
<pre><code>[11.01.2023 12:45.23.391] [ERROR] MMM-EveryNews status failed= 401
</code></pre>
<p dir="auto">using the config provided in the module readme</p>
]]></description><link>https://forum.magicmirror.builders/post/107155</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107155</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 11 Jan 2023 18:49:03 GMT</pubDate></item></channel></rss>