This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

SitemapEntry Pennington.Feeds

Single <url> row written to sitemap.xml.

Properties

ChangeFrequency string?
Default: null
Optional sitemap changefreq hint (e.g. weekly).
LastModified System.DateTime?
Default: null
Last-modified timestamp, when available.
Priority double?
Default: null
Optional sitemap priority hint between 0.0 and 1.0.
Url Pennington.Routing.UrlPath
Absolute URL for this sitemap entry.

Constructors

.ctor

#
public record SitemapEntry(
    UrlPath Url,
    DateTime? LastModified,
    string? ChangeFrequency,
    double? Priority
);

Single <url> row written to sitemap.xml.

Parameters

Url UrlPath
Absolute URL for this sitemap entry.
LastModified DateTime?
Last-modified timestamp, when available.
ChangeFrequency string?
Optional sitemap changefreq hint (e.g. weekly).
Priority double?
Optional sitemap priority hint between 0.0 and 1.0.

Pennington.Feeds.SitemapEntry

namespace Pennington.Feeds;

/// Single <url> row written to sitemap.xml.
public record SitemapEntry
{
    /// Single <url> row written to sitemap.xml.
    
public record SitemapEntry(
    UrlPath Url,
    DateTime? LastModified,
    string? ChangeFrequency,
    double? Priority
);
/// Optional sitemap changefreq hint (e.g. weekly).
string? ChangeFrequency
; /// Last-modified timestamp, when available.
DateTime? LastModified
; /// Optional sitemap priority hint between 0.0 and 1.0.
double? Priority
; /// Absolute URL for this sitemap entry.
UrlPath Url
; }