Subject: | metaWeblog.getRecentPosts broken |
When requesting to use the metaWeblog api, the requests still go to the server as blogger requests:
use Net::Blogger;
my $api = Net::Blogger->new({
engine => 'movabletype',
blogid => 5,
username => 'claco',
password => 'xxxxxx',
debug => 1
});
$api->Proxy('http://handelframework.com/mt/mt-xmlrpc.cgi');
{
$^W = 0;
my ($status, @entries) = $api->metaWeblog()->getRecentPosts();
warn $status;
warn scalar @entries;
foreach my $entry (@entries) {
foreach my $key (keys %{$entry}) {
print "KEY: ", $key,"\n";
};
};
};
Using the code above, the following is the methodname send to the server:
<methodName>blogger.getRecentPosts</methodName>
That should be metaWeblog.getRecentPosts at that point.