HTML5 Powered

Textpattern

To import your posts from Textpattern, run:

$ ruby -rubygems -e 'require "bunto-import";
    BuntoImport::Importers::TextPattern.run({
      "dbname"   => "name",
      "user"     => "myuser",
      "password" => "mypassword",
      "host"     => "myhost"
    })'

The only required fields are dbname and user. password defaults to "" and host defaults to "localhost".

You will need to run the above from the parent directory of your _import folder. For example, if _import is located in /path/source/_import, you will need to run this code from /path/source. The hostname defaults to localhost, all other variables are required. You may need to adjust the code used to filter entries. Left alone, it will attempt to pull all entries that are live or sticky.