*** X:\TEMP\publishToMixi\publishToMixi.php Fri Sep 12 19:14:42 2008 --- D:\ermitejo\kromprogramo\publishToMixi.php Mon Sep 15 10:09:01 2008 *************** *** 1,11 **** post_title; // Entry content. $extractor = new P2M_JpegExtractor(); $images = $extractor->extract($post->post_content); // Take off all the html tags from the post since tags don't work in mixi post. $content = strip_tags($post->post_content); // Convert the encoding from utf-8 to euc-jp. // Mixi is based on euc-jp encoding. --- 97,115 ---- } // Entry title. ! $title = $title_prefix . $post->post_title . $title_suffix; // Entry content. $extractor = new P2M_JpegExtractor(); $images = $extractor->extract($post->post_content); // Take off all the html tags from the post since tags don't work in mixi post. $content = strip_tags($post->post_content); + if ($quote_prefix || $quote_suffix) { + $content = $quote_prefix + . get_permalink($post->ID) + . $quote_suffix + . $content; + } // Convert the encoding from utf-8 to euc-jp. // Mixi is based on euc-jp encoding.