[WordPress] 外掛分享: REST Importer

首頁外掛目錄 › REST Importer
WordPress 外掛 REST Importer 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
2292 天前
最後更新
問題解決
WordPress 4.7+ v0.1.5 上架:2017-03-12

內容簡介

已過時

這個專案不再維護,不建議使用。

透過 REST 存取遠端資料,並儲存為 WordPress 文章或使用者。

提供 UI 自訂匯入設定。可塑形任何 JSON 回應以符合您所需的結構和欄位名稱。

REST Importer 於 GitHub

REST Importer wiki

使用方式

備份資料庫!萬一您匯入了太多垃圾到錯誤位置並將其分配給錯誤欄位,就有所準備。
安裝 REST Importer,進入「工具」->「REST Importer」->「來源(Source)」,新增一個來源並存檔。
轉到「請求和匯入(Requests & Import)」標籤,新增一個請求,選取來源,並選擇「以管理通知形式顯示(Print as admin notice)」,然後點擊「請求/匯入(Request/Import)」按鈕。若成功,您將會看到回應呈現為某種樹狀結構。
切換到「數據對應(Value Mapping)」標籤,新增一個「對應(Map)」,並自訂數據導入方式。重新建立回應結構,並將節點分配給文章/使用者選項和元選項。
切換到「請求和匯入(Requests & Import)」標籤,編輯請求,並選擇「儲存回應(Save response)」。

目前支援的認證方式


OAuth 1.0a

即將推出

更多篩選器和掛鉤(hooks)
維基和文件
更多認證類型

感謝以下美麗的資源

CMB2
Integration CMB2-qTranslate
CMB2 Conditionals
OAuth 1 PHP 函式庫
jstree
jsTreeGrid
本外掛基於 generator-pluginboilerplate

額外需要知道的:

敏感資料(密碼、金鑰、機密)將以加密方式儲存於資料庫中。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

CMB2
Integration CMB2-qTranslate
CMB2 Conditionals
OAuth 1 PHP Library
jstree
jsTreeGrid
This Plugin is based on the generator-pluginboilerplate

Good to know:

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon