Joomla 3 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 joomla3 --dbname --user --password --host --port --category --prefix
Option <PARAM> | Description | ||
---|---|---|---|
--dbname |
Database name. |
||
--user |
Database user name. |
||
--password |
Database user’s password. |
Default: '' |
|
--host |
Database host name. |
Default: 'localhost' |
|
--port |
Database port. |
Default: '3306' |
|
--category |
ID of the category. |
Default: '0' |
|
--prefix |
Table prefix name. |
Default: 'jos_' |
If the category
numerical field is not filled, all articles will be imported, except the ones that are
uncategorized.