First of all, I just created a sitemap but it says

<!--
Google Site Map File Generated by http://www.sitemapbuilder.net Fri, 22 May 2009 06:40:23 GMT
-->

What is that all about? Also, it only shows about a dozen top level links whereas I have hundreds in the website. I tried going to content and updating xml manually node by node and they do reflect in the xml output.

Something seems very wrong. Please advise. Thanks. Kevin

[Edited by KiamLaLuno to show the HTML comment]

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

You are using the Drupal XML sitemap and not http://www.sitemapbuilder.net to generate your Drupal site's XML sitemap correct? Because we aren't the authors of http://www.sitemapbuilder.net.

pyxio’s picture

I see I had an old sitemap.xml file in my directory created by another application about 5 months ago. I guess this module does not overwrite an existing sitemap.xml file if there is one. I physically deleted sitemap.xml and everything is OK now. Thanks for the heads up. K

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Fixed
Dave Reid’s picture

BTW, I've added a xmlsitemap_requirements() check for this in the 6.x-2.x branch:

  if (variable_get('clean_url', 0) && file_exists('./sitemap.xml')) {
    $requirements['xmlsitemap_file'] = array(
      'title' => $t('XML sitemap'),
      'value' => $t('Existing sitemap.xml file found.'),
      'severity' => REQUIREMENT_ERROR,
      'description' => $t('The XML sitemap module cannot display its XML output if there is an existing sitemap.xml file in your website root.'),
    );
  }
Anonymous’s picture

Title: Sitemap is small and has a weird date » Requirements check for existing sitemap.xml file.
Version: 6.x-1.1 » 6.x-1.x-dev
Assigned: Unassigned »
Category: bug » task
Status: Fixed » Active

Thanks Dave.

Dave Reid’s picture

Status: Active » Fixed

Committed #4 to 6.x-1.x CVS. Also discovered the hook_requirements() implementation was named incorrectly.
http://drupal.org/cvs?commit=259502

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.