Tag reference sheet

Tag library reference for the following tag libraries:

gs - version 2.1

Tags used by the Google Sitemap Module

Namespace definition: xmlns:gs="google-sitemap"

Tags

  • sitemap Draws a simple, css based, navigation menu

Required attributes are marked with a*

<gs:sitemap>

Draws a simple, css based, navigation menu. The menu layout can then be customized using css, and the default menu should be enough for most uses.

Can contain:EMPTY

Example

			
			<cmsu:navigation startLevel="3" style="mystyle"/>
			Will output the following:
			<ul class="level3 mystyle">
				<li><a href="...">page 1 name </a></li>
				<li><a href="...">page 2 name </a></li>
				<li class="trail"><a href="...">page 3 name </a>
					<ul class="level3">
						<li><a href="...">subpage 1 name </a></li>
						<li><a href="...">subpage 2 name </a></li>
						<li><strong><a href="...">selected page name </a></strong></li>
					</ul>
				</li>
				<li><a href="...">page 4 name </a></li>
			</ul>
			
		

Attributes

Name Description Type
changefreq Name for the "changefreq" nodeData. Defaults to "changefreq". If a page contains a string property with this name, the value is added to the sitemap. If no value exists, "weekly" is added. String
hideInNav Name for the "hide in nav" nodeData. If a page contains a boolean property with this name and it is set to true, the page is not shown in navigation. Defaults to "hideInNav" String
priority Name for the "priority" nodeData. Defaults to "priority". If a page contains a long property with this name, the value is added to the sitemap. If no value exists, 0.5 is added. String
startNode The start level for the tree String
workspace Name for the workspace. Defaults to "website". If "config", the Virutal URI Mappings are taken String