PhoenixKit 1.6.15: A sitemap module and public entity forms
PhoenixKit 1.6.15 adds a Sitemap module that builds XML and HTML sitemaps for search engines, and lets any entity become a public form, such as a contact form, embedded in a blog page.
The Sitemap card on the modules page turns it on. The site then serves /sitemap.xml and /sitemap.html, and splits the XML into an index with parts when it grows past 50,000 addresses. Sitemap Settings shows the total and the last generation time, sets how often it regenerates, and offers styles for viewing the sitemap in a browser. It collects addresses from blogs, entities, your router’s own routes and static routes.
An entity’s form gets a Public Form Configuration section: switch on Enable Public Form, set the title, button text and success message, and place <EntityForm entity_slug="contact" /> in a blog post. Submissions are saved as entity records; Honeypot Protection and time-based checks catch bots. Admins can open a single record on its own page, and the blog editor now inserts images with plain Markdown syntax.
Full release notes: PhoenixKit 1.6.15
1.6.15 · 5 December 2025
Added
- Sitemap Module - Complete sitemap generation system for SEO
- XML sitemap generation following sitemaps.org protocol
- HTML sitemap with 3 display styles (hierarchical, grouped, flat)
- Automatic sitemap index for large sites (>50,000 URLs)
- Multiple content sources: Blogging, Entities, Pages, Static routes
- Router discovery - automatic detection of parent app routes
- XSL stylesheets for beautiful XML rendering (table, cards, minimal)
- ETS-based caching for fast repeated access
- Oban worker for scheduled automatic regeneration
- Admin UI for sitemap settings configuration
- Routes:
/sitemap.xml,/sitemap.html,/sitemap.xsl
Changed
- Update blogging editor to use markdown image syntax instead of custom component
PhoenixKit 1.6.15. Install or update: {:phoenix_kit, "~> 1.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.