CSV
To import your posts from a CSV file, run:
$ ruby -rubygems -e 'require "bunto-import";
BuntoImport::Importers::CSV.run({
"file" => "my_posts.csv"
})'
Your file CSV file will be read in with the following columns:
- title
- permalink
- body
- published_at
- filter (e.g. markdown, textile)
If you wish to specify custom front matter for each of your posts, you
can use the no-front-matter
option to prevent the default front matter
from being written to the imported files:
$ ruby -rubygems -e 'require "bunto-import";
BuntoImport::Importers::CSV.run({
"file" => "my_posts.csv",
"no-front-matter" => true
})'