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

SocialMetadata Pennington.Pipeline

Open Graph / social card metadata for a page.

Properties

Author string
Author name for articles.
Description string
Page description.
ImageUrl string
URL of the social preview image.
PublishedTime DateTime?
Publication timestamp for articles.
Type string
Open Graph type (e.g., "article", "website").

Constructors

SocialMetadata

#
public SocialMetadata(string Description, string ImageUrl, string Type, DateTime? PublishedTime, string Author)

Open Graph / social card metadata for a page.

Parameters

Description string
Page description.
ImageUrl string
URL of the social preview image.
Type string
Open Graph type (e.g., "article", "website").
PublishedTime DateTime?
Publication timestamp for articles.
Author string
Author name for articles.

Pennington.Pipeline.SocialMetadata

namespace Pennington.Pipeline;

/// Open Graph / social card metadata for a page.
public record SocialMetadata
{
    /// Author name for articles.
    
public string Author { get; set; }
/// Page description.
public string Description { get; set; }
/// URL of the social preview image.
public string ImageUrl { get; set; }
/// Publication timestamp for articles.
public DateTime? PublishedTime { get; set; }
/// Open Graph / social card metadata for a page.
public SocialMetadata(string Description, string ImageUrl, string Type, DateTime? PublishedTime, string Author)
; /// Open Graph type (e.g., "article", "website").
public string Type { get; set; }
}