Skip to content

[19.0][ADD] website_blog_sitemap_lastmod: Add trustworthy lastmod to blog post sitemap URLs - #1212

Open
nachoserra-domatix wants to merge 1 commit into
OCA:19.0from
Domatix:19.0-add-website_blog_sitemap_lastmod
Open

[19.0][ADD] website_blog_sitemap_lastmod: Add trustworthy lastmod to blog post sitemap URLs#1212
nachoserra-domatix wants to merge 1 commit into
OCA:19.0from
Domatix:19.0-add-website_blog_sitemap_lastmod

Conversation

@nachoserra-domatix

Copy link
Copy Markdown

This module adds a trustworthy <lastmod> to blog.post URLs in the sitemap.

Odoo core only emits lastmod for static website.page records; dynamic
controller routes (blog posts included) are enumerated without a date. This
module overrides website._enumerate_pages() to inject lastmod for every
published blog.post URL using the record write_date.

Only the sitemap output changes; routes and frontend behaviour stay untouched.

Tests cover the sitemap enrichment and verify other pages are left unchanged.

@OCA-git-bot OCA-git-bot added series:19.0 mod:website_blog_sitemap_lastmod Module website_blog_sitemap_lastmod labels Aug 18, 2026
@nachoserra-domatix
nachoserra-domatix force-pushed the 19.0-add-website_blog_sitemap_lastmod branch from db0e4d0 to 711d31d Compare August 18, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:website_blog_sitemap_lastmod Module website_blog_sitemap_lastmod series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants