Files
summercms/.planning/todos/pending/sitemap-plugin-port.md
Jakub Zych 3f9d3b4f11 docs: sync todos with g15office and map phases to milestone tasks
Tag the 17 open todos with their g15office task IDs, close 7 todos that
are already done or promoted to Phase 16.3, and record the sync rules
and the phase-to-task map in .planning/G15OFFICE.md.
2026-10-11 02:01:50 +02:00

12 lines
1.0 KiB
Markdown

---
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
g15office: krx9geua
---
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`).