Read the statement by Michael Teeuw here.
News error
-
Hello, when i read in my pm2 log mm i see the following error.
Only o top of my MM have i new from “AD”
Can some one tell me what to do
0|mm | Create new news fetcher for url: https://www.ad.nl/nieuws/rss.xml - Interval: 300000
0|mm | [NEWS] Error : https://newsapi.org/v2/top-headlines?sources=ad&pageSize=20&apiKey=b33df8fffc4f47c6a75926a4bfd40088 result.code:One or more of the news sources you’ve requested doesn’t exist (ad). Check your spelling, or see /v2/sources for a list of valid sources. -
@ernst-jan - If you try to load that URL in your browser, you get the same error. It seems as if there is a problem with that newsfeed, not the module.
-
@ernst-jan said in News error:
0|mm | [NEWS] Error : https://newsapi.org/v2/top-headlines?sources=ad&pageSize=20&apiKey=b33df8fffc4f47c6a75926a4bfd40088 result.code:One or more of the news sources you’ve requested doesn’t exist (ad). Check your spelling, or see /v2/sources for a list of valid sources.
There is a problem with the link. There is no source with an id of “ad”. What newspaper do you want to show?
Also: Better to hide your api key which is shown above.
And also: Thanks for the link to the newsapi site! Great source!
-
Read the error message, ad.nl is not supported. If you check the sources you see which sources are available
https://newsapi.org/v2/sources?apiKey=b33df8fffc4f47c6a75926a4bfd40088
-
it is working for me just fine…
-
@justjim1220 So would you mind posting the link you used to help out your nederlandse vriend? :-)
-
-
I also used this module: https://github.com/justjim1220/MMM-NewsFeedTicker
-
Thanks al. It now working with out a error