MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Help getting rid of old news

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 1.2k Views 3 Watching
    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.
    • E Offline
      Extra
      last edited by

      Hello,

      I’m wondering if anyone can help me fix why the news is showing headlines older than 2 days when I have the config statement that states ignore news older than 2 days. Did I implement it wrong? Am I missing something?

      Thanks in advance.

      {
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "CBC Windsor News",
      						url: "https://www.cbc.ca/cmlink/rss-canada-windsor"
      
      					},
      					{
      						title: "Windsor Star News",
      						url: "http://windsorstar.com/category/news/local-news/feed"
      
      					},
      					{
      						title: "CBC Top Stories News",
      						url: "https://www.cbc.ca/cmlink/rss-topstories"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				broadcastNewsFeeds: true,
      				broadcastNewsUpdates: true,
      				ignoreOlderThan: 172800000 //Ignore news older than 2 days (2days->172800000ms)
      			}
      		},
      
      T 1 Reply Last reply Reply Quote 0
      • T Offline
        thad @Extra
        last edited by

        @extra
        I was just playing with this. I think you need to add:
        ignoreOldItems: true

        Thad

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Extra
          last edited by

          @thad That makes sense.
          It works now, thanks.

          1 Reply Last reply Reply Quote 0
          • E Offline
            Extra @thad
            last edited by Extra

            @thad Edit: I just checked it, and a 4 day old headline was displayed.

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              EHelberg88 @Extra
              last edited by

              @Extra I am having the same issue. Most of the news I see is new but I have news that is showing from 4 5 and 6 months ago as well. I have tried multiple different ways to format the config with the same problems everytime. Did you ever figure this out?

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy