[wp-hackers] Help getting started with XML-RPC and Custom Post Types
prasath nadarajah
n.prasath.002 at gmail.com
Fri Jul 8 16:30:22 UTC 2011
I did my GSoC project on this.
The plugin code is here. Still i didnt upload it to the plugin repo.
http://gsoc.svn.wordpress.org/2011/nprasath002/
It works as far as I,m tested.
On Fri, Jul 8, 2011 at 9:30 PM, Eric Mann <eric at eam.me> wrote:
> Andrew,
>
> There's a separate mailing list for XML-RPC stuff:
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
> 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:
> http://kovshenin.com/archives/custom-xml-rpc-methods-in-wordpress/
>
> On Fri, Jul 8, 2011 at 8:46 AM, Andrew Gray <andrew at graymerica.com> wrote:
>
> > All,
> >
> > 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.
> >
> > Thanks,
> >
> > Andrew
> >
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> 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