Search documentation of phoenix_kit

# PhoenixKit.Sitemap.Sources.Blogging (phoenix_kit v1.6.19)

View Source

Blogging source for sitemap generation.

Collects published blog posts from the PhoenixKit Blogging system. Includes both blog listing pages and individual post pages.

## URL Structure

Uses PhoenixKit URL prefix from config:

- Blog listing: `/{prefix}/{blog_slug}` (default language)
- Blog listing: `/{prefix}/{lang}/{blog_slug}` (non-default language)
- Individual posts: `/{prefix}/{blog_slug}/{post_slug}` (default language)
- Individual posts: `/{prefix}/{lang}/{blog_slug}/{post_slug}` (non-default language)

## Exclusion

Posts can be excluded by setting `post.metadata.sitemap_exclude = true`.

## Sitemap Properties

- Blog listings:

  - Priority: 0.7
  - Change frequency: daily
  - Category: Blog name

- Individual posts:

  - Priority: 0.8
  - Change frequency: weekly
  - Category: Blog name
  - Last modified: Post's date_updated or timestamp