MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

Rss feed



  • Ok so i’m tring to change the new york times feed with an espn one (http://www.espn.com/espn/rss/nhl/news). I tried a number of ways and nothing works went back to the first config file and only switched out the url and tile all i get once the MM is up is a loading on the screen were the RSS feed should be help… also is there a way to have 2 or more RSS feeds going at once?

    thanks

    Sithas



  • Your link seems to be fine and I think that should work.
    If you can copy and paste the config file (especially the module rss) to see if there is any error in the code
    As far as your second question YES you can put 2 or more rss feeds
    Just copy and paste the code with the title and url under the excisting one in the module.



  • Ooooooooooooorrrrrrrrrrrrr you could do a search on the forum because this has happened to others before…

    That little search feature…such a nice thing to have on a forum…

    Like this one… https://forum.magicmirror.builders/topic/881/more-newsfeed-s/3



  • ok so here is the config all i did was switch out the nyt with the espn.{
    module: “newsfeed”,
    position: “bottom_bar”,
    config: {
    feeds: [
    {
    title: “New York Times”,
    url: “http://www.espn.com/espn/rss/nhl/news
    }
    ],
    showSourceTitle: true,
    showPublishDate: true
    }
    when i do that it sits in loading but mirror boots up also i get this
    reate new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
    Create new news fetcher for url: http://www.espn.com/espn/rss/nhl/news - Interval: 300000
    Whoops! There was an uncaught exception…
    TypeError: parser.close is not a function
    at SAXStream.openf1 (/home/pi/MagicMirror/node_modules/feedme/lib/xmlfeedparser.js:107:14)
    at emitOne (events.js:96:13)
    at SAXStream.emit (events.js:188:7)
    at SAXParser.me._parser.(anonymous function) [as onopentag] (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:258:17)
    at emit (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:629:5)
    at openTag (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:825:5)
    at SAXParser.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:1391:13)
    at SAXStream.write (/home/pi/MagicMirror/node_modules/sax/lib/sax.js:239:18)
    at module.exports.yoshi.write (/home/pi/MagicMirror/node_modules/feedme/lib/feedme.js:41:14)

    any help would be great ive looked all over and nothing i do seems to work

    sithas



  • @sithas I personally couldn’t get any ESPN rss feed to work, but I figured it out if you google “google feedburner” (or go to https://feedburner.google.com/fb/a/myfeeds) and type your rss feed link: http://www.espn.com/espn/rss/nhl/news it will create that into a feed that the mirror will load, I already did it for you if you just want to put “http://feeds.feedburner.com/espn/Whny” in your config for rss feed. And if you have multiple rss feeds they just rotate through them all. If you need any more help let me know.



  • Thanks Mason I was pulling my hair out trying to figure out why it would not work. works like a charm now…

    thanks

    Sithas