flotiq-wordpress-import

1.1.8 • Public • Published
Flotiq logo

Wordpress to Flotiq Importer

Command for importing tags, categories, media, posts and pages from Wordpress to Flotiq.

Setup for usage

npm install -g flotiq-wordpress-import

Setup for development

Clone this repository:

git clone https://github.com/flotiq/flotiq-wordpress-import.git

Enter the directory:

cd flotiq-wordpress-import

Install dependencies:

npm install

Check settings defined in:

src\configuration\config.js

Usage

Start project

flotiq-wordpress-import import [flotiqApiKey] [wordpressUrl]

or in development:

node bin/flotiq-wordpress-import import [flotiqApiKey] [wordpressUrl]

Parameters

flotiqApiKey - API key to your Flotiq account, it must be read and write API key (more about Flotiq API keys in the documentation)

wordpressUrl - full link to your Wordpress site

Flags

--json-output, -j - Error and console output will be additionally written into json file named output.json.

Collaboration

If you wish to talk with us about this project, feel free to hop on Discord Chat .

If you found a bug, please report it in issues.

Errors

To make your life and ours easier, we have prepared an error codes.

1XX - Execution error

#101

Flotiq API bad response.

#301

Problem with adding Content Object.

#302

Incorrect Flotiq API key.

#400

Incorrect wordpress url.

NPM publish

To publish a new package in NPM, you need to update the version in the packages.json file and then commit the changes with the message "Release x.y.z". Where x.y.z is the new version of the package. Commit about this on the master branch will start building a tag about this version and publishing a new version to npm.

Readme

Keywords

Package Sidebar

Install

npm i flotiq-wordpress-import

Weekly Downloads

37

Version

1.1.8

License

MIT

Unpacked Size

95.8 kB

Total Files

51

Last publish

Collaborators

  • flotiq