[wp-hackers] Creating new categories via the XMLRPC API

Callum Macdonald lists.automattic.com at callum-macdonald.com
Mon Feb 19 02:40:10 GMT 2007


Hi Ryan,

Thanks for the links, yes, the WordPress API is clearly the way to go.

However, as of downloading the latest version wordpress.org, the 
xmlrpc.php file does not include any of these functions.

Does anyone know when these changes will make it to a production release?

Cheers,


Callum.

Ryan Boren wrote:
> On 2/15/07, Dr. Mike Wendell <theapparatus at gmail.com> wrote:
>> On 2/14/07, Callum Macdonald 
>> <lists.automattic.com at callum-macdonald.com> wrote:
>> > I have a script that retrieves the list of categories and submits new
>> > posts via the API, but I can't find a way to create new categories. 
>> Can
>> > anyone offer any suggestions?
>>
>> It's probably by using the new WordPress API.  I asked in another
>> thread if there was any docs on it but never heard any followup.  I
>> echo this request because I would like to pass it along to the creator
>> of Blogdeskk and see if he would work in support for the API.  Support
>> for Pages and Category work via XMLRPC comes up in the wp.com forums
>> on occasion.
>
> There's no doc as yet, but a quick look through xmlrpc.php reveals much.
>
> The list of new functions starts on line 72.
>
> http://trac.wordpress.org/browser/trunk/xmlrpc.php?rev=4874#L72
>
> The page struct is on line 215.
>
> http://trac.wordpress.org/browser/trunk/xmlrpc.php?rev=4874#L215
>
> The category struct is on 498.
>
> http://trac.wordpress.org/browser/trunk/xmlrpc.php?rev=4874#L498
>
> Make sure there is a WordPress API entry in the RSD for the site
> before using the new API.
>
> Ryan
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



More information about the wp-hackers mailing list