Hey, I'm trying to figure out how to add tags/keywords (these terms are interchangeable, right?) when posting to my blog via PHP. Here is the function I'm using to post right now. It's working great, but I want to programmatically add tags. Many thanks:
$categories = implode(",", $categories);
$XML = "<title>$title</title>".
$params = array('','',$username,$password,$XML,1);
$request = xmlrpc_encode_request('blogger.newPost',$params);
$ch = curl_init();
curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
curl_setopt($ch, CURLOPT_URL, $rpcurl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 1);
wpPostXMLRPC("May 14, 2011",'',"http://thisiswhatwecareabout.com/xmlrpc.php",admin,fakePassword);
The blog I need help with is amusesmile.wordpress.com.