Go to content Go to sidebar

Standalone Comment and Trackback Update

Here is the latest update to my comment and trackback package. This version allows comments and trackback pings to be blocked based upon the host name of any outbound links. Here is an example that blocks comments containing outbound links to this site:


#!/usr/bin/perl

use lib '../cgi-lib'; use comment::service;

sub my_banned_links { my ( $link ) = @_; return ($link =~ s/ideoplex\.com$//); }

$tb = new comment::service( BANNED_LINK_FUNCTION=>&my_banned_links, DATA_DIRECTORY=>"/full/path/to/data/directory", RSS_FILE=>"/full/path/to/rss/file", BLOG_NAME=>"Your Blog Title", BLOG_URL=>"Your Blog url" ); $tb->handle();

exit(0);

Features

Requirements

Download standalone trackback and comments.

03 Dec: Updated to reject items with excessive links.