314c311a |
1 | <!--[ |
2 | |
3 | LODEL - Logiciel d'Edition ELectronique. |
4 | Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos |
5 | Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot |
6 | Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou |
7 | |
8 | Home page: http://www.lodel.org |
9 | E-Mail: lodel@lodel.org |
10 | All Rights Reserved |
11 | This program is free software; you can redistribute it and/or modify |
12 | it under the terms of the GNU General Public License as published by |
13 | the Free Software Foundation; either version 2 of the License, or |
14 | (at your option) any later version. |
15 | This program is distributed in the hope that it will be useful, |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | GNU General Public License for more details. |
19 | You should have received a copy of the GNU General Public License |
20 | along with this program; if not, write to the Free Software |
21 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.]--> |
22 | |
23 | |
24 | <USE MACROFILE="macros_technique.html"> |
25 | <USE MACROFILE="macros_site.html"> |
26 | <MACRO NAME="ENTETE_XML"> |
27 | <urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"> |
28 | |
29 | <!--[Page d'accueil du site]--> |
30 | <url> |
31 | <loc>[(#CURRENTURL|dirname)]/</loc> <!--[ URL]--> |
32 | <lastmod>[#MODIFICATIONDATE|formateddate("%Y-%m-%dT%T")]</lastmod> <!--[ Date au format ISO 8601 ]--> |
33 | <changefreq>always</changefreq> <!--[ Frequence de changement des urls : always, hourly,daily,...]--> |
34 | <priority>1.0</priority> <!--[ Priorité de l'url par rapport aux autres ]--> |
35 | </url> |
36 | |
37 | <!--[ ************************************************* ]--> |
38 | <!--[ Boucle affichant toutes les urls du site (entites) ]--> |
39 | <!--[ ************************************************* ]--> |
40 | <LOOP NAME="sitemapentities" TABLE="entities" WHERE="status GT 0"> |
41 | <DO> |
42 | <url> |
43 | <loc>[(#CURRENTURL|dirname)]/[#ID|makeurlwithid]</loc> |
44 | <lastmod>[#MODIFICATIONDATE|formateddate("%Y-%m-%dT%T")]</lastmod> |
45 | <changefreq>daily</changefreq> |
46 | <priority>0.9</priority> |
47 | </url> |
48 | </DO> |
49 | </LOOP> |
50 | |
51 | <!--[ ************************************************* ]--> |
52 | <!--[Boucle affichant les indexs ]--> |
53 | <!--[ ************************************************* ]--> |
54 | <LOOP NAME="sitemapentries" TABLE="entries" WHERE="status GT 0"> |
55 | <DO> |
56 | <url> |
57 | <loc>[(#CURRENTURL|dirname)]/[#ID|makeurlwithid]</loc> |
58 | <lastmod>[#UPD|formateddate("%Y-%m-%dT%T")]</lastmod> |
59 | <changefreq>daily</changefreq> |
60 | <priority>0.8</priority> |
61 | </url> |
62 | </DO> |
63 | </LOOP> |
64 | |
65 | <!--[ ************************************************* ]--> |
66 | <!--[Boucle affichant les index de personnes ]--> |
67 | <!--[ ************************************************* ]--> |
68 | <LOOP NAME="sitemappersons" TABLE="persons" WHERE="status GT 0"> |
69 | <DO> |
70 | <url> |
71 | <loc>[(#CURRENTURL|dirname)]/[#ID|makeurlwithid]</loc> |
72 | <lastmod>[#UPD|formateddate("%Y-%m-%dT%T")]</lastmod> |
73 | <changefreq>daily</changefreq> |
74 | <priority>0.8</priority> |
75 | </url> |
76 | </DO> |
77 | </LOOP> |
78 | </urlset> |