Les articles publiés sur le site
-
|attribut_html
The attribut_html filter processes a character string to make sure that it can be used as an HTML attribute value without compromising the function of the code (i.e. it removes or "escapes" any characters that should not be used within such HTML attributes); for example, if we want to add a (...) -
|balise_img
The |balise_img filter generates a full image tag (Filters / SPIP 2.1, balise_img -
|choixsivide{ifyes, ifnot}
The |choixsivideifyes, ifnot filter is equivalent to the |?sioui, sinon filter. It accepts either one or two parameters: ifyes is the value to display instead of the filtered element if that element returns an empty value itself. ifnot is the value to display if the filtered element is not (...) -
|compacte
The |compacte filter is applied to a CSS or JavaScript file[The file to which the filter is applied must have either ".js" or ".css" as its filename extension.]] and creates a compressed copy which is smaller than the original as it deletes all comments, empty declarations, unnecessary blank (...) -
|concat{value1, value2, ...}
|concatvalue1,value2,... is used to concatenate one or character strings to the value of the function used as input. Example: Concatenate a customised extra field to the raw body text of an article and then run the standard SPIP cleaning filter with: #TEXTE*|concat"Introductory header to the (...)