SPIP

Système de Publication pour Internet

http://www.spip.net

Les articles publiés sur le site

  • |attribut_html

    7 juillet 2010, par MarkFilters, ,
    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

    7 juillet 2010, par MarkFilters, ,
    The |balise_img filter generates a full image tag (Filters / SPIP 2.1, balise_img
  • |choixsivide{ifyes, ifnot}

    7 juillet 2010, par MarkFilters,
    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

    7 juillet 2010, par MarkFilters, ,
    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, ...}

    7 juillet 2010, par MarkFilters, ,
    |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 (...)

Rechercher

Recherche avancée

Sites Web