Textpattern Importer

This importer depends on the following third-party gems:

  • mysql2
  • safe_yaml
  • sequel
You may either install the gem(s) individually by running a command with syntax 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'
Highlighted row(s) in table above indicate required options.

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.