Want to add image to aspx rss page

I have a cod where my aspx.cs file writes to an aspx the xml tags. Now i have a requirement where i need to add logo at the end of the 'title' tag.

this is my code,

  writer.WriteStartDocument();
  writer.WriteStartElement("rss");
  writer.WriteAttributeString("version","2.0");
  writer.WriteStartElement("channel");
  writer.WriteElementString("title","FRA News");
  writer.WriteElementString("link", fraNews);
  writer.WriteElementString("description", "FRALatest actions");

When this is displayed as an rss feed i want the logo at the right corner of the 'Title' field. How can i accompalish this.

Answers


Try this:

writer.WriteStartElement("image");
writer.WriteElementString("url","http://www.fileparade.com/Images/logo88x31.png");

Need Your Help

Specifying the list of base classes in Python programmatically

python python-2.x

I need to base the decision of which classes to derive from based on a flag.

Conversion to 12-hour format is not working

c# asp.net .net

I wrote that code below to convert AM/PM to 12-Hour conversion. This code work fines for AM but it is not working for PM and generates error that Provided string for conversion is invalid. Please a...