這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Drupal to WP XML-RPC

外掛說明

Adds some Multisite-specific functions to WordPress XML-RPC interface (http://yourdomain.com/xmlrpc.php).
This plugin is required for the correct work of a Drupal module named Drupal to WP.

Functions availables

  • drupal.newBlog – Create a new blog
  • drupal.getUsers – Get all users of your installation
  • drupal.getUsersBlogs – Get blogs of a user
  • drupal.getBlogId – Get a blog ID
  • drupal.getCategories – Get a list of categories on a given blog
  • drupal.newUser – Create a new user
  • drupal.deleteUser – Delete a user

Functions return error code 700 or 403 if there are problems with authetication and error code 500 if there are other problem.

安裝方式

  1. Upload drupaltowp_xmlrpc folder to the wp-content/plugins directory in your WordPress multisite installation.
  2. Activate the plugin in your Administration Panel.
  3. Check ‘Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols’ through ‘Writing’ menu and click ‘Save Changes’.

Requeriments

  • Its neccesary to activate mcrypt support in PHP.

常見問題集

If you have any further questions, please submit them.

Get XML-RPC error `Combination of username/password incorrect`

Check username and password are correct.
Password must be encrypted before calling one of this xml-rpc functions so follow this steps:
1. Open file drupaltowp_xmlrpc.php and copy the function drupaltowp_encrypt_password to your code.
2. Define a key for encrypting your passwords. Max 20 characters.
3. Edit file drupaltowp_xmlrpc.php and put your key value in line 32: define( 'DRUPALTOWP_KEY', 'your-key-value' );

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Drupal to WP XML-RPC〉的開發相關工作。

參與者

將〈Drupal to WP XML-RPC〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄