Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the generation date (Y-m-d) to the sitemap.xml #219

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

macbre
Copy link
Contributor

@macbre macbre commented Nov 22, 2024

E.g.

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <!-- Generated on 2024-11-22 by https://github.com/pigs-will-fly/py-xml-sitemap-writer -->
        <!-- 5 urls in 1 sub-sitemaps -->
        <sitemap><loc>http://example.net/sitemap-001-pages.xml.gz</loc></sitemap>
</sitemapindex>

E.g.

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <!-- Generated at 2024-11-22 by https://github.com/pigs-will-fly/py-xml-sitemap-writer -->
        <!-- 5 urls in 1 sub-sitemaps -->
        <sitemap><loc>http://example.net/sitemap-001-pages.xml.gz</loc></sitemap>
</sitemapindex>
xml_sitemap_writer.py Outdated Show resolved Hide resolved
xml_sitemap_writer.py Outdated Show resolved Hide resolved
@macbre macbre enabled auto-merge November 22, 2024 21:38
@macbre macbre merged commit 6092d0d into master Nov 22, 2024
6 checks passed
@macbre macbre deleted the add/generation-time branch November 22, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant