protected void Page_Load(object sender, EventArgs e) { this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetUserKickedStories(this.UrlParameters.UserIdentifier, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle + " : Stories kicked by " + this.UrlParameters.UserIdentifier, "Stories kicked by " + this.UrlParameters.UserIdentifier, this.HostProfile.RootUrl + "/", this.HostProfile)); }
protected void Page_Load(object sender, EventArgs e) { this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetTaggedStories(this.UrlParameters.TagIdentifier, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle + " - Stories tagged with " + this.UrlParameters.TagIdentifier, "the latest stories tagged with '" + this.UrlParameters.TagIdentifier + "' from " + this.HostProfile.SiteTitle, this.HostProfile.RootUrl + "/", this.HostProfile)); }
protected void Page_Load(object sender, EventArgs e) { this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetCategoryStories(this.UrlParameters.CategoryID, false, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle + " - new " + this.UrlParameters.CategoryIdentifier + " stories", "the newest " + this.UrlParameters.CategoryIdentifier + " stories from " + this.HostProfile.SiteTitle, this.HostProfile.RootUrl + "/", this.HostProfile)); }
protected void Page_Load(object sender, EventArgs e) { //TODO: config this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetCategoryStories(this.UrlParameters.CategoryID, true, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle + " - published " + this.UrlParameters.CategoryIdentifier + " stories", "the latest published " + this.UrlParameters.CategoryIdentifier + " stories from " + this.HostProfile.SiteTitle, this.HostProfile.RootUrl + "/", this.HostProfile)); }
protected void Page_Load(object sender, EventArgs e) { //TODO: config this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetAllStories(false, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle + " - new stories", "the latest stories from " + this.HostProfile.SiteTitle, this.HostProfile.RootUrl + "/", this.HostProfile)); }
protected void Page_Load(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.HostProfile.FeedBurnerMainRssFeedUrl) || Request.QueryString["Redirect"] == "0") { this.RenderRssChannel(StoryDataTableToRss.ConvertToRssChannel( StoryCache.GetAllStories(true, this.HostProfile.HostID, 1, 25), this.HostProfile.SiteTitle, "the latest published stories from " + this.HostProfile.SiteTitle, this.HostProfile.RootUrl + "/", this.HostProfile)); } else { Response.Redirect(this.HostProfile.FeedBurnerMainRssFeedUrl); } }