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

Article proposé
---------------

L'article "5. The ARTICLES loop" est proposé à la publication.
Vous êtes invité à venir le consulter et à donner votre opinion
dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/articles.php3?id_article=2083

** 5. The ARTICLES loop **
par Paul Knight

The ARTICLES loop returns a list of articles.

Note. An ARTICLES loop only returns published articles. There is 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, e.g. “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 a banner page
or what’s new page. [ Actually, the criterion "tout" is not treated in a
data-processing way: (...)