2023-08-11 15:51:20 +01:00
|
|
|
using System.Xml.Serialization;
|
2023-08-09 21:08:57 +01:00
|
|
|
|
2023-08-13 17:33:54 +01:00
|
|
|
namespace OliverBooth.Data.Blog.Rss;
|
2023-08-09 21:08:57 +01:00
|
|
|
|
|
|
|
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!;
|
2023-08-20 14:23:50 +01:00
|
|
|
|
2023-08-09 21:08:57 +01:00
|
|
|
[XmlElement("creator", Namespace = "http://purl.org/dc/elements/1.1/")]
|
|
|
|
public string Creator { get; set; } = default!;
|
2023-08-20 14:23:50 +01:00
|
|
|
|
2023-08-09 21:08:57 +01:00
|
|
|
[XmlElement("pubDate")]
|
|
|
|
public string PubDate { get; set; } = default!;
|
2023-08-20 14:23:50 +01:00
|
|
|
|
2023-08-09 21:08:57 +01:00
|
|
|
[XmlElement("guid")]
|
2023-08-20 14:23:50 +01:00
|
|
|
public BlogItemGuid Guid { get; set; } = default!;
|
|
|
|
|
2023-08-09 21:08:57 +01:00
|
|
|
[XmlElement("description")]
|
|
|
|
public string Description { get; set; } = default!;
|
|
|
|
}
|