sg

Perşembe, Aralık 01, 2005

Re: google cant find sitemap


The sitemap xml files are dynamically generated on the fly.

To verify for yourself that the pages are the same, please look at
tas.rostrum.com.au (which is fairly sparse at the moment - I'm in the
process of shifting from an old site), and compare any pages to
www.rostrum.com.au/tas

The generation script (based on Qunta's script, and included at the
bottom of this post) is the same script in all the same cases, but it
is aware of how it is called.

I do not own the machine that our zope instance is running on, and
there are many plone sites being hosted by the one shared zope
instance.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
tal:define="path python:'/'.join(here.getPhysicalPath());
results python:container.portal_catalog(path=path
, sort_on='Date'
,
sort_order='reverse'
, review_state=['published']); dummy
python:request.RESPONSE.setHeader('Content-Type', 'text/xml');">
<url tal:condition="results" tal:repeat="result results">
<loc
tal:content="result/getURL">http://www.rostrum.com.au/tas/</loc>
<lastmod tal:content="python:
DateTime(result.ModificationDate).HTML4()">2005-01-01</lastmod>
</url>
</urlset>

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık