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

14 lines
286 B
C#
Raw Normal View History

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