Description
The NoFollow plugin adds support for searching through hyperlinks in comments and trackbacks and adding rel="nofollow" for hyperlinks without this attribute. This removes any search engine ranking that comment/trackback spammers might hope to get from leaving comment/trackback spam on your blog.
Further description of this attribute can be found on this Google Blog post, Preventing comment spam
.
Availability
This plugin is available as of blojsom 2.23.
Installation and Setup
In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:
<bean id="nofollow" class="org.blojsom.plugin.nofollow.NoFollowPlugin" init-method="init" destroy-method="destroy"/>
You may then add "nofollow" to one of the flavor-based plugin chains.
Usage and URL Parameters
The plugin works by searching over the text in the comments and trackbacks searching for hyperlinks. If a hyperlink is found without the rel="nofollow" attribute is added. If a hyperlink is found with the rel attribute but not nofollow, nofollow is added to the rel attribute.