So the weblogs.com change happened

| No Comments

So the weblogs.com change happened today, and I was asleep at the switch, so I needed to come up with a XML-RPC notification utility quickly. Thanks to phpxmlrpc, it was damned easy:



<?
include("xmlrpc.inc");
$weblog_name = new xmlrpcval("marginalia.org");
$weblog_address = new xmlrpcval("http://www.marginalia.org");

$msg = new xmlrpcmsg("weblogUpdates.ping");
$msg->addParam($weblog_name);
$msg->addParam($weblog_address);

$client=new xmlrpc_client("/RPC2", "rpc.weblogs.com", 80);

$response = $client->send($msg);

if ($response->faultCode()) {
print $response->serialize();
} else {
print "weblogs.com pinged.";
}
?>

Next problem to solve is a favorite list using the changes.xml file available at weblogs.com.

Leave a comment

About this Entry

This page contains a single entry by was published on October 23, 2001 12:00 AM.

An Investigation Into a Different was the previous entry in this blog.

The pencam finally has linux is the next entry in this blog.

This is marginalia.org, a weblog by Bill Stilwell. I take the occasional photo.

Pages

Powered by Movable Type 4.24-en