diff --git a/wp-admin/import-blogger.php b/wp-admin/import-blogger.php index 3bb282d4d3..28e3d27791 100644 --- a/wp-admin/import-blogger.php +++ b/wp-admin/import-blogger.php @@ -39,7 +39,7 @@ case "step1": $bgmm = zeroise($bgm,2); - $archivefile = "../$bgy"."_"."$bgmm"."_01_cafelog.php"; + $archivefile = "../$bgy"."_"."$bgmm"."_01_wordpress.php"; if (file_exists($archivefile)) { @@ -48,7 +48,7 @@ case "step1": fclose($f); echo "
  • $bgy/$bgmm "; - $posts = explode('', $archive); + $posts = explode('', $archive); for ($i = 1; $i < (count($posts)+1); $i = $i + 1) { @@ -72,7 +72,7 @@ case "step1": $user_login = addslashes($post_author); $pass1 = addslashes('password'); $user_nickname = addslashes($post_author); - $user_email = addslashes('user@cafelog.com'); + $user_email = addslashes('user@wordpress.org'); $user_url = addslashes(''); $user_joindate = addslashes($user_joindate); $result = $wpdb->query(" @@ -197,11 +197,11 @@ default:

    Second step: let's play with Blogger

    Log into your Blogger account.
    -Go to the Settings, and make Blogger publish your files in the directory where your b2 resides. Change the Date/Time format to be mm/dd/yyyy hh:mm:ss AM/PM (the first choice in the dropdown menu). In Archives: set the frequency to 'monthly' and the archive filename to 'cafelog.php' (without the quotes), set the ftp archive path to make Blogger publish the archives in your b2 directory. Click 'save changes'.
    +Go to the Settings, and make Blogger publish your files in the directory where your WordPress resides. Change the Date/Time format to be mm/dd/yyyy hh:mm:ss AM/PM (the first choice in the dropdown menu). In Archives: set the frequency to 'monthly' and the archive filename to 'wordpress.php' (without the quotes), set the ftp archive path to make Blogger publish the archives in your WordPress directory. Click 'save changes'.
    Go to the Templates. Replace your existing template with this line (copy and paste): -

    <Blogger><cafelogpost><$BlogItemDateTime$>|||<$BlogItemAuthorNickname$>|||<$BlogItemBody$>|||<$BlogItemNumber$>|||<$BlogItemSubject$></Blogger>
    +
    <Blogger><wordpresspost><$BlogItemDateTime$>|||<$BlogItemAuthorNickname$>|||<$BlogItemBody$>|||<$BlogItemNumber$>|||<$BlogItemSubject$></Blogger>
    Go to the Archives, and click 'republish all'.
    -Check in your FTP that you've got the archive files published. They should look like this example: 2001_10_01_cafelog.php. If they aren't there, redo the republish process.

    +Check in your FTP that you've got the archive files published. They should look like this example: 2001_10_01_wordpress.php. If they aren't there, redo the republish process.

    You're done with the hard part. :)

    @@ -219,4 +219,4 @@ imported. DO NOT STOP IT or else you won't have a complete import.

    } -?> \ No newline at end of file +?>