Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

REST Importer

Descrição

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.

Ecrãs

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

Instalação

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”.

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“REST Importer” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

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