WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "XML-RPC Support"

(XML-RPC is enabled by default and start with WP own methods instead of calling out the "deprecated" API's)
Line 3: Line 3:
 
{{pt-br|Suporte XML-RPC}}
 
{{pt-br|Suporte XML-RPC}}
 
}}
 
}}
WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. WordPress currently support the [[XML-RPC Blogger API|Blogger API]], [[XML-RPC MetaWeblog API|metaWeblog API]], [[XML-RPC MovableType API|Movable Type API]], and the [[XML-RPC Pingback API|Pingback API]].
+
WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. WordPress has it's own implementation for WordPress-specific functionality in an API called the [[XML-RPC WordPress API|WordPress API]]. This should be used when possible, your client should use the API variants beginning with the <tt>wp</tt> prefix.
   
WordPress also implements additional WordPress-specific functionality in an API called the [[XML-RPC WordPress API|WordPress API]]. If possible, your client should use the API variants beginning with the <tt>wp</tt> prefix.
+
WordPress also supports the [[XML-RPC Blogger API|Blogger API]], [[XML-RPC MetaWeblog API|metaWeblog API]], [[XML-RPC MovableType API|Movable Type API]], and the [[XML-RPC Pingback API|Pingback API]].
   
With WordPress XML-RPC support, you can post to your WordPress blog using many popular [[Weblog_Client|Weblog Clients]].
+
With WordPress XML-RPC support, you can post to your WordPress blog using many popular [[Weblog_Client|Weblog Clients]]. The XML-RPC system can be [[XML-RPC Extending|extended by WordPress Plugins]] to modify its behavior.
 
The XML-RPC system can be [[XML-RPC Extending|extended by WordPress Plugins]] to modify its behavior.
 
   
 
==Enabling XML-RPC==
 
==Enabling XML-RPC==
   
XML-RPC functionality is turned off by default in WordPress.
+
XML-RPC functionality is turned on by default since WordPress 3.5.
   
To enable, go to [[Settings_Writing_Screen#Remote_Publishing|Settings > Writing > Remote Publishing]] and check the checkbox.
+
Before that you needed to enable it your self. To enable, go to [[Settings_Writing_Screen#Remote_Publishing|Settings > Writing > Remote Publishing]] and check the checkbox.
   
 
==Endpoint==
 
==Endpoint==

Revision as of 16:52, 8 December 2012

WordPress uses an XML-RPC interface. WordPress has it's own implementation for WordPress-specific functionality in an API called the WordPress API. This should be used when possible, your client should use the API variants beginning with the wp prefix.

WordPress also supports the Blogger API, metaWeblog API, Movable Type API, and the Pingback API.

With WordPress XML-RPC support, you can post to your WordPress blog using many popular Weblog Clients. The XML-RPC system can be extended by WordPress Plugins to modify its behavior.

Enabling XML-RPC

XML-RPC functionality is turned on by default since WordPress 3.5.

Before that you needed to enable it your self. To enable, go to Settings > Writing > Remote Publishing and check the checkbox.

Endpoint

The XML-RPC server/path are as described here:

  • If your WordPress root is http://example.com/wordpress/, then you have:
    • Server: http://example.com/ (some tools need just the 'example.com' hostname part)
    • Path: /wordpress/xmlrpc.php
    • complete URL (just in case): http://example.com/wordpress/xmlrpc.php

Related