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)

4 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. Oh my goodness! Impressive article dude! Thank you so much, However I am experiencing troubles with your RSS.
    I don’t know the reason why I am unable to join it. Is there anybody getting identical RSS issues?
    Anyone who knows the answer can you kindly respond?
    Thanx!!

  4. It is really a great and useful piece of information. I am happy
    that you simply shared this useful info with us.
    Please keep us up to date like this. Thanks for sharing.

  5. Thanks , I have recently been looking for information approximately
    this topic for a while and yours is the best
    I’ve discovered so far. However, what in regards to the conclusion? Are you positive about the supply?

  6. Currently it seems like BlogEngine is the top blogging platform available right now.

    (from what I’ve read) Is that what you are using on your blog?

  7. Hello, yup this article is truly pleasant and I have learned lot of things
    from it concerning blogging. thanks.

  8. If you would like to take much from this post then you have to apply
    such methods to your won website.

  9. What’s up colleagues, pleasant post and good urging commented at this place, I am truly enjoying by these.

  10. It’s an amazing piece of writing in favor of all the web people; they will get benefit from it I am sure.

  11. Having read this I thought it was rather enlightening.
    I appreciate you taking the time and effort
    to put this informative article together. I once again find myself
    personally spending way too much time both reading and leaving comments.
    But so what, it was still worthwhile!

  12. What’s up, of course this piece of writing is truly good and I have learned lot of things from
    it regarding blogging. thanks.

Leave a comment

Your email address will not be published.