<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>WordPress備忘ログ</title>
	<atom:link href="http://blog.1ch.jp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.1ch.jp</link>
	<description>WordPressやらMUやらWeb制作やら、たまに京都やら、の備忘録。</description>
	<pubDate>Tue, 13 Jul 2010 11:39:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mac OS X環境移行</title>
		<link>http://blog.1ch.jp/mac/macosx-restore/</link>
		<comments>http://blog.1ch.jp/mac/macosx-restore/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 05:36:23 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=228</guid>
		<description><![CDATA[macのハードディスクがクラッシュしたので、
バックアップデータから手動で環境の再構築するためのメモ。

ディスクユーティリティでパーティションを分ける
Mac OS X用とデータ用のパーティションに分割
Mac OS  [...]]]></description>
			<content:encoded><![CDATA[<p>macのハードディスクがクラッシュしたので、<br />
バックアップデータから手動で環境の再構築するためのメモ。</p>
<ul>
<li>ディスクユーティリティでパーティションを分ける</li>
<p>Mac OS X用とデータ用のパーティションに分割</p>
<li>Mac OS Xをインスコ</li>
<p>カスタムインスコでプリンタドライブのみ外す</p>
<li>ソフトウエアアップデート</li>
<p>最新になるまで何度かアップデート、再起動を繰り返す（数回）</p>
<li>環境設定ファイルの移行</li>
<p>以下のデータをバックアップデータからコピー<br />
ユーザー＞（設定したユーザー名）＞ライブラリ＞Appliction Support、Dictionaries、FontCollection、iTunes、Keychains、mail、Preference（適宜）、Printers、Safari<br />
ライブラリ＞Appliction Support、Contextual Menu Items、Fonts、Imaige Capture（適宜）、Internet Plug-ins、Keychains、Startupitems（Sharity3）</p>
<li>アプリケーションとデータの移行</li>
<p>バックアップデータからまるまるコピー</p>
<li>DropBox設定</li>
<p>DropBoxをインスコ設定</p>
<li>システム環境等の設定</li>
<p>システム環境、Dock、Finder、FontBook、ことえりの設定。</p>
</ul>
<p>以上で、バックアップ前の環境再構築完了。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/mac/macosx-restore/feed/</wfw:commentRss>
		</item>
		<item>
		<title>カスタムフィールドの記事内での表示方法</title>
		<link>http://blog.1ch.jp/wordpress/get_post_meta/</link>
		<comments>http://blog.1ch.jp/wordpress/get_post_meta/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 09:32:22 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<category><![CDATA[テーマ]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=178</guid>
		<description><![CDATA[カスタムフィールドの基本的な使い方は、WordPress公式ドキュメントを参照
記事中に全てのカスタムフィールドのメタデータを表示する場合は、WordPressループ内に
を記述すれば、順不同リスト形式で表示できます。
 [...]]]></description>
			<content:encoded><![CDATA[<p>カスタムフィールドの基本的な使い方は、<a href="http://wpdocs.sourceforge.jp/%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%95%E3%82%A3%E3%83%BC%E3%83%AB%E3%83%89%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9">WordPress公式ドキュメント</a>を参照</p>
<p>記事中に全てのカスタムフィールドのメタデータを表示する場合は、WordPressループ内に</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">&lt;?php the_meta(); ?&gt;</pre>
<p>を記述すれば、順不同リスト形式で表示できます。</p>
<p>特定キーのメタデータのみを表示したい場合は get_post_meta() 関数を使い</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">&lt;?php echo get_post_meta($post-&gt;ID,&#039;公開希望日&#039;,TRUE); ?&gt;</pre>
<p>でループ内に表示できます。<br />
指定するキーは日本語もOKです。</p>
<p>ひとつのキーに対して、複数のメタデータがある場合、上述だと表示出来ないので、その方法を。<br />
$single が TRUE だと、一つ目のメタデータのみしか文字列で取得出来ないので、FALSEを指定するんですが、この場合配列で返ってきます。この配列要素を文字列で連結するため implode()関数を使います。但しメタデータが空の場合、エラーになるのでそれを回避。</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">&lt;?php
$stuff = get_post_meta($post-&gt;ID,&#039;担当&#039;,FALSE); // $stuff に キー「担当」のメタデータ配列を格納
if($stuff != &quot;&quot;){ // メタデータ配列が空でない場合
echo implode(&quot;,&quot;, $stuff); // カンマで連結して文字列表示　implode(&quot;区切り文字&quot;,配列)
}
?&gt;</pre>
<p>（PHPは詳しくないので分かりませんが、他にも近い関数があるようですし、もっとスマートな記述はあると思います）</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/get_post_meta/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Comment Notifier カスタマイズ</title>
		<link>http://blog.1ch.jp/wordpress/comment-notifier-custam/</link>
		<comments>http://blog.1ch.jp/wordpress/comment-notifier-custam/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 09:24:33 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=164</guid>
		<description><![CDATA[新規コメント（承認待ち、公開）時のメール通知プラグイン「Comment Notifier」のメール通知の内容をカスタマイズ。
新規コメント通知のメールフォーマットを
From：（コメント投稿者）（コメント投稿者E-mai [...]]]></description>
			<content:encoded><![CDATA[<p>新規コメント（承認待ち、公開）時のメール通知プラグイン「Comment Notifier」のメール通知の内容をカスタマイズ。</p>
<p>新規コメント通知のメールフォーマットを<br />
From：（コメント投稿者）（コメント投稿者E-mail）<br />
Subject：（ブログ名）返信：（記事タイトル）<br />
Body：（コメント投稿者）さんより<br />
　　　（記事タイトル）に返信がありました</p>
<p>　　　返信内容：（コメント内容）<br />
　　　返信内容を確認：（コメントURL）<br />
にしたいので、</p>
<p>comments-notifier.phpの232〜246行目</p>
<pre class="brush: php; first-line: 232; toolbar: false; auto-links: false;" style="margin:18px 0;">
$notify_message  = sprintf( __(&#039;New comment on your post #%1$s &quot;%2$s&quot;&#039;), $comment-&gt;comment_post_ID, $post-&gt;post_title ) . &quot;\r\n&quot;;
$notify_message .= sprintf( __(&#039;Author : %1$s (IP: %2$s , %3$s)&#039;), $comment-&gt;comment_author, $comment-&gt;comment_author_IP, $comment_author_domain ) . &quot;\r\n&quot;;
</pre>
<p>から</p>
<pre class="brush: php; first-line: 244; toolbar: false; auto-links: false;" style="margin:18px 0;">
$subject = apply_filters(&#039;comment_notification_subject&#039;, $subject, $comment_id);
$message_headers = &quot;MIME-Version: 1.0\n&quot;
. &quot;$from\n&quot;
</pre>
<p>までを</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">
$notify_message  = sprintf( __(&#039;%1$s さんより&#039;), $comment-&gt;comment_author ) . &quot;\r\n&quot;;
$notify_message .= sprintf( __(&#039;「%1$s」に返信がありました&#039;), $post-&gt;post_title ) . &quot;\r\n\r\n&quot;;
$notify_message .= __(&#039;返信内容：&#039;) . &quot;\r\n&quot; . $comment-&gt;comment_content . &quot;\r\n\r\n&quot;;
$notify_message .= __(&#039;返信内容を確認：&#039;) . &quot;\r\n&quot;;
$subject = sprintf( __(&#039;[%1$s] 返信：%2$s&#039;), $blogname, $post-&gt;post_title );
$notify_message .= get_permalink($comment-&gt;comment_post_ID) . &quot;#comments\r\n\r\n&quot;;
$notify_message = apply_filters(&#039;comment_notification_text&#039;, $notify_message, $comment_id);
$subject = apply_filters(&#039;comment_notification_subject&#039;, $subject, $comment_id);
$message_headers = &quot;MIME-Version: 1.0\n&quot;
. &quot;From: $comment-&gt;comment_author &lt;$comment-&gt;comment_author_email&gt; \n&quot;
</pre>
<p>に差し替え</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/comment-notifier-custam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress(MU) コメント通知のカスタマイズ</title>
		<link>http://blog.1ch.jp/wordpress/wordpress-comment-custam/</link>
		<comments>http://blog.1ch.jp/wordpress/wordpress-comment-custam/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 10:03:41 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=147</guid>
		<description><![CDATA[WordPress デフォルトのコメント通知は、投稿者のIPだのWhoisだの不要な情報が一杯付いてくるので（用途がクライアント様とのやりとりなので、極力シンプルにしたいので）不要な情報を削除。
本体/wp-includ [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress デフォルトのコメント通知は、投稿者のIPだのWhoisだの不要な情報が一杯付いてくるので（用途がクライアント様とのやりとりなので、極力シンプルにしたいので）不要な情報を削除。</p>
<p>本体/wp-includes/pluggable.php の954行目以降と1048行目以降の<br />
不要な情報をコメントアウト</p>
<p>私の場合はコメント情報のみでいいので</p>
<p>New comment on your post<br />
Author<br />
E-mail<br />
URL<br />
Whois<br />
Delete it<br />
Spam it<br />
をコメントアウト</p>
<p>ついでに、From: がコメント投稿者のメールアドレスになってないので989行目</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">$from = &quot;From: \&quot;$comment-&gt;comment_author\&quot; &lt;$wp_email&gt;&quot;;</pre>
<p>を</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">$from = &quot;From: \&quot;$comment-&gt;comment_author\&quot; &lt;$comment-&gt;comment_author_email&gt;&quot;;</pre>
<p>に変更</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/wordpress-comment-custam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick Comments (コメント投稿強化＆コメント通知)</title>
		<link>http://blog.1ch.jp/wordpress/quick-comments/</link>
		<comments>http://blog.1ch.jp/wordpress/quick-comments/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 13:15:14 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=148</guid>
		<description><![CDATA[Quick Comments (0.7.1) のカスタマイズメモ。
Quick Comments のコメント通知機能を使ってメール通知すると、From: の表記がどうも使えない表記になる。
デフォルトだと、From: サ [...]]]></description>
			<content:encoded><![CDATA[<p>Quick Comments (0.7.1) のカスタマイズメモ。</p>
<p>Quick Comments のコメント通知機能を使ってメール通知すると、From: の表記がどうも使えない表記になる。<br />
デフォルトだと、From: サイト名 サイトE-mail <サイト管理者E-mail> となる。（サイト名、サイトE-mailはコメント通知オプションで設定した情報）<br />
これでは通知が届いた人にわかりにくいので、From: コメント投稿者 <コメント投稿者E-mail> に変更。</p>
<p>Quick Comments プラグインフォルダの notify-comment-author.php の266行目</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">$headers = &quot;From: \&quot;{$this-&gt;options[&#039;site_name&#039;]}\&quot; {$this-&gt;options[&#039;site_email&#039;]}\n&quot;</pre>
<p>を</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">$headers = &quot;From: \&quot;{$comment-&gt;comment_author}\&quot; &lt;{$comment-&gt;comment_author_email}&gt;\n&quot;</pre>
<p>に変更。</p>
<p>これで誰からのコメント投稿か、ヘッダー情報だけ分かるようになる。</p>
<p>あとコメント通知を受け取るには、コメント通知のオプション設定で「サイト管理者のメールアドレス」が必須で、これが入力されてないと、コメント投稿画面にコメント通知を受け取るためのチェックボックスが表示されないので要チェック。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/quick-comments/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subscribe2 カスタマイズ</title>
		<link>http://blog.1ch.jp/wordpress/subscribe2-custam/</link>
		<comments>http://blog.1ch.jp/wordpress/subscribe2-custam/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 03:25:46 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=134</guid>
		<description><![CDATA[
Reply-To の修正
通知されるメールの「Reply-To」の表記が不明な形式になるので
310行目と609行目の
の１行をコメントアウト。
（4.15時点でまだ未解決）
各ユーザー毎の購読設定画面を修正
4.15 [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Reply-To の修正</li>
<p>通知されるメールの「Reply-To」の表記が不明な形式になるので<br />
310行目と609行目の</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">$headers .= &quot;Reply-To</pre>
<p>の１行をコメントアウト。<br />
（4.15時点でまだ未解決）</p>
<li>各ユーザー毎の購読設定画面を修正</li>
<p>4.15にバージョンアップして追加された機能に、各ユーザー毎の購読設定画面に、MUの場合、他のブログの購読登録も簡単に出来るようリストが表示されるようになったんですが、どうも権限のないブログも表示されるようなので、そのリストを削除。</p>
<p>subscribe2.php 本体の2124行目〜2191行目をコメントアウト。</p>
<pre class="brush: php; first-line: 2124; toolbar: false; auto-links: false;" style="margin:18px 0;">		// list of subscribed blogs on wordpress mu
		if  ($s2_mu) {
			global $blog_id;</pre>
<p>から</p>
<pre class="brush: php; first-line: 2189; toolbar: false; auto-links: false;" style="margin:18px 0;">				echo &quot;&lt;/ul&gt;\r\n&quot;;
			}
		}</pre>
<p>まで</p>
<li>Subscribe2 Notification Overrideを修正</li>
<p>（<ins datetime="2009-04-07T02:44:46+00:00">4.14で解決済みなのでカスタマイズの必要無し</ins>）<br />
Subscribe2 をインストールすると記事登録画面に「Subscribe2 Notification Override」という、記事単体でメール通知をするかどうかを設定できる機能が追加される。<br />
この機能がカスタムフィールドに「s2mail」というメタ情報を勝手に登録するので、<code><?php the_meta(); ?></code>を使ってメタ情報一覧を表示する場合、「s2mail」が表示されてしまう。<br />
これが不要なので、削除する方法。</p>
<p>subscribe2.php 本体の159行目〜165行目をコメントアウト。</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">//		if (function_exists(&#039;add_meta_box&#039;)) {
//			add_meta_box(&#039;subscribe2&#039;, __( &#039;Subscribe2 Notification Override&#039;, &#039;subscribe2&#039; ), array(&amp;$this, &#039;s2_meta_box&#039;), &#039;post&#039;, &#039;advanced&#039;);
//			add_meta_box(&#039;subscribe2&#039;, __( &#039;Subscribe2 Notification Override&#039;, &#039;subscribe2&#039; ), array(&amp;$this, &#039;s2_meta_box&#039;), &#039;page&#039;, &#039;advanced&#039;);
//		} else {
//			add_action(&#039;dbx_post_advanced&#039;, array(&amp;$this, &#039;s2_meta_box_old&#039;));
//			add_action(&#039;dbx_page_advanced&#039;, array(&amp;$this, &#039;s2_meta_box_old&#039;));
//		}</pre>
<p>記事単体でメール通知をoffにする機能は使えなくなるが、メタ情報はこれで解決。
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/subscribe2-custam/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XREA で WordPress アップロード機能を使う</title>
		<link>http://blog.1ch.jp/wordpress/xrea-wordpress-upload/</link>
		<comments>http://blog.1ch.jp/wordpress/xrea-wordpress-upload/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 11:15:44 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=91</guid>
		<description><![CDATA[XREA では PHP がモジュール版・セーフモード（SAFE MODE）環境で動くようになっているので、WordPress から自動生成されるディレクトリとファイルの所有者が「apache」になってしまい、以降そのディ [...]]]></description>
			<content:encoded><![CDATA[<p>XREA では PHP がモジュール版・セーフモード（SAFE MODE）環境で動くようになっているので、WordPress から自動生成されるディレクトリとファイルの所有者が「apache」になってしまい、以降そのディレクトリに WordPress から書き込みできなくなる。<br />
それが原因でファイルアップロード機能やプラグインの自動アップグレード機能、本体のアップグレード機能が使えなかったりする。<br />
解決方法はいくつも参考サイトがあるのでgoogle先生にお任せするとして、自分用にメモ。</p>
<p>手動でディレクトリを作成する方法もあるが、簡単な「PHP を CGI モードで動かす」方法で実行。以下は WordPress 2.5 以降の方法。（特に指定するファイル名）</p>
<ol>
<li>アップロードディレクトリの設定</li>
<p>管理パネル＞設定＞その他の設定、アップロードするファイルの保存場所を「wp-content/uploads」に設定。<br />
「アップロードしたファイルを年月ベースのフォルダに整理」は適宜。（アップロードするファイル数が多くなる場合はチェックしておいたほうがいい）</p>
<li>PHP を CGI モードで動かす</li>
<p>wp-admin/ ディレクトリに.htaccess ファイルを作成し、次の1行を追加。</p>
<pre class="brush: xml; auto-links: false; light: true;" style="margin:18px 0;">
AddHandler application/x-httpd-phpcgi .php
</pre>
<p>ただ、これだと wp-admin/ 以下全ての PHP が CGI モードになり動作が遅くなる可能性があるので、上記1行の代わりに、アップロードに関わるファイルのみ指定したコードを追加。</p>
<pre class="brush: xml; auto-links: false; light: true;" style="margin:18px 0;">
&lt;files async-upload.php&gt;
AddHandler application/x-httpd-phpcgi .php
&lt;/files&gt;
</pre>
<p>ファイルアップロードだけなら、async-upload.php のみの指定でOK。<br />
#!/usr/local/bin/php の追加やパーミッションの変更は不要。</p>
<p>あとプラグインの自動アップグレードも使う場合は、上記に続けて</p>
<pre class="brush: xml; auto-links: false; light: true;" style="margin:18px 0;">
&lt;files update.php&gt;
AddHandler application/x-httpd-phpcgi .php
&lt;/files&gt;
</pre>
<p>も追加する。<br />
更に、プラグイン新規インストールも使う場合は「plugin-install.php」を、本体の自動アップグレードは「update-core.php」も指定する。<br />
あとプラグイン「WP-DBManager」を使う場合は「admin.php」を指定。
 </ol>
<p>基本これで動作するようになると思うが、動かない場合は以下もチェック。</p>
<ul>
<li>文字コード、改行コードを確認</li>
<p>文字コード、改行コードが Wordpress 本体ファイルと合ってるかを確認</p>
<li>パーミッションを 707 に設定</li>
<p>XREA の場合はパーミッションを 707 に設定</p>
<li>ファイル所有者の修正</li>
<p>セーフモードに変更する前にディレクトリ作成されてる場合、所有者の変更する必要がある。<br />
XREA 管理画面の 管理メニュー＞ツール＞「ファイル所有者の修正」にて修正。</p>
<li>XREA 自動広告から手動広告へ切り替え</li>
<p>広告自動挿入だと先頭にブランク行が出て WordPress の動作に問題が生じる事があるらしいので .htaccess で自動広告を切り、テンプレートファイルに広告コードを挿入する。</p>
<ol>
<li>自動広告をオフ</li>
<p>ブログ表示ディレクトリの .htaccess に次の1行を追加</p>
<pre class="brush: xml; auto-links: false; light: true;" style="margin:18px 0;">LayoutIgnoreURI *</pre>
<p>これで広告が非表示になる。<br />
（この作業の前に、ブログページのソース1行目がブランクになっていることを確認し、作業後広告が非表示になった事とソース1行目がブランクになっていない事を確認）</p>
<li>手動広告を挿入</li>
<p>XREA 管理画面＞広告HTML をクリック、ソースコードをコピーし、使用しているテーマのテンプレートファイル「header.php」の該当位置に挿入。<br />
挿入位置は XREA の規定に従う事。</p>
<li>XHTML の記述に変更</li>
<p>コードを「XHTML 1.0 Transitional 」に変更。<br />
<a href="http://sb.xrea.com/showthread.php?s=&#038;threadid=4136">XREA</a> の正式対応はまだ？のようなので、XREA&#038;CORE SUPPORT BOARDを参考に。<br />
<a href="http://sb.xrea.com/showthread.php?t=888" title="http://sb.xrea.com/showthread.php?t=888" class="autohyperlink">sb.xrea.com/showthread.php?t=888</a><br />
<a href="http://sb.xrea.com/showthread.php?t=2732" title="http://sb.xrea.com/showthread.php?t=2732" class="autohyperlink">sb.xrea.com/showthread.php?t=2732</a><br />
このあたりを見る限りでは公式ではないが、サポート的にOKを出してると解釈して</p>
<pre class="brush: html; auto-links: false; light: true;" style="margin:18px 0;">
&lt;a href=&quot;http://img.xrea.com/ad_click.fcg?site=ユーザーサーバ.xrea.com&quot; target=&quot;_blank&quot;&gt;
&lt;img src=&quot;http://img.xrea.com/ad_img.fcg?site=ユーザーサーバ.xrea.com&quot; border=&quot;0&quot; alt=&quot;xreaad&quot;&gt;
&lt;/a&gt;
</pre>
<p>に変更<br />
（arget属性を外してもOKとの事なので、そのあたりは好みで）</p>
<li>修正済み header.php をアップロード</li>
<p>広告表示やソースが正しい事を確認。
</ol>
</ul>
<p>セーフモードや XREA での WordPress 情報は下記を参照。<br />
<a href="http://wpdocs.sourceforge.jp/%E3%82%BB%E3%83%BC%E3%83%95%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AB%E3%82%88%E3%82%8B%E5%88%B6%E9%99%90%E3%81%A8%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95"><br />
セーフモードによる制限と対処方法</a><br />
 <a href="http://wpdocs.sourceforge.jp/%E3%83%AC%E3%83%B3%E3%82%BF%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E6%83%85%E5%A0%B1#XREA">XREA における WordPress関連情報</a></p>
<p>WordPress 本体のコアアップグレードについては後日。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/xrea-wordpress-upload/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress MU 便利なプラグイン15選</title>
		<link>http://blog.1ch.jp/wordpress/wordpress-mu-plugin/</link>
		<comments>http://blog.1ch.jp/wordpress/wordpress-mu-plugin/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 14:00:19 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=43</guid>
		<description><![CDATA[WordPress MU で実際使ってみて、これは便利だと思うプラグインの15選です。
主に、特定の企業様とのコミュニケーション専用に使ってるので、他の用途では参考にならない部分もあるかもしれませんが、参考までにピックア [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress MU で実際使ってみて、これは便利だと思うプラグインの15選です。<br />
主に、特定の企業様とのコミュニケーション専用に使ってるので、他の用途では参考にならない部分もあるかもしれませんが、参考までにピックアップしておきます。</p>
<ol>
<li>WP Multibyte Patch</li>
<p>これはマストという事で。。<br />
<a href="http://eastcoder.com/code/wp-multibyte-patch" title="http://eastcoder.com/code/wp-multibyte-patch" class="autohyperlink">eastcoder.com/code/wp-multibyte-patch</a></p>
<li>WP-PageNavi</li>
<p>下部のページナビゲーション<br />
オリジナル<br />
<a href="http://wordpress.org/extend/plugins/wp-pagenavi/" title="http://wordpress.org/extend/plugins/wp-pagenavi/" class="autohyperlink">wordpress.org/extend/plugins/wp-pagenavi/</a><br />
日本語化ファイル<br />
<a href="http://wp.mmrt-jp.net/plugin-japanization-project/wp-pagenavi/" title="http://wp.mmrt-jp.net/plugin-japanization-project/wp-pagenavi/" class="autohyperlink">wp.mmrt-jp.net/plugin-japanization-project/wp-pagenavi/</a><br />
<a href="http://wppluginsj.sourceforge.jp/i18n-ja_jp/wp-pagenavi/" title="http://wppluginsj.sourceforge.jp/i18n-ja_jp/wp-pagenavi/" class="autohyperlink">wppluginsj.sourceforge.jp/i18n-ja_jp/wp-pagenavi/</a><br />
※pagenavi-css.cssを入れ替え</p>
<li>Custom Field Template plugin</li>
<p>カスタムフィールドの入力支援<br />
オリジナル（日本語化ファイル込み）<br />
<a href="http://wordpressgogo.com/development/custom-field-template.html" title="http://wordpressgogo.com/development/custom-field-template.html" class="autohyperlink">wordpressgogo.com/development/custom-field-template.html</a><br />
ダウンロード<br />
<a href="http://wordpress.org/extend/plugins/custom-field-template/" title="http://wordpress.org/extend/plugins/custom-field-template/" class="autohyperlink">wordpress.org/extend/plugins/custom-field-template/</a><br />
<del datetime="2009-02-16T14:00:21+00:00">＃オリジナル<br />
＃http://rhymedcode.net/projects/custom-field-gui/<br />
＃日本語版<br />
＃http://www.tinybeans.net/blog/download/wp-plugin/cfg-utility-100.html</del></p>
<li>Simple Tags</li>
<p>タグ入力支援<br />
オリジナル（日本語化ファイル込み）<br />
<a href="http://wordpress.org/extend/plugins/simple-tags/" title="http://wordpress.org/extend/plugins/simple-tags/" class="autohyperlink">wordpress.org/extend/plugins/simple-tags/</a><br />
<del datetime="2009-04-10T10:34:04+00:00">＃日本語化ファイル<br />
＃http://www.naviwave.com/blog_w/wp_plugin/simple-tags/</del></p>
<li>Subscribe2</li>
<p>投稿通知<br />
オリジナル<br />
<a href="http://wordpress.org/extend/plugins/subscribe2/" title="http://wordpress.org/extend/plugins/subscribe2/" class="autohyperlink">wordpress.org/extend/plugins/subscribe2/</a><br />
日本語化ファイル<br />
<a href="http://tenderfeel.xsrv.jp/wordpress/99/" title="http://tenderfeel.xsrv.jp/wordpress/99/" class="autohyperlink">tenderfeel.xsrv.jp/wordpress/99/</a></p>
<li>Quick Comments</li>
<p>「投稿に対する返信」した人に対して他の返信があった事を通知<br />
＋コメントをAjaxでサクっと返信<br />
オリジナル（日本語化ファイル込み）<br />
<a href="http://wppluginsj.sourceforge.jp/quick-comments/" title="http://wppluginsj.sourceforge.jp/quick-comments/" class="autohyperlink">wppluginsj.sourceforge.jp/quick-comments/</a><br />
<em><br />
過去は「Subscribe To Comments」を使っていたが、こちらに乗換<br />
オリジナル<br />
<a href="http://wordpress.org/extend/plugins/subscribe-to-comments/" title="http://wordpress.org/extend/plugins/subscribe-to-comments/" class="autohyperlink">wordpress.org/extend/plugins/subscribe-to-comments/</a><br />
日本語版（バージョンが追いついてない場合は日本語ファイルのみ取り出し、以下Tips参照）<br />
<a href="http://wppluginsj.sourceforge.jp/i18n-ja_jp/subscribe-to-comments/" title="http://wppluginsj.sourceforge.jp/i18n-ja_jp/subscribe-to-comments/" class="autohyperlink">wppluginsj.sourceforge.jp/i18n-ja_jp/subscribe-to-comments/</a><br />
日本語化Tips<br />
<a href="http://d.hatena.ne.jp/minorio/20080701/1214921937" title="http://d.hatena.ne.jp/minorio/20080701/1214921937" class="autohyperlink">d.hatena.ne.jp/minorio/20080701/1214921937</a><br />
</em></p>
<li>WP-DBManager</li>
<p>DBバックアップ管理<br />
オリジナル<br />
<a href="http://wordpress.org/extend/plugins/wp-dbmanager/" title="http://wordpress.org/extend/plugins/wp-dbmanager/" class="autohyperlink">wordpress.org/extend/plugins/wp-dbmanager/</a><br />
日本語化ファイル<br />
<a href="http://wp.mmrt-jp.net/plugin-japanization-project/dbmanager/" title="http://wp.mmrt-jp.net/plugin-japanization-project/dbmanager/" class="autohyperlink">wp.mmrt-jp.net/plugin-japanization-project/dbmanager/</a></p>
<li>autohyperlink-urls</li>
<p>記事中のURLに自動でリンクを付ける<br />
<a href="http://coffee2code.com/wp-plugins/auto-hyperlink-urls/" title="http://coffee2code.com/wp-plugins/auto-hyperlink-urls/" class="autohyperlink">coffee2code.com/wp-plugins/auto-hyperlink-urls/</a></p>
<li>AutoExternalLink</li>
<p>リンクに自動で別ウインドウで開くアイコンを付ける<br />
<a href="http://wp.graphact.com/2007/07/15/98" title="http://wp.graphact.com/2007/07/15/98" class="autohyperlink">wp.graphact.com/2007/07/15/98</a></p>
<li>Angsuman&#8217;s Authenticated WordPress Plugin</li>
<p>ブログにログイン認証をかける<br />
<a href="http://blog.taragana.com/index.php/archive/angsumans-authenticated-wordpress-plugin-password-protection-for-your-wordpress-blog/">Angsuman&#8217;s Authenticated WordPress Plugin プラグインページ</a><br />
2.5以降はカスタマイズが必要なので、WEBあくまこさんの<a href="http://wb.corekuuma.com/archives/62">WordPressサイト全体にログイン認証をかける</a>を参照。</p>
<li>Allow Categories</li>
<p>ブログのカテゴリー毎にログイン認証をかける<br />
<a href="http://wordpress.org/extend/plugins/allow-categories/" title="http://wordpress.org/extend/plugins/allow-categories/" class="autohyperlink">wordpress.org/extend/plugins/allow-categories/</a></p>
<li>Maintenance Mode</li>
<p>メンテナンスモードを表示<br />
オリジナル<br />
<a href="http://wordpress.org/extend/plugins/maintenance-mode/" title="http://wordpress.org/extend/plugins/maintenance-mode/" class="autohyperlink">wordpress.org/extend/plugins/maintenance-mode/</a><br />
日本語化ファイル<br />
<a href="http://wppluginsj.sourceforge.jp/i18n-ja_jp/maintenance-mode/" title="http://wppluginsj.sourceforge.jp/i18n-ja_jp/maintenance-mode/" class="autohyperlink">wppluginsj.sourceforge.jp/i18n-ja_jp/maintenance-mode/</a></p>
<li>Revision Control</li>
<p>投稿リビジョンの仕様を設定できる<br />
<a href="http://wordpress.org/extend/plugins/revision-control/" title="http://wordpress.org/extend/plugins/revision-control/" class="autohyperlink">wordpress.org/extend/plugins/revision-control/</a><br />
※単純にリビジョン機能と自動保存機能をOFFにするなら<br />
Disable Revisions and Autosave<br />
<a href="http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/" title="http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/" class="autohyperlink">exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/</a></p>
<li>Post Templates</li>
<p>投稿テンプレート<br />
<a href="http://www.vincentprat.info/dev/wordpress-plugins/post-templates/" title="http://www.vincentprat.info/dev/wordpress-plugins/post-templates/" class="autohyperlink">www.vincentprat.info/dev/wordpress-plugins/post-templates/</a></p>
<li>Unfiltered MU</li>
<p>MUではデフォルトだと「iframe」「embed」タグが記事中で使えないので、それを有効化<br />
<a href="http://wordpress.org/extend/plugins/unfiltered-mu/" title="http://wordpress.org/extend/plugins/unfiltered-mu/" class="autohyperlink">wordpress.org/extend/plugins/unfiltered-mu/</a>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/wordpress-mu-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress と WordPress MU 比較</title>
		<link>http://blog.1ch.jp/wordpress/wordpress-vs-wordpress-mu/</link>
		<comments>http://blog.1ch.jp/wordpress/wordpress-vs-wordpress-mu/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 15:52:08 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/?p=41</guid>
		<description><![CDATA[それぞれの詳細はwiki等に委ねるとして、
複数ブログを構築する際の WordPress と WordPress MU を比較してみよう


比較項目
WordPress
WordPress MU


設置
複数のディレ [...]]]></description>
			<content:encoded><![CDATA[<p>それぞれの詳細は<a href="http://ja.wikipedia.org/wiki/WordPress">wiki</a>等に委ねるとして、<br />
複数ブログを構築する際の WordPress と WordPress MU を比較してみよう</p>
<table id="table-01" class="stripe">
<tr>
<th>比較項目</th>
<th>WordPress</th>
<th>WordPress MU</th>
</tr>
<tr>
<td>設置</td>
<td>複数のディレクトリにそれぞれ設置する必要有</td>
<td>本体の設置のみで複数ブログを運営可</td>
</tr>
<tr>
<td>機能1</td>
<td colspan="2">少し前まではバージョンも違い、機能的にも違いがあったようだが、今はMulti-User（複数ブログを管理できる）かどうかが一番大きな違いで、機能的にはほぼ同様</td>
</tr>
<tr>
<td>バージョンアップ</td>
<td>こちらが主体</td>
<td>本体を追っかけて1〜2ヶ月遅れでリリース</td>
</tr>
<tr>
<td>日本語化</td>
<td>本体が出てすぐリリース</td>
<td>MU本体から少し遅れてリリース（場合によってはマイナーバージョンは翻訳されない）</td>
</tr>
<tr>
<td>アップグレード</td>
<td>ブログ毎にアップグレードする必要がある</td>
<td>本体のアップグレードのみでOK<br />
プラグインも同様</td>
</tr>
<tr>
<td>マニュアル</td>
<td>書籍やネット上の情報が多い</td>
<td>書籍は（たぶん）無し、ネット情報もかなり少ない</td>
</tr>
<tr>
<td>導入の難易度</td>
<td colspan="2">ほぼ変わらず</td>
</tr>
<tr>
<td>ブログ追加</td>
<td>1つ目同様の作業が必要</td>
<td>ユーザー追加と同じぐらい容易</td>
</tr>
<tr>
<td rowspan="2">DBの構造</td>
<td>ブログ単位でDBを指定できる</td>
<td>1つのMUに対して1つのDBで、管理用テーブルと各ブログ用テーブルが作成される<br />
各ブログはID毎にテーブルが作成される</td>
</tr>
<tr>
<td colspan="2">（MUは<a href="http://wordpress.com/">WordPress.com</a>に導入されてるので、DB構造的には効率的なのだろう）</td>
</tr>
<tr>
<td>機能2</td>
<td colspan="2">本文内でコードが使えない、等の違いがあるみたいだが、プラグインで解決</td>
</tr>
<tr>
<td>プラグイン</td>
<td></td>
<td>使えないプラグインもある</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/wordpress-vs-wordpress-mu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress MU アクセス制限 - BASIC認証 編</title>
		<link>http://blog.1ch.jp/wordpress/wordpress-mu-basic/</link>
		<comments>http://blog.1ch.jp/wordpress/wordpress-mu-basic/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 14:39:29 +0000</pubDate>
		<dc:creator>1ch</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[WordPress MU]]></category>

		<category><![CDATA[カスタマイズ]]></category>

		<guid isPermaLink="false">http://blog.1ch.jp/wordpress/wordpress-mu-%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%88%b6%e9%99%90-basic%e8%aa%8d%e8%a8%bc-%e7%b7%a8/</guid>
		<description><![CDATA[今まで WordPress を会社の取引先とのやりとり専用ツールで使ってたんですが、取引先やプロジェクトが増える度に新規で WordPress を設置するのも効率が悪いので、WordPress MU 導入しました。
Wo [...]]]></description>
			<content:encoded><![CDATA[<p>今まで WordPress を会社の取引先とのやりとり専用ツールで使ってたんですが、取引先やプロジェクトが増える度に新規で WordPress を設置するのも効率が悪いので、WordPress MU 導入しました。</p>
<p>WordPress では、そのディレクトリ毎にBASIC認証を掛けていたんですが、WordPress MU の場合、仮想ディレクトリなのでBASIC認証の掛けようがない<br />
<img src="http://blog.1ch.jp/wp/wp-content/plugins/wp-tegaki/wp-tegaki-img.php?tegaki_id=40-0&amp;page=1" alt="（TεT）、、、" width="162" height="34" /><br />
と悩んでいたんですが、実現方法がありました。</p>
<p>WordPress の「ブログディレクトリの変更」と同じようなやり方で、まず</p>
<ol>
<li>実在ディレクトリを作成</li>
<p>ブログURLが「example.com/blog01」なら「example.com/」直下に「blog01」ディレクトリを作成。</p>
<li>WPMUのindex.phpをコピー</li>
<p>WordPress MU ディレクトリ直下の index.php を「blog01」ディレクトリにコピー、<br />
index.php の</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">require(&#039;./wp-blog-header.php&#039;);</pre>
<p>を該当ディレクトリに変更<br />
WordPress MU ディレクトリが「example.com/wpmu」なら</p>
<pre class="brush: php; auto-links: false; light: true;" style="margin:18px 0;">require(&#039;../wpmu/wp-blog-header.php&#039;);</pre>
<p>これで実在ディレクトリからWPMU本体を読みに行くようになる。<br />
この際、.htaccess の mod_rewrite の記述は不要。</p>
<li>BASIC認証の設定</li>
<p>通常どおり、.htaccess でBASIC認証を設定。<br />
これで完了！
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.1ch.jp/wordpress/wordpress-mu-basic/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
