User Tools

Site Tools


en:user:gs3_list_of_format_options

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
en:user:gs3_list_of_format_options [2024/03/11 20:16] – [Collection/Interface Text Strings] kjdonen:user:gs3_list_of_format_options [2024/06/03 23:44] – [Templates] kjdon
Line 65: Line 65:
 Templates are the containers that hold all format statements. The value of ''match'' determines which part of the page content the template applies to. For example,  Templates are the containers that hold all format statements. The value of ''match'' determines which part of the page content the template applies to. For example, 
 ''<gsf:template match="documentNode">template definition </gsf:template>''  matches a documentNode element. ''<gsf:template match="documentNode">template definition </gsf:template>''  matches a documentNode element.
 +
 +==== Other ====
 +
 +The ''display'' ''format'' element can also contain ''<gsf:headMetaTags>'' element. This looks something like the following, and is used to add metadata into the HTML header of the document page.
 +<code>
 +<gsf:headMetaTags>
 +   <gsf:metadata name="dc.Title"/>
 +   <gsf:metadata name="dc.Subject"/>
 +   <gsf:metadata name="dls.Organization"/>
 +   <gsf:metadata name="dc.Author"/>
 +</gsf:headMetaTags>
 +</code>
 +This will output META tags for any of these metadata elements present for the document, like:
 +<code>
 +<META CONTENT="Butterfly Farming in Papua New Guinea" NAME="dc.Title" />
 +</code>
 +  
  
 ===== What can go inside a template? ===== ===== What can go inside a template? =====
en/user/gs3_list_of_format_options.txt · Last modified: 2024/06/03 23:50 by kjdon