1
This commit is contained in:
21
Yes.Infrastructure/Rss/Channel.cs
Normal file
21
Yes.Infrastructure/Rss/Channel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Yes.Infrastructure.Rss
|
||||
{
|
||||
public class Channel
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Link { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string Language { get; set; } = "zh-CN";
|
||||
|
||||
// 时间信息
|
||||
public DateTime LastBuildDate { get; set; } = DateTime.Now;
|
||||
public DateTime PubDate { get; set; } = DateTime.Now;
|
||||
|
||||
// Atom 链接
|
||||
public string FeedUrl { get; set; }
|
||||
|
||||
// 扩展能力
|
||||
public List<XElement> Extensions { get; } = new List<XElement>();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user