# `PhoenixKit.Modules.Publishing.Web.Controller.Routing`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/publishing/web/controller/routing.ex#L1)

URL path parsing and routing helpers for the publishing controller.

Handles segment building from params and path pattern matching
to determine the type of request (listing, slug post, timestamp post, etc.).

# `build_segments`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/publishing/web/controller/routing.ex#L19)

Builds path segments from route params.

Returns a list of path segments starting with the group slug,
followed by any additional path segments.

# `date?`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/publishing/web/controller/routing.ex#L89)

Validates a date string (YYYY-MM-DD format).

# `parse_path`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/publishing/web/controller/routing.ex#L45)

Parses path segments to determine the request type.

Returns one of:
- `{:listing, group_slug}`
- `{:slug_post, group_slug, post_slug}`
- `{:timestamp_post, group_slug, date, time}`
- `{:date_only_post, group_slug, date}`
- `{:versioned_post, group_slug, post_slug, version}`
- `{:error, reason}`

# `time?`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.71/lib/modules/publishing/web/controller/routing.ex#L98)

Validates a time string (HH:MM 24-hour format).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
