MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Rss for news feeds?

    Troubleshooting
    6
    13
    19190
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bhepler
      bhepler Project Sponsor @deadherring last edited by bhepler

      @deadherring said in Rss for news feeds?:

      and one from CNN, I configured on the pi itself, modifying the config file with a mouse and keyboard on the pi. The rest that I shared that weren’t working, modified the config file on my mac via text edit and then ftp’d the file up to the pi. I suspect that the mac might be saving the file in a way the pi does not like, or, as was suggested, inputting the " s in a way the pi does not like. At least, that’s my theory right now, I need to test when I get home.

      I think you may be on to something here. Looking back at your complete list of feeds, this is what showed up from your copy & paste:

      },
      
      title: “Jerusalem Post”
      url: “http://www.jpost.com/Rss/RssFeedsFrontPage.aspx”
      },
      

      Now I don’t know about your Mac, but from here that looks like some unicode characters where there should be UTF-8. The quotes around Jerusalem Post and the URL value are jacked up. I think you’re better off SSH into the Pi and using nano to edit the config.js file.

      1 Reply Last reply Reply Quote 0
      • D
        deadherring last edited by

        Hi,

        I got this working, the problem was indeed something with the formatting by editing as a text file on my mac. By sshing into the box and modifying the config file directly on the pi I got it working.

        One question I still have: is there any way to tell the box to drop headlines after 2 days or so? I’m seeing headlines that are 5, 6, 7, 8 days old cycle through and they are no longer news. I’m seeing some new headlines make their way in but the majority are old. I want to have the MM drop headlines when they are stale, say after 2 days time.

        I see there is a updateInterval tag but I believe that refers to the frequency it checks for new headlines, not when it drops old headlines off. Anyone else having the same issue?

        Thanks,

        Nathan

        1 Reply Last reply Reply Quote 0
        • S
          safaaelbrans Banned last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy