AddSearch allows filtering and sorting based on the publishing date of the web page. So that AddSearch can use the exact publishing dates of your web pages, you need to define them first.

You can inform AddSearch’s crawler of the publishing date with the time and article:published tags. If your web page doesn’t have these tags defined AddSearch uses the time when the page was added to the search index.

Set publishing date using the article:published_time meta tag

You can set the publishing time with an article:published_time meta tag, placed in the HEAD section of your page. The date needs to be in ISO 8601 format.

<meta property="article:published_time" content="2017-08-14" />

Set publishing date using time tags

You can also set the publishing time using the time tag with a datetime attribute. You can include these tags anywhere on the page. The typical placement is around the text which states the publishing date & time.

If the page contains many time tags, AddSearch looks for one that has a pubdate attribute. The date needs to be in ISO 8601 format, for example:

<time datetime="2017-11-15T07:35:40+03:00">
November 15th 2017 at 7.35am

For setting up sorting and filtering follow the instructions for the Widget and the Separate Results Page view. You can also use the publishing time with Date Boost to increase the importance of the most recent content.