/// <summary> /// Displays the RSS item collection. /// </summary> /// <returns> /// The output. /// </returns> private HtmlGenericControl DisplayBlogroll() { if (DateTime.Now > LastUpdated.AddMinutes(BlogSettings.Instance.BlogrollUpdateMinutes) && BlogSettings.Instance.BlogrollVisiblePosts > 0) { Items.Clear(); LastUpdated = DateTime.Now; } if (Items.Count == 0) { lock (SyncRoot) { if (Items.Count == 0) { foreach (var roll in BlogRollItem.BlogRolls) { AddBlog(roll); } } } } return(this.BindControls()); }