<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WP plugin: 最近の投稿リストを表示 - Customizable Post Listings</title>
	<atom:link href="http://bono.s201.xrea.com/2006/03/24-c_post_listings/feed/" rel="self" type="application/rss+xml" />
	<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/</link>
	<description>薔薇の栽培記録・ベランダ園芸・沖縄・写真・自転車・総合リンク集。WP 2.6.1 調整中ですー。</description>
	<pubDate>Tue, 07 Oct 2008 03:24:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Myblog</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-84362</link>
		<dc:creator>Myblog</dc:creator>
		<pubDate>Fri, 29 Aug 2008 04:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-84362</guid>
		<description>&lt;strong&gt;プラグインcustomizable-post-listings の日本語版...&lt;/strong&gt;

CPLのオプションとヘルプの部分を日本語訳すると共に、プログラムの一部を改良してCPL日本語版を作成してみました．興味のある方は使用してみてください。


CPL日本語版における変更点...</description>
		<content:encoded><![CDATA[<p><strong>プラグインcustomizable-post-listings の日本語版&#8230;</strong></p>
<p>CPLのオプションとヘルプの部分を日本語訳すると共に、プログラムの一部を改良してCPL日本語版を作成してみました．興味のある方は使用してみてください。</p>
<p>CPL日本語版における変更点&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-59709</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Mon, 31 Mar 2008 22:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-59709</guid>
		<description>過去の投稿一覧（すべての記事）を表示する記述方法をしりたいです。</description>
		<content:encoded><![CDATA[<p>過去の投稿一覧（すべての記事）を表示する記述方法をしりたいです。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 使用している WordPress Plugin : 独断と偏見の何でもレビュー</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-59626</link>
		<dc:creator>使用している WordPress Plugin : 独断と偏見の何でもレビュー</dc:creator>
		<pubDate>Mon, 31 Mar 2008 04:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-59626</guid>
		<description>[...] Post Listings(日本語情報) [...]</description>
		<content:encoded><![CDATA[<p>[...] Post Listings(日本語情報) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peacock union【Web Designing Laboratory】</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-18443</link>
		<dc:creator>peacock union【Web Designing Laboratory】</dc:creator>
		<pubDate>Mon, 21 May 2007 06:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-18443</guid>
		<description>&lt;strong&gt;WordPress:Customizable Post Li...&lt;/strong&gt;

以前のエントリーで紹介したCustomizable Post Listings を、WordPress 2.1.3で使ってみたところ、最新ポスト一覧にpagesまで拾っ&lt;a href="http://www.peacock-union.com/archives/66" rel="nofollow" rel="nofollow"&gt; (more...)&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><strong>WordPress:Customizable Post Li&#8230;</strong></p>
<p>以前のエントリーで紹介したCustomizable Post Listings を、WordPress 2.1.3で使ってみたところ、最新ポスト一覧にpagesまで拾っ<a href="http://www.peacock-union.com/archives/66" rel="nofollow" rel="nofollow"> (more&#8230;)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Consultant's Story - Life Hacks - by Zero Cool</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-6996</link>
		<dc:creator>Consultant's Story - Life Hacks - by Zero Cool</dc:creator>
		<pubDate>Wed, 10 Jan 2007 17:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-6996</guid>
		<description>&lt;strong&gt;更新記事リスト完成！...&lt;/strong&gt;

以前から課題だった「ブログの投稿記事の改訂、追記に関して」を解決しました！
「power source*」を主催されている &#8220;ぼの&#8221; さんに質問&lt;a href="http://www.zerocool-jp.net/?p=72" rel="nofollow"&gt; (more...)&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><strong>更新記事リスト完成！&#8230;</strong></p>
<p>以前から課題だった「ブログの投稿記事の改訂、追記に関して」を解決しました！<br />
「power source*」を主催されている &#8220;ぼの&#8221; さんに質問<a href="http://www.zerocool-jp.net/?p=72" rel="nofollow"> (more&#8230;)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ぼの</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-5526</link>
		<dc:creator>ぼの</dc:creator>
		<pubDate>Tue, 19 Dec 2006 17:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-5526</guid>
		<description>goxuさん、そうでしたか。 :-)

あと、先日のトラックバック、こちらのコメント欄の下まで読まないと意味の分からないものをお送りしちゃって、ごめんなさいー。(&gt;_&lt;) 抜粋オプションにメッセージを書き込んで送信するつもりだったのですけれども、失敗してしまって。。。
できれば削除してやってくださいー。よろしくお願いします。</description>
		<content:encoded><![CDATA[<p>goxuさん、そうでしたか。 <img src='http://bono.s201.xrea.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>あと、先日のトラックバック、こちらのコメント欄の下まで読まないと意味の分からないものをお送りしちゃって、ごめんなさいー。(>_<) 抜粋オプションにメッセージを書き込んで送信するつもりだったのですけれども、失敗してしまって。。。<br />
できれば削除してやってくださいー。よろしくお願いします。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: goxu@ぱそずき　:D)‐く</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-4709</link>
		<dc:creator>goxu@ぱそずき　:D)‐く</dc:creator>
		<pubDate>Fri, 15 Dec 2006 00:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-4709</guid>
		<description>あ。完全に $excerpt_words = 6; について言及するのを忘れていました。:) ご指摘ありがとうございます。こちらの記事に修正を加えました。</description>
		<content:encoded><![CDATA[<p>あ。完全に $excerpt_words = 6; について言及するのを忘れていました。:) ご指摘ありがとうございます。こちらの記事に修正を加えました。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ぼの</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-4606</link>
		<dc:creator>ぼの</dc:creator>
		<pubDate>Thu, 14 Dec 2006 16:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-4606</guid>
		<description>ぱそずき　:D)‐く さん、はじめまして。トラックバックありがとうございます。
ちょっと長くなりますが、抜粋処理について補足を書いておきますね。

&lt;em&gt;%post_excerpt_short%（独自の抜粋）について：&lt;/em&gt;

&lt;blockquote&gt;customizable-post-listings.php　ないの244行目を編集します。
&lt;code&gt;if (strlen($new)&#62; $excerpt_length) $new = substr($new,0,$excerpt_length) . "...";&lt;/code&gt;
の substr を mb_substr に変更するだけです。&lt;/blockquote&gt;
（&lt;code&gt;strlen&lt;/code&gt; → &lt;code&gt;mb_strlen&lt;/code&gt; もかな？）

デフォルトではこの行を通らないかと思います。
ここは 238行目付近から処理が繋がっていて、途中で2つに分岐します。

&lt;pre class="code"&gt;&lt;code&gt;case ‘%post_excerpt_short%’:
    $new = ltrim(strip_tags(apply_filters('the_excerpt', get_the_excerpt())));
    if ($excerpt_words) {
        &lt;em&gt;処理A&lt;/em&gt; $excerpt_words でカット（スペース区切りで6語（デフォルト））
    } elseif ($excerpt_length) {
        &lt;em&gt;処理B&lt;/em&gt; $excerpt_length でカット（ぱそずきさんが修正された行）
    }&lt;/code&gt;&lt;/pre&gt;

デフォルトでは $excerpt_words=6 なので、処理A に行きます。

147行目付近（↓）にて、処理の切り替え（と文字数設定）が可能です。
&lt;pre class="code"&gt;&lt;code&gt;//-- Some things you might want to configure -----
$excerpt_words = 6;	// Number of words to use for %post_excerpt_short%
$excerpt_length = 50; 	// Number of characters to use for %post_excerpt_short%, only used if $excerpt_words is 0&lt;/code&gt;&lt;/pre&gt;

&lt;q&gt;抜粋される文字数がでたらめになりうまくいきません。&lt;/q&gt;
&lt;q&gt;デフォルトでは日本語の文字数を認識してくれず表示が乱れます。&lt;/q&gt;
というのは、抜粋が長すぎたとかでしょうか？
処理Aはスペース区切りで単語数を判断しているので、これがらみかもです。

そうではなくて、文字数が短すぎたり末尾が「?」とかの変な文字になったのでしたら、strlen, substr っぽいですが、&lt;code&gt;$excerpt_words&lt;/code&gt; も修正されたでしょうか？

&lt;em&gt;WP本体の the_excerpt() の文字数問題について：&lt;/em&gt;

jamさんの「アジア圏テキスト対応パッチ」がオススメです。 :-)
参照： &lt;a href="http://bono.s201.xrea.com/2006/09/248-excerpt_jampatch/" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow"&gt;WP: 抜粋表示時の全文出力を修正&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>ぱそずき　:D)‐く さん、はじめまして。トラックバックありがとうございます。<br />
ちょっと長くなりますが、抜粋処理について補足を書いておきますね。</p>
<p><em>%post_excerpt_short%（独自の抜粋）について：</em></p>
<blockquote><p>customizable-post-listings.php　ないの244行目を編集します。<br />
<code>if (strlen($new)&gt; $excerpt_length) $new = substr($new,0,$excerpt_length) . "...";</code><br />
の substr を mb_substr に変更するだけです。</p></blockquote>
<p>（<code>strlen</code> → <code>mb_strlen</code> もかな？）</p>
<p>デフォルトではこの行を通らないかと思います。<br />
ここは 238行目付近から処理が繋がっていて、途中で2つに分岐します。</p>
<pre class="code"><code>case ‘%post_excerpt_short%’:
    $new = ltrim(strip_tags(apply_filters('the_excerpt', get_the_excerpt())));
    if ($excerpt_words) {
        <em>処理A</em> $excerpt_words でカット（スペース区切りで6語（デフォルト））
    } elseif ($excerpt_length) {
        <em>処理B</em> $excerpt_length でカット（ぱそずきさんが修正された行）
    }</code></pre>
<p>デフォルトでは $excerpt_words=6 なので、処理A に行きます。</p>
<p>147行目付近（↓）にて、処理の切り替え（と文字数設定）が可能です。</p>
<pre class="code"><code>//-- Some things you might want to configure -----
$excerpt_words = 6;	// Number of words to use for %post_excerpt_short%
$excerpt_length = 50; 	// Number of characters to use for %post_excerpt_short%, only used if $excerpt_words is 0</code></pre>
<p><q>抜粋される文字数がでたらめになりうまくいきません。</q><br />
<q>デフォルトでは日本語の文字数を認識してくれず表示が乱れます。</q><br />
というのは、抜粋が長すぎたとかでしょうか？<br />
処理Aはスペース区切りで単語数を判断しているので、これがらみかもです。</p>
<p>そうではなくて、文字数が短すぎたり末尾が「?」とかの変な文字になったのでしたら、strlen, substr っぽいですが、<code>$excerpt_words</code> も修正されたでしょうか？</p>
<p><em>WP本体の the_excerpt() の文字数問題について：</em></p>
<p>jamさんの「アジア圏テキスト対応パッチ」がオススメです。 <img src='http://bono.s201.xrea.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
参照： <a href="http://bono.s201.xrea.com/2006/09/248-excerpt_jampatch/" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow" rel="nofollow">WP: 抜粋表示時の全文出力を修正</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ぱそずき　:D)‐く</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-4553</link>
		<dc:creator>ぱそずき　:D)‐く</dc:creator>
		<pubDate>Wed, 13 Dec 2006 23:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-4553</guid>
		<description>&lt;strong&gt;[WordPress][Plugins] Customiza...&lt;/strong&gt;

Customizable Post Listings　プラグインはアーカイブをリストさせたり、好きなところにカテゴリー別にタイトルを表示させたりできて便利です。このプラ&lt;a href="http://dowonders.net/pz/archives/122" rel="nofollow"&gt; (more...)&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><strong>[WordPress][Plugins] Customiza&#8230;</strong></p>
<p>Customizable Post Listings　プラグインはアーカイブをリストさせたり、好きなところにカテゴリー別にタイトルを表示させたりできて便利です。このプラ<a href="http://dowonders.net/pz/archives/122" rel="nofollow"> (more&#8230;)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ぼの</title>
		<link>http://bono.s201.xrea.com/2006/03/24-c_post_listings/#comment-1390</link>
		<dc:creator>ぼの</dc:creator>
		<pubDate>Tue, 24 Oct 2006 15:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://bono.s201.xrea.com/wordpress/2006/03/22/customizable_post_listings/#comment-1390</guid>
		<description>ああっ、ゆゆさぁーん！ほんとに遅くなってごめんなさいでした。上手くいきますように。 :-)
（私のコードを載せていいものか、今ちょうど悩んでいて。。。すぱっと載せてなくてすみません～～。。(;_;)）</description>
		<content:encoded><![CDATA[<p>ああっ、ゆゆさぁーん！ほんとに遅くなってごめんなさいでした。上手くいきますように。 <img src='http://bono.s201.xrea.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
（私のコードを載せていいものか、今ちょうど悩んでいて。。。すぱっと載せてなくてすみません～～。。(;_;)）</p>
]]></content:encoded>
	</item>
</channel>
</rss>
