Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created February 12, 2013 22:00
Show Gist options
  • Select an option

  • Save yetanotherchris/4773831 to your computer and use it in GitHub Desktop.

Select an option

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