Joomla 3导入器
To import your posts from a Joomla 3 installation, run:
$ ruby -r rubygems -e 'require "jekyll-import";
JekyllImport::Importers::Joomla3.run({
"dbname" => "name",
"user" => "myuser",
"password" => "mypassword",
"host" => "myhost",
"port" => portnumber,
"category" => category,
"prefix" => "mytableprefix"
})'
The only required fields are dbname
, prefix
and user
. password
defaults to ""
,
host
defaults to "localhost"
, portnumber
defaults to 3306
and prefix
defaults to
"jos_"
.
If the category
numerical field is not filled, all articles will be imported, except the ones that are
uncategorized.