SPIP

Système de Publication pour Internet

http://www.spip.net

Les articles publiés sur le site

  • |texte_backend

    25 juin 2010, par MarkFilters
    The |texte_backend filter appleid to a text tag will translate the HTML output of that tag into a format that is compatible with XML feeds. It is used, for example in the backend.html template used to generate the RSS feeds for SPIP-published content. This filter transforms links into absolute (...)
  • |texte_script

    25 juin 2010, par MarkFilters
    The |texte_script filter transforms tag output into a character string that can be used in complete security by a PHP or JavaScript script. The following PHP script provides an example: Attention: make sure to use the ' (simple quote) character and not the " (double quote) character to delimit (...)
  • |textebrut

    25 juin 2010, par MarkFilters
    The |textebrut filter transforms the output of the tag to which it is applied by replacing any and tags with simple line feeds; double line feeds are replaced by a single line feed, double spaces are replaced by single spaces, and hard spaces are replaced with ordinary soft spaces. It also (...)
  • |traduire_nom_langue

    25 juin 2010, par MarkFilters
    |traduire_nom_langue is applied to the #LANG tag and returns a translation of the language code provided by that tag (fr, en, it, etc.) into that language. Remarks: The translation of codes are made into the language that that code represents, and will follow the writing conventions of that (...)
  • |unique

    25 juin 2010, par MarkFilters
    The |unique filter (since spip) returns the value of the tag that is is applied to only if it is the first time that that tag is encountered. It is therefore applied to a tag located inside a loop. In order to differentiate several independent uses within the loop, it is possible to pass a (...)

Rechercher

Recherche avancée

Sites Web