public void CommonSetCoreItemPropertiesUsingHelperMethods(RssItem itm)
 {
     itm.AddTitle("Item One Title");
     itm.AddDescription("Item One Description Is A Dandy");
     itm.AddLink("http://something.com/item1");
     itm.AddPubDate(DateTime.Now);
     itm.AddAuthor("*****@*****.**");
     itm.AddCategory("ITEM_CTG1");
     itm.AddCategory("ITEM_CTG2", "something.com");
     itm.AddEnclosure("http://something.com/crazy.mp4", "video/mp4", 201928);
     itm.AddGuid("http://something.com/item1");
     itm.AddComment("http://something.com/item1/comments");
     itm.AddSource("http://blabbermouth.com", "Blabbermouth Inc.");
 }
        public void CommonSetCoreItemPropertiesUsingObjects(RssItem itm)
        {
            itm.title       = "Item One Title";
            itm.description = "Item ONe Description Is a dandy";
            itm.link        = "http://something.com/item1";
            itm.pubDate     = DateTime.Now;
            itm.author      = "*****@*****.**";

            RssItemCategory ctg = new RssItemCategory();

            ctg.category = "ITEM_CTG1";
            itm.categories.Add(ctg);

            ctg          = new RssItemCategory();
            ctg.category = "ITEM_CTG2";
            ctg.domain   = "something.com";
            itm.categories.Add(ctg);

            RssItemEnclosure enc = new RssItemEnclosure();

            enc.url    = "http://something.com/crazy.mp4";
            enc.length = 0;
            enc.type   = "video/mp4";
            itm.AddEnclosure(enc);

            RssItemGuid guid = new RssItemGuid();

            guid.guid        = "http://something.com/item1";
            guid.isPermalink = true;
            itm.guid         = guid;

            itm.comments = "http://something.com/item1/comments";

            RssItemSource src = new RssItemSource();

            src.source = "Blabbermouth Inc.";
            src.url    = "http://blabbermouth.com/item1";
            itm.source = src;
        }