Dashboard > blojsom 3.0 > ... > Plugins > Nofollow Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Nofollow Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 10, 2007
Labels: 
(None)

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.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators