In
function xmlsitemap_node_xmlsitemap_links()

there is no update of link if time is changed
@line 314:
$old_row = db_fetch_object(db_query("SELECT lid, type, language, priority,changed FROM {xmlsitemap} WHERE loc = '%s'", $row->loc));
#(fetch changed from old row)
@line 320:
elseif ($old_row->type == 'node' && ($old_row->priority != $row->priority || $old_row->language != $row->language || $old_row->changed!=$row->changed )) {
$row->lid = $old_row->lid;
drupal_write_record('xmlsitemap', $row, 'lid');

update record if time is changed!

I attach the diff

CommentFileSizeAuthor
#1 sitemap.diff1.34 KBsmartango
sitemap.diff1.34 KBsmartango

Comments

smartango’s picture

StatusFileSize
new1.34 KB

sorry, it was reversed

dave reid’s picture

Status: Active » Closed (won't fix)

We're only accepting critical bug fixes for 6.x-1.x branch since we're not planning on creating another release.

smartango’s picture

from seo prospective this is critical, and being sitemap a seo tool, it should be critical.
Search engines do not rescan the page when updated, because sitemap report it is not updated!

dave reid’s picture

And you should also update to 6.x-2.x-dev or 6.x-2.0-beta1 as this is fixed there.

smartango’s picture

If I understand it, upgrade from 1.x branch is not supported.
It is ok to disinstall 1.2, remove module, install 2.0 module ?
would you add this path in project page.
Ok, I will update :)

dave reid’s picture

Upgrading from 6.x-1.x or 6.x-1.2 is supported. It's the actual 1.x code itself that is not supported anymore.