Reputation: 3329
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 accomplish this?
Upvotes: 0
Views: 753
Reputation: 13250
Try this:
writer.WriteStartElement("image");
writer.WriteElementString("url","http://www.fileparade.com/Images/logo88x31.png");
Upvotes: 1