Forum Discussion

iahiqosolutions's avatar
12 years ago

Blog posted within last month

Is there way to select only blogs posted within last month? 

Also is it possible to select blogs posted within last two/three/four months?

 

Thanks

  • Hi iahiqosolutions,

     

    essentially - you want to find blog posts that have been created in a specific timeframe. In this case, you can use the search API in the way that AdamN already described here

     

    Some considerations to make here are the potential amount of data that can be returned with this call and the associated performance of the call : this will depend on how active is the blog you are looking at. In that case, you may either want to reduce the timeframe or implement pagination using the page and page_size parameters in the call. 

     

    Hope this helps,

1 Reply

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    12 years ago

    Hi iahiqosolutions,

     

    essentially - you want to find blog posts that have been created in a specific timeframe. In this case, you can use the search API in the way that AdamN already described here

     

    Some considerations to make here are the potential amount of data that can be returned with this call and the associated performance of the call : this will depend on how active is the blog you are looking at. In that case, you may either want to reduce the timeframe or implement pagination using the page and page_size parameters in the call. 

     

    Hope this helps,