Skip to content

Instantly share code, notes, and snippets.

@jpcaruana
Created December 5, 2014 16:32
Show Gist options
  • Save jpcaruana/876be68091e11f4781ec to your computer and use it in GitHub Desktop.
Save jpcaruana/876be68091e11f4781ec to your computer and use it in GitHub Desktop.
commande d'import wordpress -> jekyll
ruby -rubygems -e 'require "jekyll-import";
JekyllImport::Importers::WordPress.run({
"dbname" => "blog",
"user" => "votreUser",
"password" => "sonMotDePasseSecret",
"host" => "votreServeur.com",
"table_prefix" => "wp_",
"clean_entities" => true,
"comments" => true,
"categories" => true,
"tags" => true,
"more_excerpt" => true
})'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment