Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flotiq/flotiq-wordpress-import
Package for importing WordPress posts, pages, authors, categories, posts and media to Flotiq
https://github.com/flotiq/flotiq-wordpress-import
flotiq importer wordpress
Last synced: 12 days ago
JSON representation
Package for importing WordPress posts, pages, authors, categories, posts and media to Flotiq
- Host: GitHub
- URL: https://github.com/flotiq/flotiq-wordpress-import
- Owner: flotiq
- License: mit
- Created: 2020-07-21T06:55:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T11:55:00.000Z (9 months ago)
- Last Synced: 2024-09-19T03:14:30.291Z (about 2 months ago)
- Topics: flotiq, importer, wordpress
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 10
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://flotiq.com/docs/API/))
`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](https://img.shields.io/discord/682699728454025410.svg)](https://discord.gg/FwXcHnX) .
If you found a bug, please report it in [issues](https://github.com/flotiq/flotiq-wordpress-import/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.