WeBlog utilize standard RSS feed functionality delivered by Sitecore.
Take a look at the RSS feed item and its template:
RSS Feed template uses default Feed Delivery Layout (
/sitecore/layout/Layouts/System/Feed Delivery Layout)
You can find it in your website root:
When you open it there is nothing special there:
<%@ Page Language="c#" Inherits="Sitecore.Syndication.Web.FeedDeliveryLayout, Sitecore.Kernel" CodePage="65001" %>
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN">
If you feel you need to overwrite something this is the way to go.
You can write your own implementation of
class and edit the FeedDeliveryLayout.aspx file or create your custom Layout with your own implementation which is more elegant.
TL;DR: I think you are using wrong validator
Are you sure that content returned by RSS Layout is different than previously?
I don't think that anything changed in Sitecore code. I compared code of following classes, used to generate RSS (
I think that right now your are trying to validate your feed as Atom feed. (Atom feed and RSS feed are different formats).
public static string Render(SyndicationFeed feed)
Assert.IsNotNull((object) feed, "feed");
StringWriter stringWriter = new StringWriter();
XmlWriter writer = (XmlWriter) new XmlTextWriter((TextWriter) stringWriter);
As you can see Sitecore use:
A class that serializes a SyndicationFeed instance to and from RSS 2.0 format.
Validation warnings are for Atom.
You can find out more here:
If you really want to switch to Atom format, then writing your own Feed Layout is the only one way