This project has moved. For the latest updates, please go here.

Content Type

Topics: Developer Forum
Mar 23, 2007 at 10:58 AM
Edited Mar 23, 2007 at 10:59 AM
The RSS that is output for me is not being read as RSS or XML, it was before and now it just appears as plain text in the browser and does not get read by client based feed reader. Any ideas?

protected override void PopulateChannel(string channelName, string userName)
{

Channel.Name = "My AandB Blogs";
Channel.User = "User Name";

if (!string.IsNullOrEmpty(channelName))
{
Channel.Title += " '" + channelName + "'";
}

if (!string.IsNullOrEmpty(userName))
{
Channel.Title += " (generated for " + userName + ")";
}

BlogsBLL blogs = new BlogsBLL();


foreach(dsMy.my_BlogsRow row in blogs.GetBlogs(true))
{
//Channel.Items.Add(new BlogRSSItem(row.BlogTitle, row.BlogText, WebConfigurationManager.AppSettings"APPLICATION_URL" + "/my/ViewBlogs.aspx?BlogID=" + row.BlogID));
Channel.Items.Add(new BlogRSSItem("Title", "Text", WebConfigurationManager.AppSettings"APPLICATION_URL" + "/my/ViewBlogs.aspx?BlogID=" + row.BlogID));
}
}