[(#REM) Exemple tres simple de sitemap.xml accessible via URL_SITE_SPIP/sitemap.xml (copier htaccess.txt en .htaccess pour en beneficier) Ce sitemap affiche la liste des rubriques, breves et articles, en se limitant a 1000 rubriques, 1000 breves et 2000 articles pour des raisons de performances. Duree de reindexation et priorite ne sont pas precisees, sauf pour l'accueil. Mais si date_modif est recente (1 jour) on l'indique, pour que ce soit reindexe en priorite (On pose un cache a zero pour echapper au test _IS_BOT) ]#CACHE{0} #HTTP_HEADER{Content-Type: text/xml; charset=utf-8} [(#REM) Accueil] #URL_SITE_SPIP/ weekly 1.00 #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #SET{variable, #QUESTION|ltrim{'rubrique|'} } #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #URL_SITE_SPIP/#URL_RUBRIQUE weekly 0.80 #URL_SITE_SPIP/#URL_RUBRIQUE/ weekly 0.80