WordPress:XML-RPC Support

来自站长百科
Fludlen讨论 | 贡献2008年6月20日 (五) 10:24的版本
跳转至: 导航、​ 搜索

WordPress uses an XML-RPC interface. We currently support the Blogger API, metaWeblog API, and the Movable Type API.

WordPress使用一个XML-RPC界面。我们当前支持博客作者 API, meta博客 API, 和可移动类型的 API

The metaWeblog and MovableType API are currently supported with the following exceptions:

metaWeblogMovableType API当前得到支持,除了以下的一些例外:

  • The stub mt.supportedTextFilters is a dummy stub function that returns an empty string.
  • Keywords are not supported in the MovableType API.
  • stub mt.supportedTextFilters 是一个哑元stub函数,返回一个空命令。
  • MovableType API中不支持关键词。


Extended entries in the MovableType API are automatically converted to/from the WordPress <!--more--> tag.

MovableType API 中扩展的entries自动地转变为WordPress<!—更多的--> 标签,从WordPress<!—更多的-->标签中转变

Thanks to WordPress' XML-RPC support, you can now post to your WordPress blog using many popular Weblog Clients.

多亏WordPress的XML-RPC支持,现在你可以使用多个流行的博客Clients 向你的WordPress博客发表文章了。


Develop Your Own Weblog Client

发展你自己的博客 Client

You can always develop your own. Many scripts in Perl, Python, PHP, Applescript and Java have already been written and are ripe for the picking (and tweaking). If you are planning on developing a Mac OS X Dashboard Widget, start with Apple's very detailed documentation.

你可以经常发展你自己的。许多Perl, Python, PHP, Applescript和Java脚本已经写好了,而且可以挑选(和tweaking)。 如果你计划发展一个Mac OS X Dashboard Widget,从Apple的详细描述的文件开始。

Your XML-RPC server/path are as described here: 你的XML-RPC服务器/路径在这儿得到了描述:

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


  • 如果你的 WordPress 根是http://example.com/wordpress/, 那么你会有:
    • 服务器: http://example.com/ (有的工具可能只想要example.com的主机名部分)
    • 路径h: /wordpress/xmlrpc.php
    • 完整的 URL (以防万一): http://example.com/wordpress/xmlrpc.php