Last change
on this file since 117558 was
107918,
checked in by erational@…, 3 years ago
|
on blinde la boucle en sortant les articles à venir
on supprime le robots.txt pour évier les conflits avec d'autres plugins
désavantage: il faudra inscrire le flux à la main
|
File size:
883 bytes
|
Rev | Line | |
---|
[70522] | 1 | #CACHE{0} |
---|
| 2 | #HTTP_HEADER{Content-Type: text/xml; charset=utf-8} |
---|
| 3 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 4 | <urlset |
---|
| 5 | xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" |
---|
| 6 | xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" |
---|
| 7 | > |
---|
[107918] | 8 | <BOUCLE_derniers_articles(ARTICLES){age>=0}{age<=2}{!par date}{0,1000}{id_rubrique?}{id_mot?}> |
---|
[70522] | 9 | <url> |
---|
| 10 | <loc>[(#URL_ARTICLE|url_absolue)]</loc> |
---|
| 11 | <news:news> |
---|
| 12 | <news:publication> |
---|
[70524] | 13 | <news:name>[(#NOM_SITE_SPIP|texte_backend)]</news:name> |
---|
| 14 | <news:language>#LANG</news:language> |
---|
[70522] | 15 | </news:publication> |
---|
| 16 | <news:genres>OpEd</news:genres> |
---|
| 17 | <news:publication_date>[(#DATE|affdate{Y-m-d})]</news:publication_date> |
---|
[70524] | 18 | <news:title>[(#TITRE|texte_backend)]</news:title> |
---|
[107913] | 19 | <B_mots><news:keywords><BOUCLE_mots(MOTS?){id_article}{", "}>[(#TITRE|texte_backend)]</BOUCLE_mots></news:keywords></B_mots> |
---|
[70522] | 20 | </news:news> |
---|
| 21 | </url> |
---|
| 22 | </BOUCLE_derniers_articles> |
---|
| 23 | </urlset> |
---|
Note: See
TracBrowser
for help on using the repository browser.