Les articles publiés sur le site
-
|taille_en_octets
25 juin 2010, par Mark — FiltersThe |taille_en_octets filter (meaning "size in bytes" in French) converts a number of bytes (25678906) into a more explicit character string ("24.4 MB"). Example within a DOCUMENTS loop: #TITRE - #TYPE_DOCUMENT[ - (#TAILLE|taille_en_octets)]) will display "My document - JPEG - 82.6 KB" - (...) -
|safehtml
25 juin 2010, par Mark — FiltersHTML content originating from outside the site (input through forms or through site syndication) are by definition considered as being "uncontrolled", and therefore potentially problematic if it contains unclosed tags, JavaScript, SQL code, etc. SPIP therefore systematically applies the (...) -
|nom_jour
25 juin 2010, par Mark — FiltersThe |nom_jour filter (since SPIP 1.0.3, SPIP 1.0.4, SPIP 1.0.5), when applied to a tag that returns a valid date, will display the common name of the day (Monday, Tuesday...). Example: for an article published on 22-01-2008, [(#DATE|nom_jour)] will display "Tuesday". This filter can be used (...) -
|nom_mois
25 juin 2010, par Mark — FiltersThe |nom_mois filter (since SPIP 1.0.3, SPIP 1.0.4, SPIP 1.0.5), when applied to a tag that returns a valid date, will display the common name of the month (January, February...). Example: for an article published on 22-01-2008, [(#DATE|nom_mois)] will display "January". See also the |nom_jour (...) -
|saison
25 juin 2010, par Mark — FiltersThe |saison filter, applied to a tag that returns a valid date, displays the common name of the corresponding season (summer, autumn...). Example: for an article published on 22-01-2008, [(#DATE|saison)] will display "winter". The seasons are defined as: from 21-03 to 20-06: spring from 21-06 (...)