function pingOMatic($strName, $strURL, $strRSSURL = "")
{
// Require ping class
require_once("IXR.php");
// Using a timeout of 3 seconds should be enough to cover slow servers
$cClient = new IXR_Client("http://rpc.pingomatic.com", false, 80, 3);
// when set to true, this outputs debug messages by itself
$cClient->debug = true;
if (!$cClient->query("weblogUpdates.extendedPing", $strName, $strURL, $strRSSURL))
{
$cClient->query("weblogUpdates.ping", $strName, $strURL);
}
}