Make WordPress Core


Ignore:
Timestamp:
05/16/2004 05:04:09 AM (21 years ago)
Author:
rboren
Message:

Change b2 and cafelog references to WordPress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import-blogger.php

    r1108 r1285  
    4040        $bgmm = zeroise($bgm,2);
    4141   
    42         $archivefile = "../$bgy"."_"."$bgmm"."_01_cafelog.php";
     42        $archivefile = "../$bgy"."_"."$bgmm"."_01_wordpress.php";
    4343       
    4444        if (file_exists($archivefile)) {
     
    4949            echo "<li>$bgy/$bgmm ";
    5050
    51             $posts = explode('<cafelogpost>', $archive);
     51            $posts = explode('<wordpresspost>', $archive);
    5252
    5353            for ($i = 1; $i < (count($posts)+1); $i = $i + 1) {
     
    7373                $pass1 = addslashes('password');
    7474                $user_nickname = addslashes($post_author);
    75                 $user_email = addslashes('user@cafelog.com');
     75                $user_email = addslashes('user@wordpress.org');
    7676                $user_url = addslashes('');
    7777                $user_joindate = addslashes($user_joindate);
     
    198198<h3>Second step: let's play with Blogger</h3>
    199199<p>Log into your Blogger account.<br />
    200 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'.<br />
     200Go 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'.<br />
    201201Go to the Templates. Replace your existing template with this line (copy and paste):
    202 <blockquote>&lt;Blogger>&lt;cafelogpost>&lt;$BlogItemDateTime$>|||&lt;$BlogItemAuthorNickname$>|||&lt;$BlogItemBody$>|||&lt;$BlogItemNumber$>|||&lt;$BlogItemSubject$>&lt;/Blogger></blockquote>
     202<blockquote>&lt;Blogger>&lt;wordpresspost>&lt;$BlogItemDateTime$>|||&lt;$BlogItemAuthorNickname$>|||&lt;$BlogItemBody$>|||&lt;$BlogItemNumber$>|||&lt;$BlogItemSubject$>&lt;/Blogger></blockquote>
    203203Go to the Archives, and click 'republish all'.<br />
    204 Check in your FTP that you've got the archive files published. They should look like this example: <code>2001_10_01_cafelog.php</code>. If they aren't there, redo the republish process.</p>
     204Check in your FTP that you've got the archive files published. They should look like this example: <code>2001_10_01_wordpress.php</code>. If they aren't there, redo the republish process.</p>
    205205<p>You're done with the hard part. :)</p>
    206206
Note: See TracChangeset for help on using the changeset viewer.