Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CakePHP shell for migrating a Wordpress database to Croogo
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
vendors/shells
README

README

/*
 * CakePHP shell for migrationg a Wordpress database to Croogo
 * Copyright (c) 2009 Matt Curry
 * www.PseudoCoder.com
 * http://github.com/mcurry/bye_wordpress
 *
 * @author      Matt Curry <matt@pseudocoder.com>
 * @license     MIT
 *
 */

/* Description */
A CakePHP shell for migrationg a Wordpress (tested on v2.8.6) database to Croogo.

/* Warning */
I'm done with this code.  I migrated my two sites, so I have no reason to keep it up.

/* Gotchas */
* Make sure the two databases have the same character encoding.
* Uploaded files aren't moved - just the DB record.  Make sure to manually copy /wp-content/uploads to /app/webroot/uploads
* If you want to use Tags and Categories the have two revcords in the vocabularies table with alias 'categories' and 'tags'.
* Draft posts aren't moved.

/* Instructions */
 1. Download the and install croogo (http://www.croogo.org).
 2. Download the plugin to /app/plugins/bye_wordpress
 3. Run it cake/console/cake bye_wordpress
 
/* Parameters */
-host
  Wordpress DB host.
  defaults to localhost.

-database
  Wordpress DB name.
  defaults to wordpress.

-login
  Wordpress DB login.
  defaults to localhost.

-password
  Wordpress DB password.
  defaults to empty.

-prefix
  Wordpress table prefix.
  defaults to wp_.
Something went wrong with that request. Please try again.