Pixelpost Importer

Description

Set up your PixelPost database info, and let it work for a while. It’ll import categories, posts and comments. It leaves a new table in the database, used by the provided index.php (see FAQ) to keep the old link alive, by redirecting them to the new uri.

Imported posts are imported as posts with an “image” format in wordpress, the image attached to the imported post. A “more” separator is inserted between the image and the post content.

Screenshots

  • Admin - Set up the PixelPost database information

FAQ

What exactly are imported ?

Categories, Posts, and Comments. Tags are not supported in this version.

How can I keep my old PixelPost links?

Here is a small hack-ish redirection script, to set where PixelPost’s index.php was. Note that this works only if PixelPost and WordPress are installed on the same host. Simply create index.php and copy/paste the following script:

<?php

define('WORDPRESS_LOAD', /* insert here the path to wordpress's wp-load.php */);

if( ! isset($wp_did_header) ) {
    $wp_did_header = true;
    require_once( WORDPRESS_LOAD );
    wp();
}


$link = home_url('/');

if( isset( $_GET['showimage']) && class_exists('PP_Importer') ) {
    $pp_post_id = intval( $_GET['showimage'] );
    $pp_importer = new PP_Importer();
    $wp_post_id = $pp_importer->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();

Reviews

works for me

brighton beach

@edenlong
You are not.

I am transferring my Pixelpost database to WordPress today. Working fine so far; rather slow though, because I have more than 2000 images.

Thank you very much, Pierre. Your plugin is much appreciated.

Now I will have to find a WP theme, that is similar to my PP template and enables me to show only one image per page. This will be a challenge...

Doesnt work for me

edenlong

Hello 🙂

I guess I am one of the last ones to try to export my pixelpost to wordpress haha !

It doesnt seem to work : after I click on import categories, nothing happens at all. Would you mind telling me if there is something to do ?

Read all 3 reviews

Changelog

0.1.2

  • fix ratings importer

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code