NateW/obtvse — pull request #55 by javaguirre (2012-04-17 19:38:27+00:00)
Title: Rake task to migrate from Wordpress

Database migration from a Wordpress blog.
--------------------------------------------------------

* In the Gemfile

```ruby
gem "mysql"
```

* Add a database to the config/database.yml

```ruby
wordpress:
adapter: mysql
encoding: utf8
database: obtvse_example
username: my_user
password: my_pass
host: localhost
```

* Finally it could be called from the command line…

```ruby
rake wordpress:migrate_wordpress[source_db, destiny_db]
```

That's it :-)