11 lines
1004 B
Markdown
11 lines
1004 B
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
|
|
---
|
|
|
|
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`).
|