[Documentation de SPIP] PUBLIE : SPIP tags: the syntax

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

L'article "SPIP tags: the syntax" a été validé par George.

** SPIP tags: the syntax **
par George le vendredi 12 septembre 2003

Each type of loops can select items from the SPIP database: articles,
sections, news items, etc. Each of these items is itself constituted of
precise elements: a title, a date, a body, etc. Consequently, we should be
able to indicate, inside a loop, where in the HTML code such precise
elements should be placed.

That is where SPIP tags come into action. How it simply works A SPIP tag
is placed inside a loop (because we need to know if we want to retrieve an
article, a section, etc.). Generally, the tags names are simple and we
provide, for each loop type, the complete list of tags that we can use.

A tag always starts with the hash symbol (#).

For instance, let (...)

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