Welcome Guest, Not a member yet? Register   Sign In
xmlrpc and Wordpress?
#1

[eluser]Terw[/eluser]
Hello
I'm trying to use the XML-RPC library now, and I want to get pinged by wordpress-sites.
Code:
$this->load->library('xmlrpc');
$this->load->library('xmlrpcs');

$config['functions']['weblogUpdates.ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['ping'] = array('function' => 'weblogUpdates.ping');
$config['functions']['weblogUpdates'] = array('function' => 'weblogUpdates.ping');
$config['object'] = $this;

$this->xmlrpcs->serve();

I can't get the XML-RPC to load any class/methods when I ping my site. The page is loaded, but I can't figure out what I have to type in ($config['functions']['HERE']) to get it to work.

Any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB