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)

5 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. Hi,
    Using your plugin (Pixelpost 1.7.3 and WordPress 4.7.2 but nothing happen when click on “import categories”.
    Can you please help me?
    Thanks!
    PS: I’m using wordpress on a localhost (MAMP)…

  3. It’s a shame ʏߋu ɗon’t hаve ɑ donate button! I’d withoսt ɑ doubt donate to tһis superb blog!

    I suppose fоr now i’ll settle for bookmarking аnd adding your RSS feed to mʏ Google account.
    I look forward to brand new updates аnd wіll talk ɑbout this blog witһ my Facebook gr᧐up.
    Talk ѕoon!

  4. Excellent article! We are linking to this great post on our website.

    Keep up the great writing.

  5. An impressive share! I have just forwarded this onto a co-worker who has been doing a little homework
    on this. And he actually bought me lunch simply because I
    found it for him… lol. So allow me to reword this….
    Thank YOU for the meal!! But yeah, thanx for spending time
    to talk about this matter here on your site.

  6. Hi to every body, it’s my first pay a quick visit of this
    website; this web site carries remarkable and truly good stuff
    in support of visitors.

  7. Hi colleagues, pleasant paragraph and pleasant arguments commented here, I am truly
    enjoying by these.

  8. Along with growing the Facebook fa page for business purpose for
    example introducing, or even marketing, there are a whole lot
    benefits there. This iss a thing that social medka markeing can readily afford a tiny business.
    Business people make usee oof his spacce to promoting their goods and services.

  9. Hi to every one, because I am in fact eager of reading this blog’s post to be updated on a regular
    basis. It carries good stuff.

  10. Excellent post. I was checking continuously this blog and I am impressed!
    Very useful information particularly the ultimate section 🙂 I take care of
    such info much. I was looking for this particular information for a very lengthy time.
    Thank you and best of luck.

Leave a comment

Your email address will not be published.