[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction



June 2010

All the versions of this article:

$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;

Show the template of this page Site powered by SPIP | Translation area | Private area