Drupal 6
Additional Dependencies
This importer requires the following additional libraries.
You may install the needed gems individually by running gem install GEM_NAME or install all of them
with a single invocation:gem install mysql2 pg safe_yaml sequel
Invocation
Sample snippet to invoke the importer:
jekyll-import drupal6 --dbname DB --user USER --engine [mysql|postgresql] --password PW --host HOST --port PORT --prefix PREFIX --types TYPE1[,TYPE2[,TYPE3...]]
| Option <PARAM> | Description | ||
|---|---|---|---|
--dbname DB |
Database name |
||
--user USER |
Database user name |
||
--engine [mysql|postgresql] |
Database engine |
Default: "mysql" |
|
--password PW |
Database user’s password |
Default: "" |
|
--host HOST |
Database host name |
Default: "127.0.0.1" |
|
--port PORT |
Database port name |
Default: "3306" |
|
--prefix PREFIX |
Table prefix name |
Default: "" |
|
--types TYPE1[,TYPE2[,TYPE3...]] |
The Drupal content types to be imported |
Default: blog,story,article |
|
Highlighted row(s) in table above indicate required options.
By default, this will pull in nodes of type blog, story, and article.
To specify custom types, you can use the types option when you run the
importer to select node types.