Файловый менеджер - Редактировать - /home/etiennec/www/f1f54/sitemap.xml.html.tar
Назад
home/etiennec/www/squelettes-dist/sitemap.xml.html 0000666 00000002471 15250255053 0016412 0 ustar 00 [(#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} <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> [(#REM) Accueil] <url> <loc>#URL_SITE_SPIP/</loc> <changefreq>hourly</changefreq> </url> [(#REM) Rubriques ] <BOUCLE_r(RUBRIQUES){!par date}{0,1000}>[ <url><loc>(#URL_RUBRIQUE|url_absolue)</loc></url>]</BOUCLE_r> [(#REM) Articles ] [(#SET{recent,[(#VAL{Y-m-d H:i:s}|date{#VAL{"-1 day"}|strtotime})]})] <BOUCLE_a(ARTICLES){!par date_modif}{!par date}{0,2000}>[ <url><loc>(#URL_ARTICLE|url_absolue)</loc>[(#DATE_MODIF**|>{#GET{recent}} |?{[<lastmod>(#DATE_MODIF**|date_iso)</lastmod>]})]</url>]</BOUCLE_a> [(#REM) Breves ] <BOUCLE_b(BREVES){!par date}{0,1000}>[ <url><loc>(#URL_BREVE|url_absolue)</loc></url>]</BOUCLE_b> </urlset>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка