Carrotware.CMS.Mvc.UI.Admin.Controllers.CmsContentController.RSSFeed C# (CSharp) Method

RSSFeed() private method

private RSSFeed ( string type ) : System.Web.Mvc.ActionResult
type string
return System.Web.Mvc.ActionResult
		public ActionResult RSSFeed(string type) {
			return new ContentResult {
				ContentType = "text/xml",
				Content = SiteData.CurrentSite.GetRSSFeed(type).ToHtmlString(),
				ContentEncoding = Encoding.UTF8
			};
		}