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).
Example:
// do not change the dates on syndicated articles
$GLOBALS['controler_dates_rss'] = false;