[Documentation de SPIP] PUBLIE : 5. The ARTICLES loop

Article publié
--------------

L'article "5. The ARTICLES loop" a été validé par George.

** 5. The ARTICLES loop **
par Paul Knight le dimanche 5 octobre 2003

The articles loop is coded by placing ARTICLES (with an "S") in
parentheses.

<BOUCLEn(ARTICLES)criterion...>

Note. An ARTICLES loop only returns published articles. There are no means
of displaying articles with the status of "editing in progress",
"submitted for evaluation" or "rejected".

The selection criteria

We will use one of the following criteria to indicate how we will select
the articles:

tout, i.e. "all", will select all the articles from all sections
(rubriques) available on the site. This is particularly useful for
displaying the most recent articles from the whole site on the home (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2083