bug in "generate_sitemap" job (5.3.3.1)
Permalink 1 user found helpful
the sitemap job also includes external links in the sitemap.xml
to prevent this you have to add the following code:
after these codelines:
approx. line 71.
2nd bug, but only a small one: there is a white space after the first "<lastmod>" entry (source code line 39). this should also be removed.
I attach the correct "generate_sitemap.php". Please can someone add this to CVS / SVN?
to prevent this you have to add the following code:
if($c->isExternalLink()) { continue; }
after these codelines:
if($c->getAttribute("exclude_sitemapxml")) { continue; }
approx. line 71.
2nd bug, but only a small one: there is a white space after the first "<lastmod>" entry (source code line 39). this should also be removed.
I attach the correct "generate_sitemap.php". Please can someone add this to CVS / SVN?