* general : gommage des superflus

* body : stabilisation marquage html5
master
l.oiseau2nuit@gmail.com 12 years ago
parent 60cbd1573e
commit c89dc7c485

3
.gitattributes vendored

@ -50,7 +50,6 @@ extra2/rubrique.html -text
extra2/site.html -text
extra2/sommaire.html -text
extra2/z_apl.html -text
/favicon.ico.html -text
/feed.png -text
foot_js/dist.html -text
foot_js/sommaire.html -text
@ -100,8 +99,6 @@ modeles/favicon.html -text
modeles/pagination.html -text
/mot.html -text
/plugin.xml -text
/robots.txt.html -text
/rubrique.html -text
/site.html -text
/sitemap.xml.html -text
/z5_options.php -text

@ -1,29 +1,12 @@
<body>
[(#REM) Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
chromium.org/developers/how-tos/chrome-frame-getting-started ]
<!--[if lt IE 7]>
<p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<section class="page">
<header id="header"><INCLURE{fond=header/#ENV{type-page},env} /></header>
<nav class="hornav clearfix" id="nav"><INCLURE{fond=inclure/nav,env} /></nav>
<div class="container" role="main">
<section class="content" id="content">
<INCLURE{fond=content/#ENV{type-page},env} />
</section>
<aside class="extra1 col" id="extra1">
<INCLURE{fond=extra1/#ENV{type-page},env} />
</aside>
<aside class="extra2 col" id="extra2">
<INCLURE{fond=extra2/#ENV{type-page},env} />
</aside>
</div>
<footer id="footer">
<INCLURE{fond=footer/#ENV{type-page},env} />
</footer>
<section class="container" id="container" role="main">
<section class="content" id="content"><INCLURE{fond=content/#ENV{type-page},env} /></section>
<aside class="extra1 col" id="extra1"><INCLURE{fond=extra1/#ENV{type-page},env} /></aside>
<aside class="extra2 col" id="extra2"><INCLURE{fond=extra2/#ENV{type-page},env} /></aside>
</section>
<footer id="footer"><INCLURE{fond=footer/#ENV{type-page},env} /></footer>
</section>
[(#REM) Chargements scripts et plugins en pied de page (Exemple : Google analytics) ]
<INCLURE{fond=foot_js/#ENV{type-page},env} />
</body>

@ -1,2 +0,0 @@
#HTTP_HEADER{Content-Type: image/x-icon}[(#INCLURE{favicon.ico}
|sinon{#INCLURE{spip.ico}})]

@ -1,19 +0,0 @@
#HTTP_HEADER{Content-Type: text/plain; charset=#CHARSET}
# robots.txt
# @url: #URL_SITE_SPIP
# @generator: SPIP #SPIP_VERSION
# @template: #SQUELETTE
User-agent: *
Disallow: /local/
Disallow: /ecrire/
Disallow: /extensions/
Disallow: /lib/
Disallow: /plugins/
Disallow: /prive/
Disallow: /squelettes-dist/
Disallow: /squelettes/
Sitemap: #URL_SITE_SPIP/sitemap.xml

@ -1,42 +0,0 @@
[(#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>
Loading…
Cancel
Save