So wie schon das Akismet-Plugin hat auch das Twitter-Plugin HashTag für Movable Type ein Proxy-Problem und ignoriert die MT-Systemeinstellung für Proxies. Auf diesem hier Server hat das Jail (das ist quasi eine virtuelle Maschine) aus Sicherheitsgründen nicht wirklich Internet-Zugriff, daher kommen auch keine Tweets nach draußen.
Also muss mal wieder ein Patch her, dann klappts auch mit dem Proxy; der Patch muss auf plugins/HashTag/lib/HashTag/Plugin.pm angewendet werden und passt zur aktuellen Beta-Version 2.5:
--- original_Plugin.nopm.pm 2009-07-17 23:45:12.000000000 +0200
+++ Plugin.pm 2009-11-27 19:38:58.000000000 +0100
@@ -137,6 +137,10 @@
require LWP::UserAgent;
my $ua = LWP::UserAgent->new;
+ # set HTTP Proxy when set in config file (AF)
+ if (my $proxy = MT::ConfigMgr->instance->HTTPProxy) {
+ $ua->proxy('http', $proxy);
+ }
$ua->credentials('twitter.com:80','Twitter API',$cfg->{tw_username} => $cfg->{tw_password},);

Aktuelle Kommentare