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
Comments
Comment #1
smartango commentedsorry, it was reversed
Comment #2
dave reidWe're only accepting critical bug fixes for 6.x-1.x branch since we're not planning on creating another release.
Comment #3
smartango commentedfrom 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!
Comment #4
dave reidAnd you should also update to 6.x-2.x-dev or 6.x-2.0-beta1 as this is fixed there.
Comment #5
smartango commentedIf 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 :)
Comment #6
dave reidUpgrading 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.