Example:
We are syndicating a photo blog site which systematically distributes a small commentary followed by a photograph. This photograph is included as an HTML <img src="... />
type tag. Once we have syndicated the blog on our site, we can choose to only display the photo, without the accompanying commentary using this code: [(#DESCRIPTIF|extraire_balise{img})]
Starting from there, many other possibilities arise:
- display the URL for the image:
[(#DESCRIPTIF|extraire_balise{img}|extraire_attribut{src})]
- display the width of the image:
[(#DESCRIPTIF|extraire_balise{img}|extraire_attribut{width})]
- assign a particular styling to the image:
[(#DESCRIPTIF|extraire_balise{img}|inserer_attribut{style, border: double red 4px})]