flotiq-wordpress-import
v1.1.8
Published
Importer of wordpress posts to Flotiq
Downloads
255
Readme
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 .
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.