RssFeedItem Pennington.Feeds
Single entry in a generated RSS feed.
Properties
Authorstring- Optional author name or email.
Descriptionstring- Optional summary or excerpt.
PublishDateDateTime?- Publication date, when known.
Titlestring- Item title shown in the feed.
UrlUrlPath- Site-relative canonical path of the entry;
RssFeedWritercomposes the absolute link.
Constructors
RssFeedItem
#public RssFeedItem(string Title, string Description, UrlPath Url, DateTime? PublishDate, string Author)
Single entry in a generated RSS feed.
Parameters
Titlestring- Item title shown in the feed.
Descriptionstring- Optional summary or excerpt.
UrlUrlPath- Site-relative canonical path of the entry;
RssFeedWritercomposes the absolute link. PublishDateDateTime?- Publication date, when known.
Authorstring- Optional author name or email.
Pennington.Feeds.RssFeedItem
namespace Pennington.Feeds;
/// Single entry in a generated RSS feed.
public record RssFeedItem
{
/// Optional author name or email.
public string Author { get; set; }
/// Optional summary or excerpt.
public string Description { get; set; }
/// Publication date, when known.
public DateTime? PublishDate { get; set; }
/// Single entry in a generated RSS feed.
public RssFeedItem(string Title, string Description, UrlPath Url, DateTime? PublishDate, string Author)
;
/// Item title shown in the feed.
public string Title { get; set; }
/// Site-relative canonical path of the entry; RssFeedWriter composes the absolute link.
public UrlPath Url { get; set; }
}