diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index 72c76164..f3a6595c 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -82,6 +82,15 @@ class pluginRSS extends Plugin { $this->createXML(); } + public function post() + { + // Call the method + parent::post(); + + // After POST request + $this->createXML(); + } + public function afterPageCreate() { $this->createXML(); diff --git a/bl-plugins/sitemap/plugin.php b/bl-plugins/sitemap/plugin.php index 606a3f51..ce05d798 100644 --- a/bl-plugins/sitemap/plugin.php +++ b/bl-plugins/sitemap/plugin.php @@ -59,6 +59,15 @@ class pluginSitemap extends Plugin { $this->createXML(); } + public function post() + { + // Call the method + parent::post(); + + // After POST request + $this->createXML(); + } + public function afterPageCreate() { $this->createXML();