I have just finished integrating wordtwit to asianetindia.com as well as this blog. There is nothing much to hoot and howl about it, other than I just made some tweaks here and there. One being the addition of auto hash tagging for twitter with the help of tag the net. And another one to replace the url compression with a similar service which I started just on a fancy, also I replaced those since I was not interested in retaining the included small url options.
While working for the auto hash tagging, I found that the function twit_hit_server, near about line 215, was not updating the $output variable, with the results in case the method was post, so I just added that $output = $snoopy->results; to the conditions inside if ($post) / if ($result).
$message = str_replace( '[title]', get_the_title(), $message );
$message = str_replace( '[title]', wordtwit_tagify_title(get_the_title()), $message );
inside the function post_now_published definition.
The code listing for wordtwit_tagify_title is
$output = '';
if(strlen($text) > 110) $text = substr($text, 0, 100) . ' ...';
twit_hit_server( 'http://tagthe.net/api/', '', '', $output, true, array( 'text' => $text, 'view' => 'json' ) );
$res = @json_decode($output);
$topTag = $res->memes->dimensions->topic;
$g = strpos($text, $topTag);
return substr($text, 0, $g) . '#' . substr($text, $g);
WordTwit is a plugin that utilizes the Twitter API to automatically push a published post to your Twitter account as a tweet. It allows all your Twitter contacts to keep up to date with your blog postings.