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
16 lines
343 B
C#
16 lines
343 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace OliverBooth.Data.Blog.Rss;
|
|
|
|
public sealed class AtomLink
|
|
{
|
|
[XmlAttribute("href")]
|
|
public string Href { get; set; } = default!;
|
|
|
|
[XmlAttribute("rel")]
|
|
public string Rel { get; set; } = "self";
|
|
|
|
[XmlAttribute("type")]
|
|
public string Type { get; set; } = "application/rss+xml";
|
|
}
|