Oliver Booth
0a9c2e82d5
CORS was "cors"ing some issues (heh). But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
28 lines
728 B
C#
28 lines
728 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace OliverBooth.Data.Blog.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!;
|
|
}
|