Availability
TrackbackKeyword Plugin v0.2 is available at Blojsom3 Plugins download page
.
Description
Trackback Keyword Plugin checks the content of trackback URL for the existence of all or at least one of the specified keywords which will determine whether the trackback is a spam or not. A trackback spam will then be deleted or moderated. This plugin will not overwrite trackback deletion/moderation status set up by other priorly executed plugins.
Dependencies
Commons HTTPClient v3.0
Installation and Setup
Place trackbackkeywordplugin-x.y.jar and commons-httpclient-3.0.jar in /WEB-INF/lib/ directory.
Add the following to /WEB-INF/classes/blojsom-plugins.xml file.
<bean id="trackbackkeyword" class="com.mbledug.blojsom.plugin.trackback.TrackbackKeywordPlugin" init-method="init" destroy-method="destroy">
<property name="eventBroadcaster">
<ref bean="eventBroadcaster"/>
</property>
<property name="properties">
<props>
<prop key="proxy-host">http://proxyhost.com</prop>
<prop key="proxy-port">8080</prop>
<prop key="proxy-username">proxyusername</prop>
<prop key="proxy-password">proxypassword</prop>
</props>
</property>
</bean>
Configure Trackback Keyword from Blojsom administration menu weblog settings->properties->set property
| Property |
Sample Value |
Description |
| trackbackkeyword-enabled |
true |
Enable the Trackback Keyword Plugin. |
| trackbackkeyword-keywords |
keyword1,keyword2,keyword3 |
Comma separated keywords. |
| trackbackkeyword-action |
delete |
What to do with suspected trackback spam. Valid values: 'delete' or 'moderate'. |
| trackbackkeyword-checktype |
all |
Whether to check all keywords or just one of the keywords. Valid values: 'one' or 'all'. |