[drupal-devel] [feature] Use attribute rel=nofollow in comment's link

bradtem drupal-devel at drupal.org
Tue Jul 19 21:35:00 UTC 2005


Issue status update for 
http://drupal.org/node/15835
Post a follow up: 
http://drupal.org/project/comments/add/15835

 Project:      Drupal
 Version:      4.5.0
 Component:    comment.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  clockwerx at www.spreadfirefox.com
 Updated by:   bradtem
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/nofollow.patch (0 bytes)

Here's the trivial patch to includes/common.inc to change this.




bradtem



Previous comments:
------------------------------------------------------------------------

Wed, 19 Jan 2005 13:07:28 +0000 : clockwerx at www.spreadfirefox.com

See this yahoo blog post [1] if you haven't already.


"
By adding a rel="nofollow" attribute to hyperlinks, webmasters and
weblog owners can tell search engines that the links are effectively
untrusted. For example, this:


buy now [2]


Becomes this:


buy now [3]


"
[1] http://www.ysearchblog.com/archives/000069.html
[2] http://spammer.example.com/
[3] http://spammer.example.com/\" rel=\"nofollow




------------------------------------------------------------------------

Wed, 19 Jan 2005 13:11:52 +0000 : clockwerx at www.spreadfirefox.com

6.12 Link types [4]



Authors may use the following recognized link types, listed here with
their conventional interpretations. In the DTD, %LinkTypes refers to a
space-separated list of link types. White space characters are not
permitted within link types.


"
So, you should perhaps be appending this to any existing comment links
with a rel attribute.
[4] http://www.w3.org/TR/REC-html40/types.html#type-links




------------------------------------------------------------------------

Wed, 19 Jan 2005 13:56:25 +0000 : chrisada

+1 for the feature


It seems to me this might be easier accomplished as an input filter?







More information about the drupal-devel mailing list