protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { CheckAffiliate(); } string defaulSEOTitle = this.SettingManager.GetSettingValue("SEO.DefaultTitle"); string defaulSEODescription = this.SettingManager.GetSettingValue("SEO.DefaultMetaDescription"); string defaulSEOKeywords = this.SettingManager.GetSettingValue("SEO.DefaultMetaKeywords"); SEOHelper.RenderTitle(this.Page, defaulSEOTitle, false, false); SEOHelper.RenderMetaTag(this.Page, "description", defaulSEODescription, false); SEOHelper.RenderMetaTag(this.Page, "keywords", defaulSEOKeywords, false); if (this.SettingManager.GetSettingValueBoolean("Display.ShowNewsHeaderRssURL")) { SEOHelper.RenderHeaderRssLink(this.Page, defaulSEOTitle + ": News", SEOHelper.GetNewsRssUrl()); } if (this.SettingManager.GetSettingValueBoolean("Display.ShowBlogHeaderRssURL")) { SEOHelper.RenderHeaderRssLink(this.Page, defaulSEOTitle + ": Blog", SEOHelper.GetBlogRssUrl()); } }
protected string GetNewsRSSUrl() { return(SEOHelper.GetNewsRssUrl()); }