docs(14): capture phase context

This commit is contained in:
Jakub Zych
2026-10-03 17:27:17 +02:00
parent 3c9516b080
commit 2746bf5ac5
4 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
---
title: Port the sitemap plugin 1:1 as sm-sitemap-plugin for the next blog project
date: 2026-10-03
priority: medium
area: sm-sitemap-plugin
---
Phase 14 dropped sitemap for Płytarium, because Nuxt builds its own sitemap with `@nuxtjs/seo` and fonoteka registers no menu item types. The next port after Płytarium is a blog project (grzybyfunkcjonalne.pl or golem15.com), and it needs `Golem15.Sitemap` 1:1.
Reference: `/media/nvme/dev/golem15/fonoteka/plugins/golem15/sitemap`. It contains the Definition model keyed by theme, DefinitionItem with the `pages.menuitem.listTypes`/`getTypeInfo` events, Settings `frontend_url` with the `<loc>`/hreflang/xsl domain rewrite, the `sitemap.xml` and `sitemap.xsl` routes, the Definitions admin controller with its form widget, and the ImportCommand. The port needs a framework equivalent of the menu-item type events so blog/pages plugins can contribute URLs. It goes in its own `sm-sitemap-plugin` repo (see `.planning/notes/core-plugins-own-repos.md`).