內容簡介
此外掛在 WordPress XML-RPC 介面 (http://yourdomain.com/xmlrpc.php) 中新增了一些僅針對多站台功能的函數。
此外掛的安裝是以 Drupal 的模組模式需要使用,以保障 Drupal to WP 的正常運作。
以下是可用的函數
drupal.newBlog – 建立新網誌(blog)
drupal.getUsers – 取得您安裝中的所有使用者(user)
drupal.getUsersBlogs – 取得某位使用者的網誌(blog)
drupal.getBlogId – 取得網誌的 ID
drupal.getCategories – 取得指定網誌的分類(category)清單
drupal.newUser – 建立新使用者
drupal.deleteUser – 刪除使用者
如果驗證(authentication)的問題,函數會回傳錯誤碼 700 或 403,若有其他問題則回傳錯誤碼 500。
外掛標籤
開發者團隊
原文外掛簡介
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.
