source: spip-zone/_plugins_/cumulus/nuage_popularite.xml.html @ 51414

Last change on this file since 51414 was 51414, checked in by toutati@…, 10 years ago

on retire la boucle expose qui ne sert pas

  • Property svn:executable set to *
File size: 823 bytes
Line 
1[(#HTTP_HEADER{Content-type: text/xml[; charset=(#CHARSET)]})]<tags>
2#SET{max,0}
3<BOUCLE_maxmot(MOTS){id_groupe!==^((#ENV{notid,-1}))$}>
4        #SET{pop,0}
5        <BOUCLE_pop(ARTICLES) {id_mot}>
6                [(#SET{pop,[(#POPULARITE|plus{#GET{pop}})]})]
7        </BOUCLE_pop>
8        [(#GET{pop}|>{[(#GET{max})]}|oui)
9                [(#SET{max,[(#GET{pop})]})]
10        ]
11</BOUCLE_maxmot>
12
13<BOUCLE_tags(MOTS){id_groupe!==^((#ENV{notid,-1}))$} {par num titre,titre}>
14    #SET{pop,0}
15    <BOUCLE_popularite(ARTICLES) {id_mot}>
16        [(#SET{pop,[(#POPULARITE|plus{#GET{pop}})]})]
17    </BOUCLE_popularite>
18[(#GET{pop}|>{0}|oui)
19<a href="#URL_MOT" rel="tag" title="[(#GET{pop})/#GET{max}]" style="font-size:[(#EVAL{#GET{max}/#GET{pop}+6}|round)]pt">[(#TITRE|texte_backend|oeuf)]</a>
20]
21</BOUCLE_tags>
22</B_tags>
23</tags>
Note: See TracBrowser for help on using the repository browser.