This project is read-only.

New RSS-Feed is no longer valid

Apr 18, 2009 at 1:16 PM
Hi there,
since i've updated to version 1.5 the RSS-Feed is no longer valid.
The W3C Feed Validation Service detects an invalid <author>-tag.
In the verision 1.4.5 is there inserted a NoSpam-email and in version 1.5 the authors name.
Thus my blog creates a valid RSS again, i changed the following line
writer.WriteElementString("author", publishable.Author);
to the same as in version 1.4.5
writer.WriteElementString("author", BlogSettings.Instance.Email.Replace("@", ".nospam@nospam.") + " (" + publishable.Author + ")");
in the methode WriteRssItem(XmlWriter writer, IPublishable publishable).

Another point could be the use of the lastBuildDate element inside the chanel tag, because you make use of the slash:comments-element. Please have a look to the rssboard. I know it's not a must-have, but certainly a nice-to-have.

Apr 18, 2009 at 3:06 PM
Edited Apr 18, 2009 at 3:14 PM
What file are you editing to make that work?  ATOM format validates for me while RSS format doesn't.
Apr 18, 2009 at 4:23 PM
Edited Apr 18, 2009 at 4:24 PM
I've edited the file SyndicationGenerator.cs in the Blogengine.Core project.