Free Online
Sitemap Generator
Unlimited
Sitemap Generator
About Sitemaps
Broken Links
Forum
Testimonials
Tools
Contact
Advanced search
Sitemap Generator Forum
September 05, 2008, 09:01:42 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Sitemap software 2.9 released
- Email notifications, html sitemap customizing and more
7421
Posts in
1828
Topics by
Members
Latest Member:
bashworth
Sitemap Generator Forum
>
XML Sitemaps Discussions Category
>
Unlimited PHP Sitemap Generator
>
Further Explaination of sitemap_tpl.html
Pages: [
1
]
« previous
next »
Print
Author
Topic: Further Explaination of sitemap_tpl.html (Read 4495 times)
will1
Registered Customer
Newbie
Posts: 3
Further Explaination of sitemap_tpl.html
«
on:
November 07, 2007, 03:20:47 AM »
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?
«
Last Edit: November 07, 2007, 03:30:59 AM by will1
»
Logged
admin
Administrator
Hero Member
Posts: 3113
Re: Further Explaination of sitemap_tpl.html
«
Reply #1 on:
November 08, 2007, 11:49:43 PM »
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)
Logged
Oleg Ignatiuk
http://www.xml-sitemaps.com
will1
Registered Customer
Newbie
Posts: 3
Re: Further Explaination of sitemap_tpl.html
«
Reply #2 on:
November 14, 2007, 05:57:48 AM »
what about <TIF> ? what does it support?
Logged
admin
Administrator
Hero Member
Posts: 3113
Re: Further Explaination of sitemap_tpl.html
«
Reply #3 on:
November 15, 2007, 03:14:19 AM »
This is a conditional statement.
This block will be only inserted when pages list is presented:
<TIF APAGER>
</TIF>
Logged
Oleg Ignatiuk
http://www.xml-sitemaps.com
will1
Registered Customer
Newbie
Posts: 3
Re: Further Explaination of sitemap_tpl.html
«
Reply #4 on:
November 16, 2007, 04:13:09 AM »
<TIF current>[<TVAR num>]<TELSE><a href="<TVAR link>"><TVAR num></a></TIF>
Is there a command to something similar for pages or slots?
Logged
admin
Administrator
Hero Member
Posts: 3113
Re: Further Explaination of sitemap_tpl.html
«
Reply #5 on:
November 17, 2007, 03:42:27 AM »
No, since there is no "current" URL or slot in sitemap.
Logged
Oleg Ignatiuk
http://www.xml-sitemaps.com
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
XML Sitemaps Discussions Category
-----------------------------
=> Unlimited PHP Sitemap Generator
=> Bug reporting for Standalone Sitemap Generator
=> Free Online Sitemaps Generator
=> Site maps - General Discussion
Loading...