Make WordPress Core

Changeset 299


Ignore:
Timestamp:
08/07/2003 08:58:27 PM (22 years ago)
Author:
saxmatt
Message:

Support for titles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blogger-2-wp.php

    r212 r299  
    6262            $post_content = $postinfo[2];
    6363            $post_number = $postinfo[3];
     64            $post_title = $postinfo[4];
    6465
    6566            $post_author = trim(addslashes($postinfo[1]));
     
    127128            $post_content = str_replace('<br>', '<br />', $post_content); // the XHTML touch... ;)
    128129
    129             $post_title = '';
    130 
    131130            $result = $wpdb->query("
    132131            INSERT INTO $tableposts
     
    192191Go 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 />
    193192Go to the Templates. Replace your existing template with this line (copy and paste):
    194 <blockquote>&lt;Blogger>&lt;cafelogpost>&lt;$BlogItemDateTime$>|||&lt;$BlogItemAuthorNickname$>|||&lt;$BlogItemBody$>|||&lt;$BlogItemNumber$>&lt;/Blogger></blockquote>
     193<blockquote>&lt;Blogger>&lt;cafelogpost>&lt;$BlogItemDateTime$>|||&lt;$BlogItemAuthorNickname$>|||&lt;$BlogItemBody$>|||&lt;$BlogItemNumber$>|||&lt;$BlogItemSubject$>&lt;/Blogger></blockquote>
    195194Go to the Archives, and click 'republish all'.<br />
    196195Check 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>
Note: See TracChangeset for help on using the changeset viewer.