Supongamos que un artículo tiene varias palabras clave y queremos la lista de todos los artículos que tienen alguna de esas palabras clave, ordenados por orden alfabético.

Necesitaremos tres bucles.

Primer bucle:

<BOUCLE_mots(MOTS){id_article}>
  <B_mots_articulos>
    <BOUCLE_mots_articulos(ARTICLES){id_mot}{exclus}{doublons uno}>
  </BOUCLE_mots_articulos>
</BOUCLE_mots>

Segundo bucle:

<BOUCLE_uno(ARTICLES){doublons uno}{doublons dos}>
</BOUCLE_uno>

Tercer bucle:

<B_dos>
<h3>Art&iacute;culos relacionados</h3>
<BOUCLE_dos(ARTICLES){doublons dos}{par titre}>
  <p><a href="#URL_ARTICLE">#TITRE</a></p>
</BOUCLE_dos>
Blog de Dabne || Web de Dabne Suffusion theme by Sayontan Sinha