“XML-RPC Support”的版本间的差异

来自WordPress中文文档
跳转至: 导航搜索
(1个版本)
(non-english category standard)
第4行: 第4行:
 
{{zh-cn|XML-RPC Support}}
 
{{zh-cn|XML-RPC Support}}
 
}}
 
}}
WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. WordPress has its own implementation for WordPress-specific functionality in an API called the [[XML-RPC WordPress API|WordPress API]]. This should be used when possible, and your client should use the API variants beginning with the <tt>wp</tt> prefix.
+
WordPress采用了[http://www.xmlrpc.com/ XML-RPC]接口.并且通过内置函数[[XML-RPC WordPress API|WordPress API]]实现了该接口内容。 所以,你可要通过客户端来管理Wordpress。
 +
WordPress 同时也支持如下几种API:[[XML-RPC Blogger API|Blogger API]], [[XML-RPC MetaWeblog API|metaWeblog API]], [[XML-RPC MovableType API|Movable Type API]], [[XML-RPC Pingback API|Pingback API]].
 +
通过使用WordPress XML-RPC, 你可以使用业界流行博客客户端[[Weblog_Client|Weblog Clients]]来发布你的WordPress日志和页面。同时,XML-RPC 也可使用[[XML-RPC Extending|extended by WordPress Plugins]]插件来自定义你的规则。
  
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]].
+
==激活XML-RPC==
 
+
从3.5版本开始,XML-RPC功能默认开启。
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.
+
早些版本,可通过如下方法激活:[[Settings_Writing_Screen#Remote_Publishing|Settings > Writing > Remote Publishing]] and check the checkbox.
 
 
==Enabling XML-RPC==
 
 
 
XML-RPC functionality is turned on by default since WordPress 3.5.
 
 
 
In previous versions of WordPress, XML-RPC was user enabled. To enable, go to [[Settings_Writing_Screen#Remote_Publishing|Settings > Writing > Remote Publishing]] and check the checkbox.
 
  
 
==Endpoint==
 
==Endpoint==
 
 
The XML-RPC server/path is:  
 
The XML-RPC server/path is:  
 
 
* If your WordPress root is <tt><nowiki>http://example.com/wordpress/</nowiki></tt>, then you have:
 
* If your WordPress root is <tt><nowiki>http://example.com/wordpress/</nowiki></tt>, then you have:
 
** Server: <tt><nowiki>http://example.com/</nowiki></tt> (some tools need just the 'example.com' hostname part)
 
** Server: <tt><nowiki>http://example.com/</nowiki></tt> (some tools need just the 'example.com' hostname part)
第25行: 第19行:
 
** complete URL (just in case): <tt><nowiki>http://example.com/wordpress/xmlrpc.php</nowiki></tt>
 
** complete URL (just in case): <tt><nowiki>http://example.com/wordpress/xmlrpc.php</nowiki></tt>
  
==Related==
+
==相关函数==
 
 
 
[[Category:Advanced Topics]]
 
[[Category:Advanced Topics]]
 
[[Category:WordPress Development]]
 
[[Category:WordPress Development]]
 
[[Category:Feeds]]
 
[[Category:Feeds]]
 
[[Category:UI_Link]]
 
[[Category:UI_Link]]

2014年1月13日 (一) 00:02的版本

wordpress.org.cn WordPress采用了XML-RPC接口.并且通过内置函数WordPress API实现了该接口内容。 所以,你可要通过客户端来管理Wordpress。 WordPress 同时也支持如下几种API:Blogger API, metaWeblog API, Movable Type API, Pingback API. 通过使用WordPress XML-RPC, 你可以使用业界流行博客客户端Weblog Clients来发布你的WordPress日志和页面。同时,XML-RPC 也可使用extended by WordPress Plugins插件来自定义你的规则。

激活XML-RPC

从3.5版本开始,XML-RPC功能默认开启。 早些版本,可通过如下方法激活:Settings > Writing > Remote Publishing and check the checkbox.

Endpoint

The XML-RPC server/path is:

  • 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

相关函数