Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

REST Importer

Beskrivning

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.

Skärmdumpar

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

Installation

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

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”REST Importer” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”REST Importer” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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