$controler_dates_rss defines if SPIP should check the date of elements arriving in RSS feeds from the syndicated sites.

When SPIP includes articles issued from an RSS feed into its database, it checks the date of the articles:
-  if the article is more than one year old
-  or if is dated more than two days into the future

If one of these conditions is fulfilled, SPIP then considers that there is an error in the article’s date and will replace it with today’s date instead.

It is possible to deactivate this behaviour by setting the $controler_dates_rss variable to be false in your config/mes_options.php file (refer to the article dedicated to The mes_options.php file).


// do not change the dates on syndicated articles
$controler_dates_rss = false;

Author Mark Published : Updated : 26/10/12

Translations : català, English, français, Nederlands