This post originated from an RSS feed registered with .NET Buzz
by Scott Watermasysk.
Original Post: rel = "nofollow"
Feed Title: ScottW's ASP.NET WebLog
Feed URL: /error.aspx?aspxerrorpath=/blog/rss.aspx
Feed Description: ASP.NET and Blogging
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Scott Watermasysk
Latest Posts From ScottW's ASP.NET WebLog
Advertisement
For those of you who can compile .Text, I recommend a quite edit to help*
reduce the effectiveness of comment spam.
The class to change is Dottext.Framework.Util.Globals. Method: EnableUrls
(found in Dottext.Framework\Util\Globals.cs)
In this method, .Text will look for links posted in a comment (prior to this
call the entire comment is HtmlEncoded).
Before: text = text.Replace(m.ToString(), "<a target=\"_new\" href=\"" +
m.ToString() + "\">" + m.ToString() +
"</a>"); After: text = text.Replace(m.ToString(),
"<a ref=\"nofollow\" target=\"_new\" href=\"" + m.ToString() + "\">"
+ m.ToString() + "</a>");
Community Server already had something "home grown" baked in, but was updated
ealier today to support nofollow.
* I seriously doubt this will stop spammers, but anything we can do to
make not worth the effort the better off we are. See: BrokenWindows
Read: rel = "nofollow"