feat(17-03): sitemap plugin tracer, /sitemap.xml byte-identical to PHP

- golem15.sitemap plugin: golem15_sitemap_definitions migration, Definition
  model (Fillable theme and data) with tolerant PHP-shaped item decoding and
  PHP toArray item encoding
- Url::to and buildUrl port, libxml-format serializer, generator for url and
  registry items
- GET /sitemap.xml serves the definition with theme default (404 without one,
  empty body without items)
- tests/php/gen-goldens.php and the tracer golden; TestSitemapGolden and the
  Postgres TestSitemapTracer
This commit is contained in:
2026-10-12 16:53:09 +02:00
commit fe39e26ce0
20 changed files with 2742 additions and 0 deletions

7
go.work Normal file
View File

@@ -0,0 +1,7 @@
go 1.27.0
use .
replace git.golem15.com/golem15/summercms => ../summercms.go
replace git.golem15.com/golem15/sm-translate-plugin => ../sm-translate-plugin