asp.net mvc - Rss20FeedFormatter is producing RSS that is not well formed -


I am using ASP.Net MVC2 and have an RSS feed for my blog. I am using System.ServiceModel.Syndication and RS 20FeedFormatter in Out of Box functionality.

The feed works fine and with Outlook itself I have tried to be read by every browser. However, when I submitted the RSS feed as a sitemap, I found validation errors.
Curiously, I confirmed the feed with FeedValidate which reported similar issues.

Feed:

If you pop this feed on feedvalidator.org, you will see issues.

Actually no custom code is being generated Rashtriya Swayamsevak Sangh

The action of the controller is

  public feed resources (Rs.) {Const string baseUrl = "http://www.chrispfarrell.com/Blog/View/"; Var Blog = _blogService.GetBlogs (); Var feed = new syndication {title = new text syndication content ("Chris Ferrell"), copyright = new text syndication content ("Copywrite Chris Farrell 2010")}; Var postItems = Blogs Take (25). Selection (P = & gt; New Syndication Ins (P. Title, P. Body, New Yuri (Base URL + P. Blog URL)) {PublishDate = p.DateCreated,}); Feed. ITEMS = Post items; Return new feedstool (new Rs 20 feed (feed)); }  

Why do not any comments that the feed will be made fair and well? If necessary, but I can feed the code for its pretty standard code.

Chris Ferrell

in the feed & lt ; Link & gt; Element in the original & lt; Channel & gt; Element.

Instead of using the object accelerator, I am now using a constructor which accepts 3 arguments (feed title, description and feed alternative link). The third argument for providing feed alternate links in the original channel is & lt; Link & gt; The tag which now makes the feed valid.


Comments