There is a hook that responds to clearing the sitemaps after a rebuild, but there isn't one for regeneration. Such a feature could be used to clear external caches and the like for the sitemaps.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamesgrobertson created an issue. See original summary.

jamesgrobertson’s picture

Here is a patch that adds a hook_xmlsitemap_regenerate_finished().

Elijah Lynn’s picture

Status: Active » Needs review

+1 for this! RTBC by me.

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

+1 RTBC.

pifagor’s picture

pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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