Hi!
Great!
So let's see what we can change. How about this:
In line #180 of serendipity_xmlrpc.php you should find this:
Code: Select all
if ($cat['categoryid']) $xml_entries_vals[] = new XML_RPC_Value(
array(
'description' => new XML_RPC_Value($cat['category_name'], 'string'),
'htmlUrl' => new XML_RPC_Value(serendipity_categoryURL($cat, 'serendipityHTTPPath'), 'string'),
'rssUrl' => new XML_RPC_Value(serendipity_feedCategoryURL($cat, 'serendipityHTTPPath'), 'string')
),
'struct'
);
Change this to:
Code: Select all
if ($cat['categoryid']) $xml_entries_vals[] = new XML_RPC_Value(
array(
'categoryid' => new XML_RPC_Value($cat['categoryid'], 'string'),
'title' => new XML_RPC_Value($cat['category_name'], 'string'),
'description' => new XML_RPC_Value($cat['category_name'], 'string'),
'htmlUrl' => new XML_RPC_Value(serendipity_categoryURL($cat, 'serendipityHTTPPath'), 'string'),
'rssUrl' => new XML_RPC_Value(serendipity_feedCategoryURL($cat, 'serendipityHTTPPath'), 'string')
),
'struct'
);
and then see if that helps. If it doesn't, you might want to remove those lines for "htmlUrl" and "rssUrl".
And if that also does not help, change the 'struct' you see in the code to 'array'.
Let's go from there.

What I read from
http://core.trac.wordpress.org/ticket/3994 is that it seems WP does not properly follow the XMLRPC-API in this case, and relies on other clients to implement it like they did, instead of the spec. So it might simply be that some XMLRPC clients expect different results.
Regards,
Garvin