Aron Ahmadia

Numerics. Computing. Science.

Getting Journler to play well with TextPattern's XML-RPC MetaWeblog API

Posted Feb 22, 09:22 PM in by Aron Ahmadia,

I was having difficulties getting Journler to export to this blog (it was complaining about being unable to parse the XML, thanks for the descriptive help message Journler!), and Google didn’t provide any useful information either. In a fit of random testing I pointed Journler to: http://aron.ahmadia.net/rpc/index.php instead of http://aron.ahmadia.net/rpc

I also added the following code to the beginning of public_html/rpc/TXP_RPCServer.php:

if (!isset($HTTP_RAW_POST_DATA)){

$HTTP_RAW_POST_DATA = file_get_contents(‘php://input’);

}

I guess there is a bug in PHP that can be worked around by adding that code, though I can’t find the original piece of advice, since there are a lot of people angry with TextPattern XML-RPC out there right now.

Comments

  1. Aron Ahmadia
    Feb 22, 09:35 PM #

    Hi Aron, this is yourself, just testing to see if your comments section works.

Things appear to be basically working now, but if somebody can explain more of the whys I'd be interested

Comment form




(Textile Help)