WeBlog utilize standard RSS feed functionality delivered by Sitecore.
Take a look at the RSS feed item and its template: /sitecore/templates/System/Feeds/RSS Feed
RSS Feed template uses default Feed Delivery Layout (/sitecore/layout/Layouts/System/Feed Delivery Layout
)
You can find it in your website root: /sitecore/shell/Applications/Feeds/Layouts/FeedDeliveryLayout.aspx
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
Sitecore.Syndication.Web.FeedDeliveryLayout, Sitecore.Kernel
class and edit the FeedDeliveryLayout.aspx file or create your custom Layout with your own implementation which is more elegant.
Edit:
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 (8.1.0.0
vs 6.0.0.0
)
FeedDeliveryLayout.cs
FeedManager.cs
No changes.
I think that right now your are trying to validate your feed as Atom feed. (Atom feed and RSS feed are different formats).
Sitecore code:
public static string Render(SyndicationFeed feed)
{
Assert.IsNotNull((object) feed, "feed");
StringWriter stringWriter = new StringWriter();
XmlWriter writer = (XmlWriter) new XmlTextWriter((TextWriter) stringWriter);
feed.GetRss20Formatter().WriteTo(writer);
return stringWriter.ToString();
}
As you can see Sitecore use:
GetRss20Formatter
Rss20FeedFormatter Class
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:
https://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationfeed.aspx#Examples
If you really want to switch to Atom format, then writing your own Feed Layout is the only one way