Title: Novarum Importer
Author: Novarum Software &amp; Consulting
Published: <strong>5 Tháng 12, 2018</strong>
Last modified: 12 Tháng 12, 2018

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/novarum-json-importer/assets/icon-256x256.png?rev=1985883)

# Novarum Importer

 Bởi [Novarum Software & Consulting](https://profiles.wordpress.org/novarum/)

[Tải về](https://downloads.wordpress.org/plugin/novarum-json-importer.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/novarum-json-importer/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/novarum-json-importer/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/novarum-json-importer/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/novarum-json-importer/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/novarum-json-importer/)

## Mô tả

NovarumImporter

JSON importer plugin for WordPress. It helps you call any REST Api endpoint and 
import JSON response to wordpress. It supports custom post types as well.

### Handling Api Requests

Go to Settings->Novarum Importer and open \”Request Options\” tab. From this tab
you can define how the api should be called and what parameters should be passed.
Note that, this plugin uses PHP curl extension so it has to be enabled on the server
side. Most of the hosting providers enable this feature by default.

 * URL: This field is to define the url that will be called.
 * Request Type: This is to choose what verb should be used when calling the url.
   Default is GET
 * Fields: If the request type is POST or PUT, you can define the fields that can
   be passed as request body. If you are making a GET call you would need to add
   fields to the url instead.
 * Authentication Type: Some api endpoints require you to pass Username and Password
   as Basic Authentication parameters on the header of the request. If that\’s the
   case, you can choose Basic Authentication and define the Username and Password.
   Apart from that, it\’s common for REST apis to require tokens on request body,
   on this case you would need to define it on Fields field.
 * Headers: Some REST Api endpoints require specific header parameters, ie content
   type. If that\’s the case, you can define the header values on this text field.
   If you need to define more than one header key, please add one item per line.
   Ie:

Content-Type: application/x-www-form-urlencoded; charset=utf-8

Host: www.example.com

User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:28.0) Gecko/20100101 Firefox/
28.0

### Setting up the Importer

If the request is correct and you get a valid JSON as response, you can now set 
up the parameters on how to import the data to wordpress.

 * Array key: This parameter is the key the plugin will iterate through to import
   all the items under this array. Ie, if your JSON response is as:

{
 “response”: { “data”: [ {“title”: “item 1”, “description”: “Description 1”}, {“
title”: “item 2”, “description”: “Description 2”}, ] } }

Then you can set Response.data as the array key

 * Title key: Which key should be taken as the post’s title. This key should be 
   under the Array key so according to above example it would be “title”
 * Description key: Which key should be taken as the post’s content. This key should
   be under the Array key so according to above example it would be “description”
 * Date key: Which key should be taken as the post’s date. This key should be under
   the Array key and it can be left blank. If it’s left blank it takes the current
   date as the post’s date.

### Notes

This plugin is under heavy development. If you have any suggestions, comments, or
issues please send it to team@novarumsoftware.com or open a request.

### TODO

 * Allow Meta tags and taxonomies to be imported as well
 * Make the api calls in the background
 * Realtime status display for import process
 * Allow api calls to be scheduled
 * Special settings for paginations (either with page value or with offset,limit
   combination)

## Ảnh màn hình

[⌊Request options⌉⌊Request options⌉[

Request options

[⌊Importer options⌉⌊Importer options⌉[

Importer options

## Cài đặt

 1. Upload Novarum Importer plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings->Novarum Importer, set up the request and set Importing options

## Hỏi đáp

  How can i import the data if JSON response itself an array?

Please leave Array Key empty and the plugin will take the root object as array

  How can i import fields as meta values?

This feature is on our roadmap but it’s not completed yet. Please stay tuned for
updates.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Novarum Importer” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Novarum Software & Consulting ](https://profiles.wordpress.org/novarum/)

[Dịch “Novarum Importer” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/novarum-json-importer)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/novarum-json-importer/),
check out [SVN repository](https://plugins.svn.wordpress.org/novarum-json-importer/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/novarum-json-importer/)
qua [RSS](https://plugins.trac.wordpress.org/log/novarum-json-importer/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.1

 * Initial version

#### 1.0.2

 * Compability with WordPress 5.0
 * Date/Time functions now use strtotime function to parse the dates

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **8 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 4.9.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.0.31**
 *  Phiên bản PHP ** 5.6 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/novarum-json-importer/)
 * Thẻ
 * [import](https://vi.wordpress.org/plugins/tags/import/)[JSON](https://vi.wordpress.org/plugins/tags/json/)
   [rest-api](https://vi.wordpress.org/plugins/tags/rest-api/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/novarum-json-importer/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/novarum-json-importer/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/novarum-json-importer/reviews/)

## Những người đóng góp

 *   [ Novarum Software & Consulting ](https://profiles.wordpress.org/novarum/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/novarum-json-importer/)