diff --git a/blogger-2-wp.php b/blogger-2-wp.php index fd00b41b25..0f97540f07 100644 --- a/blogger-2-wp.php +++ b/blogger-2-wp.php @@ -61,6 +61,7 @@ case "step1": $post_date = $postinfo[0]; $post_content = $postinfo[2]; $post_number = $postinfo[3]; + $post_title = $postinfo[4]; $post_author = trim(addslashes($postinfo[1])); // we'll check the author is registered already @@ -126,8 +127,6 @@ case "step1": $post_content = addslashes($post_content); $post_content = str_replace('
', '
', $post_content); // the XHTML touch... ;) - $post_title = ''; - $result = $wpdb->query(" INSERT INTO $tableposts (ID, post_author,post_date,post_content,post_title,post_category) @@ -191,7 +190,7 @@ default:

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 Templates. Replace your existing template with this line (copy and paste): -

<Blogger><cafelogpost><$BlogItemDateTime$>|||<$BlogItemAuthorNickname$>|||<$BlogItemBody$>|||<$BlogItemNumber$></Blogger>
+
<Blogger><cafelogpost><$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.

You're done with the hard part. :)