template::head::add_meta (public)

 template::head::add_meta [ -http_equiv http_equiv ] [ -name name ] \
    [ -scheme scheme ] [ -content content ] [ -lang lang ]

Defined in packages/acs-templating/tcl/head-procs.tcl

Add a meta tag to the head section of the document to be returned to the users client. A meta tag with a given name or http-equiv may only be added once; subsequent calls to add_meta will replace the existing entry. You must supply either name or http_equiv.

Switches:
-http_equiv (optional)
the http-equiv attribute of the meta tag, i.e. the HTTP header which this metadata is equivalent to e.g. 'content-type'
-name (optional)
the name attribute of the meta tag, i.e. the metadata identifier
-scheme (optional)
the scheme attribute of the meta tag defining which metadata scheme should be used to interpret the metadata, e.g. 'DC' for Dublin Core (http://dublincore.org/)
-content (optional)
the content attribute of the meta tag, i.e. the metadata value
-lang (optional)
the lang attribute of the meta tag specifying the language of its attributes if they differ from the document language

Testcases:
xowiki_test_cases
[ show source ]
Show another procedure: