[wp-hackers] XML-RPC
Eric Mann
eric at eam.me
Sun Mar 20 16:37:59 UTC 2011
Yes, settings can be transferred via XML-RPC. You'd send them the same way
you'd send post or page content. But for the Move WordPress idea you'd need
a setup on one site to package and send the information and a setup on the
other site to receive and process the information. Transferring files would
be more complicated. You could probably send the file location information
from site 1 to site 2 and have site 2 use the WordPress HTTP API to pull in
the file. This gives you the option to use fopen() or cUrl and a couple of
other systems to GET the file and store it somewhere.
On Sun, Mar 20, 2011 at 9:35 AM, Gaurav Aggarwal <gaurav91.2008 at gmail.com>wrote:
> Sir ,
>
> I am working out options for Move Wordpress plugin when source wordpress
> installation doesn't provide with FTP details like wordpress.com. So i was
> thinking whether settings could be transferred using xml-rpc.
>
> On Sun, Mar 20, 2011 at 10:02 PM, Eric Mann <eric at eam.me> wrote:
>
> > I'm not quite sure what you mean here. RPC stands for Remote Procedure
> > Call, so really you can make WordPress do just about anything via XML-RPC
> > if
> > you have the right method calls defined in the API. How would you want
> it
> > to act as a file access mechanism?
> >
> > We only implement things in core if they have a broad use. If it's an
> edge
> > use case, it's likely better suited for a plugin.
> >
> > On Sun, Mar 20, 2011 at 9:19 AM, Gaurav Aggarwal <
> gaurav91.2008 at gmail.com
> > >wrote:
> >
> > > Is it possible for XML-RPC to act as a file access mechanism or just
> zip
> > a
> > > particular directory temporarily and later on delete in.
> > > If yes then do wordpress already have such a capability ?
> > > Can we implement such a capability in core ??
> > >
> > > On Sun, Mar 20, 2011 at 9:42 PM, Eric Mann <eric at eam.me> wrote:
> > >
> > > > Only if the plug-in or theme extends the API. There's no generic
> "get
> > > all
> > > > settings" call because it doesn't make sense to have one. But any
> > > plug-in
> > > > and theme can add their own XML-RPC calls to the API. It really
> > depends
> > > on
> > > > what the author intends to do.
> > > >
> > > > On Sun, Mar 20, 2011 at 9:08 AM, Gaurav Aggarwal <
> > > gaurav91.2008 at gmail.com
> > > > >wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > Can we obtain plug-in settings or theme settings using XML-RPC
> calls
> > in
> > > > > Wordpress ??
> > > > >
> > > > > --
> > > > > regards,
> > > > >
> > > > > Gaurav Aggarwal
> > > > > IIIrd year student
> > > > > Computers Engineering
> > > > > Delhi College of Engineering
> > > > > _______________________________________________
> > > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > > regards,
> > >
> > > Gaurav Aggarwal
> > > IIIrd year student
> > > Computers Engineering
> > > Delhi College of Engineering
> > > _______________________________________________
> > > 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
> >
>
>
>
> --
> regards,
>
> Gaurav Aggarwal
> IIIrd year student
> Computers Engineering
> Delhi College of Engineering
> _______________________________________________
> 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