public ActionResult Item(string param1, string param2)
        {
            Post post = Dm.GetItem(param2);

            Category category = new Category();
            category.Name = param1;

            ViewData["Post"] = post;
            ViewData["Category"] = category;

            if (param1.ToLower() == "gallery")
            {
                return View("ItemGallery");
            }
            else if (param1.ToLower() == "fordealers")
            {
                return View("ItemForDealers");
            }
            else if (param1.ToLower() == "news")
            {
                return View("ItemNews");
            }
            else if (param1.ToLower() == "discounts")
            {
                return View("ItemDiscounts");
            }

            return View();
        }
        public Category ParseCategory(string xml)
        {
            Category result = new Category();

            if (!String.IsNullOrEmpty(xml))
            {
                XmlDocument xDocument = new XmlDocument();
                xDocument.InnerXml = xml;

                result.Translate = result.Name;
                XmlNode NodeCategoryTitle = xDocument.SelectSingleNode("//channel/title");
                if (NodeCategoryTitle != null)
                {
                    result.Translate = NodeCategoryTitle.InnerText;
                }
            }

            return result;
        }