Re: Google Sitemap generation - double links

Thorsten Weber <[email protected]> Thu, 26 Jan 2012 17:17:06 +0100
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Hi Sebastian,

i noticed that too ...
i think this comes from empty folders which have only subfolders but no content (?)

and if you like to have declarative urls don't forget to unset preview in REQUEST
like:
<dtml-call "REQUEST.set('preview','')">


kind regards,  
Thorsten Weber

				thorsten weber
				software development

				pro in space gmbh
				spichernstrasse 34a
				50672 köln

				[email protected]
				http://www.proinspace.com

				T: 0049 221.29 21 79.26
				F: 0049 221.29 21 79.94

				managing directors:
				uli wilkes
				jürgen brandt
				oliver blaum

				amtsgericht köln
				hrb 33 444
				ust-idnr DE209049800

Am 26.01.2012 um 17:07 schrieb Sebastian Tänzer:

> Hello fellow ZMs users,
> 
> I'm generating a Google sitemap using the code from http://www.zms-publishing.com/dokumentation/howto/import_export_xml/google_sitemaps/index_ger.html. 
> This works fine until I noticed that some folders are in there twice:
> 
> <url>
> <loc>/index_ger.html</loc>
> <lastmod>2012-01-26</lastmod>
> <changefreq>daily</changefreq>
> <priority>0.5</priority>
> </url>
> <url>
> <loc>/klinik/willkommen/index_ger.html</loc>
> <lastmod>2011-03-09</lastmod>
> <changefreq>daily</changefreq>
> <priority>0.5</priority>
> </url>
> <url>
> <loc>/klinik/willkommen/index_ger.html</loc>
> <lastmod>2011-07-28</lastmod>
> <changefreq>daily</changefreq>
> <priority>0.5</priority>
> </url>
> <url>
> <loc>/klinik/klinikdirektion/index_ger.html</loc>
> <lastmod>2011-07-28</lastmod>
> <changefreq>daily</changefreq>
> <priority>0.5</priority>
> </url>
> 
> Any ideas how this could happen?
> 
> Best, Sebastian Tänzer
> 
> -
> tänzermedien GmbH - Agentur für Online-Medien
> Kekuléstr. 39 | 53115 Bonn, Germany
> E-Mail: [email protected] | Web: http://www.taenzer.me 
> Tel.: 0228-304134-0 | Fax.: 0228-304134-99
> 
>