WordPress: XML-RPC Support:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. We currently support the [http://www.blogger.com/developers/api/ Blogger API], [http://www.xmlrpc.com/metaWeblogApi metaWeblo...)
 
无编辑摘要
第1行: 第1行:
WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. We currently support the [http://www.blogger.com/developers/api/ Blogger API], [http://www.xmlrpc.com/metaWeblogApi metaWeblog API], and the [http://www.sixapart.com/developers/xmlrpc/movable_type_api/ Movable Type API].
WordPress uses an [http://www.xmlrpc.com/ XML-RPC] interface. We currently support the [http://www.blogger.com/developers/api/ Blogger API], [http://www.xmlrpc.com/metaWeblogApi metaWeblog API], and the [http://www.sixapart.com/developers/xmlrpc/movable_type_api/ Movable Type API].
WordPress使用一个[http://www.xmlrpc.com/ XML-RPC]界面。我们当前支持[http://www.blogger.com/developers/api/ 博客作者 API], [http://www.xmlrpc.com/metaWeblogApi meta博客 API], 和[http://www.sixapart.com/developers/xmlrpc/movable_type_api/ 可移动类型的 API]。


The '''metaWeblog''' and '''MovableType API''' are currently supported with the following exceptions:
The '''metaWeblog''' and '''MovableType API''' are currently supported with the following exceptions:
'''metaWeblog'''和'''MovableType API'''当前得到支持,除了以下的一些例外:


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


Extended entries in the MovableType API are automatically converted to/from the WordPress <tt>&lt;!--more--></tt> tag.
Extended entries in the MovableType API are automatically converted to/from the WordPress <tt>&lt;!--more--></tt> tag.
MovableType API 中扩展的entries自动地转变为WordPress<tt>&lt;!—更多的--></tt> 标签,从WordPress<tt>&lt;!—更多的--></tt>标签中转变


'''Thanks to WordPress' XML-RPC support, you can now post to your WordPress blog using many popular [[WordPress:Weblog_Client|Weblog Clients]].'''
'''Thanks to WordPress' XML-RPC support, you can now post to your WordPress blog using many popular [[WordPress:Weblog_Client|Weblog Clients]].'''
'''多亏WordPress的XML-RPC支持,现在你可以使用多个流行的[[WordPress:Weblog_Client|博客Clients]] 向你的WordPress博客发表文章了。'''


==Develop Your Own Weblog Client==
==Develop Your Own Weblog Client==
==发展你自己的博客 Client==


You can always [http://www.dentedreality.com.au/bloggerapi/ develop your own].  Many scripts in Perl, Python, PHP, Applescript and Java have already been written and are ripe for the picking (and tweaking).   
You can always [http://www.dentedreality.com.au/bloggerapi/ 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 [http://developer.apple.com/macosx/dashboard.html very detailed documentation].
If you are planning on developing a Mac OS X Dashboard Widget, start with Apple's [http://developer.apple.com/macosx/dashboard.html very detailed documentation].
你可以经常[http://www.dentedreality.com.au/bloggerapi/ 发展你自己的]。许多Perl, Python, PHP, Applescript和Java脚本已经写好了,而且可以挑选(和tweaking)。
如果你计划发展一个Mac OS X Dashboard Widget,从Apple的[http://developer.apple.com/macosx/dashboard.html 详细描述的文件]开始。


Your XML-RPC server/path are as described here:  
Your XML-RPC server/path are as described here:  
 
你的XML-RPC服务器/路径在这儿得到了描述:
* 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 will just want the 'example.com' hostname part)
** Server: <tt><nowiki>http://example.com/</nowiki></tt> (some tools will just want the 'example.com' hostname part)
** Path: <tt>/wordpress/xmlrpc.php</tt>
** Path: <tt>/wordpress/xmlrpc.php</tt>
** 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>
* 如果你的 WordPress 根是<tt><nowiki>http://example.com/wordpress/</nowiki></tt>, 那么你会有:
**服务器: <tt><nowiki>http://example.com/</nowiki></tt> (有的工具可能只想要example.com的主机名部分)
** 路径h: <tt>/wordpress/xmlrpc.php</tt>
** 完整的 URL (以防万一): <tt><nowiki>http://example.com/wordpress/xmlrpc.php</nowiki></tt>

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