Filter RSS for a week

Discussion in 'Feed Module Discussion' started by Shlomi, Jul 8, 2015.

  1. Shlomi

    Shlomi Member

    Joined:
    Feb 5, 2015
    Messages:
    73
    Likes Received:
    5
    Is it possible to create a filter - (like that on of 24 hours) for any update for this lest week?
     
    #1
  2. joseph raphael

    joseph raphael Well-Known Member

    Joined:
    Feb 3, 2015
    Messages:
    776
    Likes Received:
    312
    Yes you can by changing the number of seconds in the feed query.
     
    #2
  3. Shlomi

    Shlomi Member

    Joined:
    Feb 5, 2015
    Messages:
    73
    Likes Received:
    5
    Yeah sure Bot to what number of seconds?
     
    #3
  4. Shlomi

    Shlomi Member

    Joined:
    Feb 5, 2015
    Messages:
    73
    Likes Received:
    5
    How did you get this number?
    BTW this doesn't work
     
    #4
  5. joseph raphael

    joseph raphael Well-Known Member

    Joined:
    Feb 3, 2015
    Messages:
    776
    Likes Received:
    312
    Sorry the number I posted before was incorrect, I calculated wrongly.
    Use this code instead:

    Code:
    PubDate > [NOW] - 604800000 AND IsDeleted = 0
     
    #5
    mn rd and appyet like this.
  6. Shlomi

    Shlomi Member

    Joined:
    Feb 5, 2015
    Messages:
    73
    Likes Received:
    5
    Thanks it works!

    How did you get this number... I'm trying to figure out how
     
    #6
  7. joseph raphael

    joseph raphael Well-Known Member

    Joined:
    Feb 3, 2015
    Messages:
    776
    Likes Received:
    312
    I converted 1 week to milliseconds using Google HERE
     
    #7
    Keve and mn rd like this.
  8. mn rd

    mn rd New Member

    Joined:
    Feb 21, 2015
    Messages:
    10
    Likes Received:
    3
    what about a whole month ??
     
    #8
  9. joseph raphael

    joseph raphael Well-Known Member

    Joined:
    Feb 3, 2015
    Messages:
    776
    Likes Received:
    312
    it will be 2419200000
     
    #9
    mn rd likes this.

Share This Page