Этот плагин не тестировался с последними 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».

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«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