newsfeed gives an error



  • Hi all,

    i get an error with the newsfeed modul. I look in the logfile with ‘pm2 logs’ and i see this error:

    mm-0 Get league table for url http://api.football-data.org/v1/competitions/430/leagueTable
    mm-0 Can't parse feed item:
    mm-0 { text: '\n\n\n\n\n\n',
    mm-0   title: '',
    mm-0   link: { href: 'http://www.tagesschau.de' },
    mm-0   id: 'http://www.tagesschau.de',
    mm-0   updated: '',
    mm-0   summary: '' }
    mm-0 Title: 
    mm-0 Description: 
    mm-0 Pubdate: 
    mm-0 Whoops! There was an uncaught exception...
    mm-0 TypeError: parser.close is not a function
    mm-0     at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/lib/xmlfeedparser.js:107:14)
    mm-0     at emitOne (events.js:96:13)
    mm-0     at SAXStream.emit (events.js:188:7)
    mm-0     at Object.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
    mm-0     at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:640:35)
    mm-0     at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:645:5)
    mm-0     at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:841:5)
    mm-0     at Object.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1404:13)
    mm-0     at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
    mm-0     at yoshi.write (/home/pi/MagicMirror/node_modules/feedme/lib/feedme.js:41:14)
    mm-0 MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    mm-0 If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    

    A few lines is the fact that the system is deprecated.

    Had any one else these Errors?

    Best regards
    Daniel


    Note from admin: Please use Markdown on code snippets for easier reading!



  • http://api.football-data.org/v1/competitions/430/leagueTable

    => it is a REST api and it does NOT return a RSS feed.



  • I don’t think the error Comes from the Soccer module. Here is the new log from pm2:

    mm-0 starting internet monitor node helper
    mm-0 Create new news fetcher for url: http://www.heise.de/security/news/news-top-atom.xml - Interval: 300000
    mm-0 Create new news fetcher for url: http://www.n-tv.de/rss - Interval: 300000
    mm-0 Whoops! There was an uncaught exception...
    mm-0 TypeError: parser.close is not a function
    mm-0     at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/lib/xmlfeedparser.js:107:14)
    mm-0     at emitOne (events.js:96:13)
    mm-0     at SAXStream.emit (events.js:188:7)
    mm-0     at Object.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
    mm-0     at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:640:35)
    mm-0     at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:645:5)
    mm-0     at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:841:5)
    mm-0     at Object.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1404:13)
    mm-0     at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
    mm-0     at yoshi.write (/home/pi/MagicMirror/node_modules/feedme/lib/feedme.js:41:14)
    mm-0 MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    mm-0 If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    

    Note from admin: Please use Markdown on code snippets for easier reading!



  • http://www.heise.de/security/news/news-top-atom.xml
    => 404 error

    http://www.n-tv.de/rss
    => working fine on my config

    {
    			module: 'newsfeed',
    			position: 'bottom_bar',
    			config: {
    				feeds: [
    					{
    						title: "News",
    						url: "http://www.n-tv.de/rss"
    					}
    				],
    				showSourceTitle: true,
    				showPublishDate: true
    			}
    		}


  • oh thanks… heise produce the error… :-(



  • if the heise feed is broken on server side, it will not work :)


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.