An everyday life's Odyssey

About this blog

What about this site?

This photoblog is powered by wordpress, formerly by pixelpost.

Pixelpost to WordPress

NOW EASIER, importer is now available on WordPress repository.

PixelPost, although a cool project, is now dying (if not dead already). I looked for an other platform, more modern and still alive, and I ended up on WordPress. At first, I was interested in the plugin YAPB, but it appeared that this plugin was from a time when WordPress lacked lots of features, but not anymore; so I developed migration importers to migrate a pixelpost blog to wordpress:

  • the post importer: set up your pixelpost database info, and let it work for a while. it’ll import categories, posts and comments. It’ll left a new table in the database, used by the provided index.php to keep the old link alive, by redirecting them to the new uri.
  • the ratings importer: provided you used the ajax rating plugin in pixelpost, and want to keep those in wordpress using wp-postratings, this plugin does this kind of magic: for each pixelpost post, the plugin updates the wordpress post with the same marks.

Installation

  • Upload pixelpost-importer to the /wp-content/plugins/ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress

Or even better, use the Admin plugins interface and look for “pixelpost importer” and install the plugin like any other plugin.

Import Categories, Posts and Comments

First, download the the post importer. Unzip the files in wp-content/plugins, then go to wordpress/installed plugins page, and activate the plugin. Then go to the Tools>Import page, and select Pixelpost. You should arrive to the importer setting page:

odyssey_pp2wp_screenshot

Once categories have been imported, the post are then imported. This may take a loooooong time. A percentage indicates where you’re at in the migration process. Once done, you can use the provided index.php file to keep the old links from pixelpost to wordpress. Note that the plugin needs to remain installed to work, and the table "$prefix + odyssey_pp2wp" should not be dropped. Provided the PixelPost and the WordPress are installed on the same host, you can set up an “index.php” where PixelPost was installed:

get_pp2wp_wp_post_id($pp_post_id);
    $link = get_permalink( $wp_post_id );
} else if( isset( $_GET['x'] ) ) {
    switch($_GET['x']) {
        case 'rss':
            $link = get_bloginfo('rss2_url');
            break;
        case 'browse': // todo one dayƓ
            break;
    }
}

header( "Status: 301 Moved Permanently", false, 301 );
header( "Location: " . $link );
exit();

Import Rates

If you used a rating plugin like ajax photo ratings plugin in pixelpost, and would like to use an equivalent plugin such as wp-postratings in wordpress, I have what you need too! Once you installed the post ratings plugin, go to the Tools>Import page, and select Pixelpost ajax ratings. The same settings as the pixelpost importer should be set, and click on import. It should again take a long time.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

8 comments

  1. I updated my old blog post about this to link to your solution. Thanks for providing an updated solution for this, I haven’t messed with this stuff in at least 3 years.

    Andrew

  2. Nice weblog right here! Additionally your website lots up fast!

    What host are you using? Can I get your affiliate hyperlink in your host?
    I want my site loaded up as fast as yours lol

  3. Hi! This is kind of off topic but I need some
    guidance from an established blog. Is it tough to set up your own blog?
    I’m not very techincal but I can figure things out pretty fast.
    I’m thinking about creating my own but I’m not
    sure where to start. Do you have any tips or suggestions?

    Appreciate it

  4. An intriguing discussion is worth comment.
    There’s no doubt that that you need to publish more about
    this subject, it may not be a taboo subject but generally people do not talk about these
    issues. To the next! Best wishes!!

Leave a comment

Your email address will not be published.