Is designed to monitor the freshness of your website sitemaps. It checks if the lastmod time of the sitemap is up-to-date. If it is not, the script sends a notification to your Slack channel via webhook, so you can take appropriate action.
The script is easy to use, simply provide an array of sitemap URLs and your Slack, Discord webhook URLs. Also there is an option for standard email notify. It's a great tool for website administrators to ensure that their sitemaps are always up-to-date, helping to improve their website's visibility and search engine rankings. This script can be scheduled to run at regular intervals, so you don't have to manually check for updates.
With this script, you can be confident that your sitemaps are always fresh and accurate, saving you time and effort.
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.example.cz/sitemap_cz.xml</loc>
<lastmod>2023-01-25</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.cz/sitemap_items_cz.xml</loc>
<lastmod>2023-01-25</lastmod>
</sitemap>
<sitemap>
<loc>https://www.example.cz/sitemap_category_cz.xml</loc>
<lastmod>2023-01-25</lastmod>
</sitemap>
</sitemapindex>
|