[wp-hackers] Help getting started with XML-RPC and Custom Post Types
eric at eam.me
Fri Jul 8 16:00:43 UTC 2011
There's a separate mailing list for XML-RPC stuff:
That said ... you can't *add* a custom post type via XML-RPC. The custom
post type needs to be defined by a plugin on the site you're posting to,
otherwise it won't stay around after the request is complete.
But if you are writing a plugin to create your own XML-RPC methods (that
sounds like what you're trying to do), here's a tutorial that would be a
good starting place:
On Fri, Jul 8, 2011 at 8:46 AM, Andrew Gray <andrew at graymerica.com> wrote:
> I was wondering if anyone had any sample code or pointer for how to add a
> custom post type via XML-RPC.
> I am trying to create a WP plugin that will let you post a custom post type
> to central WP site.
> It needs to use a API key to authenticate the end user and allow them to
> post as the user that is associated with the API Key.
> I want to be able to add a page to the end user WP dashboard that will let
> them add a custom post type to the central site.
> Any links or tutorials would be great. If someone has done this before and
> has code they want to share or sell, I would be interested in this as well.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers