Created
February 1, 2012 17:10
-
-
Save sajogo/1718080 to your computer and use it in GitHub Desktop.
Google Sitemap for ZMS - Developer Version for ZMS Developers Yahoo List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<urlset | |
xmlns="http://www.google.com/schemas/sitemap/0.84" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 | |
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"> | |
<dtml-in "getLanguages(REQUEST)"> | |
<dtml-call "REQUEST.set('lang',_['sequence-item'])"> | |
<dtml-with content> | |
<dtml-call "REQUEST.set('obs',[this()])"> | |
<dtml-call "obs.extend(filteredTreeNodes(REQUEST,PAGES))"> | |
<dtml-in obs> | |
<dtml-if "filteredChildNodes(meta_types=PAGEELEMENTS) and not isResource(REQUEST)"> | |
<url> | |
<metaid><dtml-var "meta_id"></metaid> | |
<absurl><dtml-var "absolute_url()" html_quote></absurl> | |
<loc><dtml-var "getHref2IndexHtml(REQUEST, deep=0)" html_quote></loc> | |
<lastmod><dtml-var "getLangFmtDate(getObjProperty('change_dt',REQUEST),'eng','%Y-%m-%d')"></lastmod> | |
<priority><dtml-if "getObjProperty('attr_bot_priority',REQUEST)"><dtml-var "getObjProperty('attr_bot_priority',REQUEST)" fmt="%.5f"><dtml-else>0.5</dtml-if></priority> | |
</url> | |
</dtml-if> | |
</dtml-in> | |
</dtml-with> | |
</dtml-in> | |
</urlset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
contains XML elements for debugging - 'metaid' and 'absurl'
according to your content structure - modify parameter 'deep' in the call to getHref2IndexHtml()