• Welcome to Sitemap Generator Forum.
 

Further Explaination of sitemap_tpl.html

Started by will1, November 07, 2007, 03:20:47 AM

Previous topic - Next topic

will1

Since we aren't allowed to see the source, the manual claims there are XX tags. I looked at the examples in the tpl, and have some direction, but i am trying to figure out what other options there are.

Could you please expand on what tags are supported, and their use?

Currently I am trying to convert my template to something more semantic.

"The basic template commands are:
<TLOOP XX>...</TLOOP> - defines a repeating sequence of code (like page numbers or sitemap links)
<TIF XX>...</TIF> - defines a conditional statement that is inserted only when a specific term is met
<TVAR XX> - inserts a value of a specified variable
Please refer to sitemap_tpl.html file for usage example. "

what are valid commands for XX? are they all in the tpl?

XML-Sitemaps Support

Hello,

allowed variables are only those that are already presented in default template:

for <TVAR> tag:
- LASTUPDATE (last update date)
- TOTALURLS (total pages in sitemap)
- num (page number)
- link (page link)
- folder (subfolder name)
- cnt (pages number in subfolder)
- title_clean (title with stripped html tags)
- title (page title)

for <TLOOP> tag:
- APAGER (multiple pages links)
- slots (folders structure)
- alevel (directory depth level)
- pages (URLs indexed in current subfolder)

will1


XML-Sitemaps Support

This is a conditional statement.

This block will be only inserted when pages list is presented:
<TIF APAGER>
</TIF>

will1

<TIF current>[<TVAR num>]<TELSE><a href="<TVAR link>"><TVAR num></a></TIF>

Is there a command to something similar for pages or slots?