Last change
on this file since 51 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <urlset xmlns="http://www.google.com/schemas/sitemap/0.84" |
---|
3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
5 | tal:define="path python:'/'.join(here.getPhysicalPath()); |
---|
6 | results python:container.searchForGoogleSitemapObjects(path); |
---|
7 | dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml'); |
---|
8 | compress nocall:here/enableHTTPCompression | nothing; |
---|
9 | dummy python:compress and compress(request=request); |
---|
10 | additionalURLs python:modules['Products.qPloneGoogleSitemaps.utils'].additionalURLs"> |
---|
11 | <url tal:condition="results" |
---|
12 | tal:repeat="result python:results.items()"> |
---|
13 | <loc tal:content="python:result[0]">http://www.yoursite.com/</loc> |
---|
14 | <lastmod tal:content="python: DateTime(result[1].ModificationDate).HTML4()">2005-01-01</lastmod> |
---|
15 | </url> |
---|
16 | <url tal:define="URLs python:additionalURLs(context)" |
---|
17 | tal:condition="URLs" |
---|
18 | tal:repeat="URL URLs"> |
---|
19 | <loc tal:content="URL">http://www.yoursite.com/</loc> |
---|
20 | </url> |
---|
21 | </urlset> |
---|
Note: See
TracBrowser
for help on using the repository browser.