Posts

Showing posts from January, 2016

RSS reader in c#

  What is RSS? RSS (Rich Site Summary) is a format for delivering regularly changing web content . Many news-related sites, weblogs and other online publishers syndicate their content as an RSS Feed to whoever wants it. Recently I got a requirement of reading rss feeds of blogger and other few sites and load posts in to db. I followed the following steps. 1. Create Domain Classes public class Post:Entity   {       public Post()       {       }       public Post(long id)       {           Id = id;       }       public DateTime DatePublished { get; set; }       public Blogger Blogger { get; set; }       public string PostGUID { get; set; }       public string Title { get; set; }       public string PostURL { get; set; }       public string Description { get; set; }       public string ThumbnailURL { get; set; }       public string PostCategories { get; set; }       public decimal RankGiven { get; set; }       public int  RecordCount { get; set; }   } 2. Create Console App A c