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 at the same URL with .md appended. 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

SitemapEntry Pennington.Feeds

Single <url> row written to sitemap.xml.

Properties

LastModified DateTime?
Last-modified timestamp, when available.
Url UrlPath
Absolute URL for this sitemap entry.

Constructors

SitemapEntry

#
public SitemapEntry(UrlPath Url, DateTime? LastModified)

Single <url> row written to sitemap.xml.

Parameters

Url UrlPath
Absolute URL for this sitemap entry.
LastModified DateTime?
Last-modified timestamp, when available.

Pennington.Feeds.SitemapEntry

namespace Pennington.Feeds;

/// Single <url> row written to sitemap.xml.
public record SitemapEntry
{
    /// Last-modified timestamp, when available.
    
public DateTime? LastModified { get; set; }
/// Single <url> row written to sitemap.xml.
public SitemapEntry(UrlPath Url, DateTime? LastModified)
; /// Absolute URL for this sitemap entry.
public UrlPath Url { get; set; }
}