Question

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.

Was it helpful?

Solution

Try this:

writer.WriteStartElement("image");
writer.WriteElementString("url","http://www.fileparade.com/Images/logo88x31.png");
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top