docs(todo): sitemap browser view without XSLT

This commit is contained in:
2026-10-19 12:23:06 +02:00
parent 96595633c0
commit 0827865796

View File

@@ -0,0 +1,19 @@
---
title: Sitemap - replace the browser XSLT view before Chromium drops XSLT
date: 2026-10-19
priority: normal
area: sm-sitemap-plugin
g15office: w8kupqi3
---
Chromium now warns on `/sitemap.xml` (seen on UAT during the Phase 17 UAT, test 7): "This site uses XSLT; that functionality is being removed from this browser very soon…". The sitemap plugin serves the PHP plugin's `<?xml-stylesheet type="text/xsl" href=".../sitemap.xsl"?>` and `/sitemap.xsl` to show a readable table in the browser.
Crawlers read the XML and are unaffected; only the in-browser view breaks.
Options:
- Drop the stylesheet processing instruction and `/sitemap.xsl`. This breaks byte parity with the PHP golden, so the parity tests change too.
- Keep the XML for crawlers and serve an HTML view elsewhere (for example `/sitemap.html`, or in the admin).
- A JS-based XSLT polyfill on the XSL page.
Decide, then update the plugin, its goldens and README.