Skip to main content

Importing WordPress files into Kuroco

Overview

This tutorial explains how to import XML data and media files from WordPress into Kuroco.

What you'll learn

Before you start

  • We will import the following four posts created on Wordpress into Kuroco.
    Image from Gyazo
note

Currently, the import of WordPress media TAR files does not work. To register the files, please compress the exported media files into ZIP format and upload and unzip them on KurocoFiles.

Exporting the post data from WordPress

First, export your post data from WordPress. The steps are outlined below. You can also find more information at WordPress Support: Export Your Website’s Content.

In the side menu of your WordPress dashboard, click [Tools] -> [Export].

Image from Gyazo

On the Export Content page, under "Export content", click [Export all].

Image from Gyazo

A download link will be generated. Click [Download] to download the content data in XML format.
The content will be downloaded in a ZIP file.

Image from Gyazo

This completes the data export from WordPress.

Preparing a Kuroco content structure for the import

Next, create a content structure in Kuroco to import the WordPress data.

In Kuroco's sidebar menu, select [Content structure].

Image from Gyazo

In the upper right corner of the Content structure list screen, click [Add].

Image from Gyazo

Set up your new content structure as follows and click [Add].

FieldValue
General-Name(Enter a name for the content structure.)
Field settings-Date/SortUse Date
Field settings-ext_1WYSIWYG
OtherDefault

Image from Gyazo Image from Gyazo

Importing the data into Kuroco

Now you are ready to import the WordPress post data into Kuroco.

In Kuroco's sidebar menu, select [External system integration] -> [WordPress].

Image from Gyazo

The WordPress importer will appear. Image from Gyazo

On the WordPress integration screen, make the following selections and click [Validate].

FieldValue
WordPress XMLfileSelect the .xml file exported from WordPress.
Target contentSelect the content structure you created above.
StatusSelect the desired status (publish/unpublish) for the content.
No value behaviorSelect "Ignore".

Image from Gyazo

Input validation is performed, so set the Post type to import, category, and content field as follows.

ItemSetting
Convert Post typeSelect which Post type's data to import from the XML data.
post corresponds to WordPress's posts, so here we select post.
Convert categorySelect the category that the imported data belongs to.
You may choose any category you like.
Convert contentSelect the item where the imported data will be registered.
Here, we will select the WYSIWYG item created earlier.
SlugCheck this if you want to import the Slug from the XML as well.
Here, we will leave it disabled.
Convert TagsIf the imported data contains tags, choose whether to convert them.
Here, we will leave it disabled.

Image from Gyazo

note

Specify the content item to save the imported content under the [Convert Content] section. Currently, importing into the content (default 'contents' item) is not supported, so please import into an additional item set up in advance.

Click [Update] to add the import process to the batch processing and execute it.

Image from Gyazo

Verifying the import

To view the list of imported post titles, select [Content] in the sidebar menu and select the name of the content structure.

Image from Gyazo

More information

For more information on the WordPress integration function, see:


Support

If you have any other questions, please contact us or check out Our Slack Community.