oliverbooth.dev/OliverBooth.Blog/Data/Rss/BlogItem.cs
Oliver Booth e8bc50bbdf
refactor: move blog to separate app
I'd ideally like to keep the blog. subdomain the same, and while there are a few ways to achieve this it is much simpler to just dedicate a separate application for the subdomain.

This change also adjusts the webhost builder extensions to default to ports 443/80, and each app now explicitly sets the port it needs.
2023-08-12 20:13:47 +01:00

28 lines
723 B
C#

using System.Xml.Serialization;
namespace OliverBooth.Data.Rss;
public sealed class BlogItem
{
[XmlElement("title")]
public string Title { get; set; } = default!;
[XmlElement("link")]
public string Link { get; set; } = default!;
[XmlElement("comments")]
public string Comments { get; set; } = default!;
[XmlElement("creator", Namespace = "http://purl.org/dc/elements/1.1/")]
public string Creator { get; set; } = default!;
[XmlElement("pubDate")]
public string PubDate { get; set; } = default!;
[XmlElement("guid")]
public string Guid { get; set; } = default!;
[XmlElement("description")]
public string Description { get; set; } = default!;
}