Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created February 12, 2013 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yetanotherchris/4773831 to your computer and use it in GitHub Desktop.
Save yetanotherchris/4773831 to your computer and use it in GitHub Desktop.
RSS parser - item class
/// <summary>
/// Represents a feed item.
/// </summary>
public class Item
{
public string Link { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public DateTime PublishDate { get; set; }
public FeedType FeedType { get; set; }
public Item()
{
Link = "";
Title = "";
Content = "";
PublishDate = DateTime.Today;
FeedType = FeedType.RSS;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment