Changeset 299
- Timestamp:
- 08/07/2003 08:58:27 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blogger-2-wp.php
r212 r299 62 62 $post_content = $postinfo[2]; 63 63 $post_number = $postinfo[3]; 64 $post_title = $postinfo[4]; 64 65 65 66 $post_author = trim(addslashes($postinfo[1])); … … 127 128 $post_content = str_replace('<br>', '<br />', $post_content); // the XHTML touch... ;) 128 129 129 $post_title = '';130 131 130 $result = $wpdb->query(" 132 131 INSERT INTO $tableposts … … 192 191 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 /> 193 192 Go to the Templates. Replace your existing template with this line (copy and paste): 194 <blockquote><Blogger><cafelogpost><$BlogItemDateTime$>|||<$BlogItemAuthorNickname$>|||<$BlogItemBody$>|||<$BlogItemNumber$> </Blogger></blockquote>193 <blockquote><Blogger><cafelogpost><$BlogItemDateTime$>|||<$BlogItemAuthorNickname$>|||<$BlogItemBody$>|||<$BlogItemNumber$>|||<$BlogItemSubject$></Blogger></blockquote> 195 194 Go to the Archives, and click 'republish all'.<br /> 196 195 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>
Note: See TracChangeset
for help on using the changeset viewer.