oliverbooth.dev/OliverBooth/Data/Blog/Rss/BlogRoot.cs

14 lines
286 B
C#
Raw Normal View History

2023-08-11 14:51:20 +00:00
using System.Xml.Serialization;
namespace OliverBooth.Data.Blog.Rss;
[XmlRoot("rss")]
public sealed class BlogRoot
{
[XmlAttribute("version")]
2023-09-27 19:34:06 +00:00
public string Version { get; set; } = "2.0";
[XmlElement("channel")]
public BlogChannel Channel { get; set; } = default!;
}