This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

SitemapCandidate Pennington.Feeds

A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.

Properties

Metadata IFrontMatter
Front matter for the route, when available.
Route ContentRoute
Route to emit in the sitemap.

Constructors

SitemapCandidate

#
public SitemapCandidate(ContentRoute Route, IFrontMatter Metadata)

A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.

Parameters

Route ContentRoute
Route to emit in the sitemap.
Metadata IFrontMatter
Front matter for the route, when available.

Pennington.Feeds.SitemapCandidate

namespace Pennington.Feeds;

/// A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.
public record SitemapCandidate
{
    /// Front matter for the route, when available.
    
public IFrontMatter Metadata { get; set; }
/// Route to emit in the sitemap.
public ContentRoute Route { get; set; }
/// A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.
public SitemapCandidate(ContentRoute Route, IFrontMatter Metadata)
; }