source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/galeries/xml_audioflash.html @ 84

Last change on this file since 84 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 967 bytes
Line 
1#HTTP_HEADER{Content-Type: text/xml}
2#SET{critere_in,#ARRAY{0,0}}
3<BOUCLE_docart(DOCUMENTS){id_article}{extension==mp3}>
4#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
5</BOUCLE_docart>
6<BOUCLE_docrub(DOCUMENTS){id_rubrique}{extension==mp3}>
7#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
8</BOUCLE_docrub>
9
10<B_galerieaudio><playlist version="1" xmlns="http://xspf.org/ns/0/">
11        <trackList><BOUCLE_galerieaudio(DOCUMENTS){id_document IN #GET{critere_in}}{par num titre,id_document}>
12        <track>
13        <title>[(#DESCRIPTIF|texte_backend|sinon{<:pas_de_descriptif:>})]</title>
14        <creator>[(#TITRE|supprimer_numero|texte_backend|sinon{<:sans_titre:>})]</creator>
15        <image>#URL_SITE_SPIP/[(#LOGO_DOCUMENT||extraire_attribut{src})]</image>
16        <location>[#URL_SITE_SPIP/(#URL_DOCUMENT)]</location>
17        <identifier>#ID_DOCUMENT</identifier>
18        </track>
19
20</BOUCLE_galerieaudio></trackList>
21</playlist>
22</B_galerieaudio>
Note: See TracBrowser for help on using the repository browser.