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

REST Importer

描述

Deprecated

This project is no longer active and not recommended for use.

Access remote data via REST and save it as WordPress Posts or Users.

UI to customize the import. Shape any kind of json response to fit your desired structure and field names.

REST Importer on GitHub

REST Importer wiki

How to use

  • Make a backup of your database! In case you import to much trash to wrong places and assign the values to wrong fields.
  • Install REST Importer and go to “Tools” -> “REST Importer” -> “Sources”, add a source and save.
  • Switch to tab “Requests & Import”, add a request, choose the source, select “Print as admin notice” and push the “Request/Import” button. On success, you’ll see the response as some kind of tree structure.
  • Switch to tab “Value Mapping” add a “Map” and customize the way the data gets imported. Rebuild the the response structure and assign the nodes to post/user options and meta-options.
  • Switch to tab “Requests & Import”, edit the request and select “Save response”.

Currently supported authorisation

  • none
  • OAuth 1.0a

Coming soon

  • More filter and hooks
  • Wiki and documentation
  • More authorisation types

Thanks for beautiful ressoucres

Good to know:

  • Sensitive data (passwords, keys, secrets) will be stored encrypted in the database.

螢幕截圖

  • Sources
  • How to store the Response in the database
  • Request and Import

安裝

Requirements:

  • php 5.6
  • cURL
  • JavaScript needs to be enabled for the settings page (if all settings are done, you may disable js again)

Upload and install this Plugin the same way you’d install any other plugin.
Go to “Tools” -> “REST Importer”.

評價

There are no reviews for this plugin.

貢獻者及開發者

“REST Importer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 REST Importer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.5

fix: some lost whitespaces between opening and closing php tags.

0.1.4

import user: merge_carefully, existing fields where set to null;

0.1.3

fix: climb the tree and save the value if key is 0!
added: some filters and hook

0.1.2

fix: fatal error on Request save and no sources existing;
fix: the tree input works now for repeatable groups;
some examples removed, moved to the wiki;
Remp_Import_{}::insert_object: skip object keys if not valid;

0.1.1

Edit Readme

0.1.0

added cron option to requests

0.0.1

yeeaaa first version, hurray