该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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”.

评价

此插件暂无评价。

贡献者及开发者

“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