Hi Scott, currently, the managingEditor tag in the RSS feed shows the name of the author instead of his email address. (cf.
http://feedvalidator.org/check?url=http://scottwater.com/blog/rss.aspx) To correct this, I've changed my local copy of the sources in
Dottext.Framework/Syndication/BaseRssWriter.cs, line 65ff, as follows (my changes in
bold):
Additionally I noticed that you're still removing the www. prefix in
Dottext.Framework\Configuration\BlogConfig.cs, line 129. Is this intentional? -Thomas
Oh wow. I should have checked that. I did not think it would cause it to be invalid...but I did not want to publish people's emails without there knowledge. Yes, it is still intentional. As far as the db is conserned, www. should not be there (simply for consistency).
If you want to enable www access, add true to the BlogConfigurationSettings section of the web.config. This should cause .Text to include www. in all of your Urls (via the UrlFormatProvider and ConfigProvider) -Scott
I did not think it would cause it to be invalid...but I did not want to publish people's emails without there knowledge.
You're right on that. As far as I can see that would be the only place where the author's email address would be exposed... -Thomas
I would probably be more likely to just remove the managing editor element. .Text makes it pretty obvious how to provide feedback and get in touch with the author. I like being able to use a "real" email address with the app and not having to worry about it
becoming a worthless spam address (although it will likely happen anyway :) -Scott
Thoemmi
Member
184 Points
38 Posts
managingEditor in RSS feed
Jan 06, 2004 07:49 AM|LINK
protected virtual void WriteChannel() { BuildChannel(config.Title,config.FullyQualifiedUrl,config.Email,config.SubTitle,config.Language); } protected void BuildChannel(string title, string link, string email, string description, string lang) { this.WriteElementString("title",title); this.WriteElementString("link",link); this.WriteElementString("description",description); this.WriteElementString("managingEditor", email); this.WriteElementString("dc:language",lang); this.WriteElementString("generator",VersionInfo.Version); }Additionally I noticed that you're still removing the www. prefix in Dottext.Framework\Configuration\BlogConfig.cs, line 129. Is this intentional? -ThomasThomas
ScottW
Contributor
3651 Points
730 Posts
ASPInsiders
Re: managingEditor in RSS feed
Jan 06, 2004 10:31 AM|LINK
http://www.scottw.com
Thoemmi
Member
184 Points
38 Posts
Re: managingEditor in RSS feed
Jan 06, 2004 11:53 AM|LINK
Thomas
ScottW
Contributor
3651 Points
730 Posts
ASPInsiders
Re: managingEditor in RSS feed
Jan 06, 2004 01:03 PM|LINK
http://www.scottw.com
Thoemmi
Member
184 Points
38 Posts
Re: managingEditor in RSS feed
Jan 07, 2004 06:45 AM|LINK
Thomas
johc
Member
20 Points
4 Posts
Re: managingEditor in RSS feed
Sep 07, 2004 12:08 PM|LINK