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

Ryan Boren ryan at boren.nu
Thu Feb 15 16:47:11 GMT 2007

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.


The page struct is on line 215.


The category struct is on 498.


Make sure there is a WordPress API entry in the RSD for the site
before using the new API.


More information about the wp-hackers mailing list