Textpattern Importer
This importer depends on the following third-party gems:
- mysql2
- safe_yaml
- sequel
gem install GEM_NAME
or install the required gems in a batch by running the following snippet:
gem install mysql2 safe_yaml sequel
Invocation
Sample snippet to invoke the importer:
jekyll import textpattern --dbname DB --user USER --password PW --host HOST
Option <PARAM> | Description | ||
---|---|---|---|
--dbname DB |
Database name. |
||
--user USER |
Database user name. |
||
--password PW |
Database user’s password. |
Default: '' |
|
--host HOST |
Database host name. |
Default: 'localhost' |
You may need to invoke the importer from the parent directory of your _import
folder. For example, if _import
is located in /path/source/_import
, invoke
this importer from /path/source
. This importer will attempt to pull all entries
that are live or sticky.