You are here

function xmlsitemap_update_sitemap in XML sitemap 5

Mark the site map as changed and the cache as needing update.

Return value

None

Related topics

20 calls to xmlsitemap_update_sitemap()
xmlsitemap_node_comment in xmlsitemap_node/xmlsitemap_node.module
Implementation of hook_comment().
xmlsitemap_node_cron in xmlsitemap_node/xmlsitemap_node.module
Implementation of hook_cron().
xmlsitemap_node_disable in xmlsitemap_node/xmlsitemap_node.install
Implementation of hook_disable().
xmlsitemap_node_enable in xmlsitemap_node/xmlsitemap_node.install
Implementation of hook_enable().
xmlsitemap_node_nodeapi in xmlsitemap_node/xmlsitemap_node.module
Implmentation of hook_nodeapi().

... See full list

File

./xmlsitemap.module, line 795
Creates a site map compatible with the sitemaps.org schema.

Code

function xmlsitemap_update_sitemap() {
  variable_set('xmlsitemap_changed', TRUE);
  variable_set('xmlsitemap_update', TRUE);
  if (variable_get('xmlsitemap_submit', FALSE)) {
    _xmlsitemap_submit_on_exit();
  }
}