<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SOUSAKUYA-SAI BLOG &#187; Wordpress･Xoops</title>
	<atom:link href="http://sousakuyasai.info/press/archives/tag/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://sousakuyasai.info/press</link>
	<description>Web Direction &#38; Consultant</description>
	<lastBuildDate>Sat, 28 Aug 2010 01:48:33 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>アーカイブの記事をRandomに表示するメモ</title>
		<link>http://sousakuyasai.info/press/archives/1374</link>
		<comments>http://sousakuyasai.info/press/archives/1374#comments</comments>
		<pubDate>Fri, 11 Dec 2009 06:35:41 +0000</pubDate>
		<dc:creator>ハタヒカル</dc:creator>
				<category><![CDATA[4]]></category>
		<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/1374</guid>
		<description><![CDATA[&#60;?php $cat = get_the_category(); $cat = $cat[0]; ?&#62; &#60;?php $bk_wp_query = clone $wp_query; ?&#62; &#60;?php query_posts(array(&#8216;cat&#8217; =&#62; $cat-&#62;cat_ID, &#8216;orderby&#8217; =&#62; &#8216;rand&#8217;) ); ?&#62; &#60;?php while (have_posts()) : the_post(); ?&#62; ・・・以下ループ えー、これだけでした。]]></description>
			<content:encoded><![CDATA[<p>&lt;?php $cat = get_the_category(); $cat = $cat[0]; ?&gt;</p>
<p>&lt;?php $bk_wp_query = clone $wp_query; ?&gt;</p>
<p>&lt;?php query_posts(array(&#8216;cat&#8217; =&gt; $cat-&gt;cat_ID, &#8216;orderby&#8217; =&gt; &#8216;rand&#8217;) ); ?&gt;</p>
<p>&lt;?php while (have_posts()) : the_post(); ?&gt;</p>
<p>・・・以下ループ<br />
えー、これだけでした。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/1374/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>サブドメインで読み込ませるJSを切り替える</title>
		<link>http://sousakuyasai.info/press/archives/781</link>
		<comments>http://sousakuyasai.info/press/archives/781#comments</comments>
		<pubDate>Fri, 01 May 2009 04:49:40 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/781</guid>
		<description><![CDATA[なんか、すごく力業なので、スマートにする方法、どなたかご教授下さい。 WordPressMUのテーマをこちょこちょ。 力業しか思いつかなかったので、もっとスマートにできないかなぁ。 ノンプログラマーはこういうとき辛い！ &#60;script type="text/javascript" src="&#60;?php echo bloginfo('template_url'); ?&#62;/js/&#60;?php $string = get_option('home'); if (stristr($string, "hoge1")) { echo 'function1.js'; } else if (stristr($string, "hoge2")) {echo 'function2.js';} else {echo 'function.js';} ?&#62;"&#62;&#60;/script&#62; ようするに、JS]]></description>
			<content:encoded><![CDATA[<p>なんか、すごく力業なので、スマートにする方法、どなたかご教授下さい。</p>
<p>WordPressMUのテーマをこちょこちょ。 力業しか思いつかなかったので、もっとスマートにできないかなぁ。 ノンプログラマーはこういうとき辛い！</p>
<p><code>&lt;script type="text/javascript" src="&lt;?php echo bloginfo('template_url'); ?&gt;/js/&lt;?php $string = get_option('home'); if (stristr($string, "hoge1")) { echo 'function1.js'; } else if (stristr($string, "hoge2")) {echo 'function2.js';} else {echo 'function.js';} ?&gt;"&gt;&lt;/script&gt;</code></p>
<p>ようするに、JSを読み込ますのに、サブドメイン事に違うスクリプトファイルを読み込ませているわけです。</p>
<p>http://gerogero.com →function.js</p>
<p>http://hoge1.gerogero.com →function1.js</p>
<p>http://hoge2.gerogero.com →function2.js</p>
<p>でも、ものすごい力業なんですよね。 もっとスマートにできないかなぁ？</p>
<p>＞何に使っているの？</p>
<p>とあるメーカーサイトで、商品カテゴリ事にサブドメインを切り替える必要があって、サブドメイン事にJqeryの設定値を変えなければならなかったので。</p>
<p>基本的に、CSSは同じなので、JSと一部のクラス名</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/781/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMUで子ブログからTOPブログへのリンク</title>
		<link>http://sousakuyasai.info/press/archives/734</link>
		<comments>http://sousakuyasai.info/press/archives/734#comments</comments>
		<pubDate>Sat, 28 Feb 2009 04:06:57 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/734</guid>
		<description><![CDATA[メモ &#60;a href=&#8221;http://&#60;?php echo $current_site-&#62;domain . $current_site-&#62;path ?&#62;&#8221;&#62;&#60;?php echo $current_site-&#62;site_name ?&#62;&#60;/a&#62; これでOK。 って、Footerに書いてある文そのままなんだけど、忘れちゃうのでメモ。]]></description>
			<content:encoded><![CDATA[<p>メモ</p>
<p>&lt;a href=&#8221;http://&lt;?php echo $current_site-&gt;domain . $current_site-&gt;path ?&gt;&#8221;&gt;&lt;?php echo $current_site-&gt;site_name ?&gt;&lt;/a&gt;</p>
<p>これでOK。</p>
<p>って、Footerに書いてある文そのままなんだけど、忘れちゃうのでメモ。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/734/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMUで白紙になるブログ</title>
		<link>http://sousakuyasai.info/press/archives/733</link>
		<comments>http://sousakuyasai.info/press/archives/733#comments</comments>
		<pubDate>Mon, 23 Feb 2009 06:10:30 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/733</guid>
		<description><![CDATA[〈メモ〉 WPMUで白紙になるブログとならないで通常通り表示できるブログが存在するとき、「mb_excerpt」をチェックしてみると良い。 また、phpエラーを表示するようにすると尚効果的。]]></description>
			<content:encoded><![CDATA[<p>〈メモ〉</p>
<p>WPMUで白紙になるブログとならないで通常通り表示できるブログが存在するとき、「mb_excerpt」をチェックしてみると良い。</p>
<p>また、phpエラーを表示するようにすると尚効果的。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/733/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressのセキュリティチェック</title>
		<link>http://sousakuyasai.info/press/archives/719</link>
		<comments>http://sousakuyasai.info/press/archives/719#comments</comments>
		<pubDate>Mon, 09 Feb 2009 00:40:38 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/719</guid>
		<description><![CDATA[Sqlインジェクション攻撃が増加しているので、ブログを運営している身としてはやっぱり心配。 ということで、WordPress Scanner Information Page 。 プラグインを入れて、サイトにアクセスし、URLを入れればチェックができる。 MUの場合はmu-pluginsに入れておくと便利。 &#160;&#160;]]></description>
			<content:encoded><![CDATA[<p>Sqlインジェクション攻撃が増加しているので、ブログを運営している身としてはやっぱり心配。</p>
<p>ということで、<a href="http://blogsecurity.net/wordpress/tools/wp-scanner/">WordPress Scanner Information Page</a> 。</p>
<p>プラグインを入れて、サイトにアクセスし、URLを入れればチェックができる。</p>
<p>MUの場合はmu-pluginsに入れておくと便利。</p>
<p>
<img src="http://sousakuyasai.info/press/files/2009/02/200902090940.jpg" width="256" height="300" alt="200902090940.jpg" />&nbsp;&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/719/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CORESERVERでwp-dbmanager</title>
		<link>http://sousakuyasai.info/press/archives/705</link>
		<comments>http://sousakuyasai.info/press/archives/705#comments</comments>
		<pubDate>Mon, 19 Jan 2009 04:56:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/705</guid>
		<description><![CDATA[設定に少々コツがあるのでメモ。 mysqldumpのパス:　/usr/local/mysql/bin/mysqldump mysqlのパス:　/usr/local/mysql/bin/mysql おそらく、mysqldumpのパスで「見つかりません」というエラーが出ると思うので。 ルートのhtaccessに &#60;files admin.php&#62; AddHandler application/x-httpd-phpcgi .php &#60;/files&#62; を追加しておかないとエラーが出る。]]></description>
			<content:encoded><![CDATA[<p>設定に少々コツがあるのでメモ。</p>
<p>mysqldumpのパス:　/usr/local/mysql/bin/mysqldump</p>
<p>mysqlのパス:　/usr/local/mysql/bin/mysql</p>
<p>おそらく、mysqldumpのパスで「見つかりません」というエラーが出ると思うので。</p>
<p>ルートのhtaccessに</p>
<p>&lt;files admin.php&gt;</p>
<p>AddHandler application/x-httpd-phpcgi .php</p>
<p>&lt;/files&gt;</p>
<p>を追加しておかないとエラーが出る。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/705/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMUで文字の丸め</title>
		<link>http://sousakuyasai.info/press/archives/551</link>
		<comments>http://sousakuyasai.info/press/archives/551#comments</comments>
		<pubDate>Mon, 29 Sep 2008 13:42:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/551</guid>
		<description><![CDATA[忘れてしまうのでメモ。 &#60;?php $str = get_the_title_rss(); $str = mb_strimwidth($str,0,24,&#8221;…&#8221;,utf8); ?&#62; &#60;?php echo($str);?&#62; 上の処理と表示処理を分けておくと何かと便利。]]></description>
			<content:encoded><![CDATA[<p>忘れてしまうのでメモ。</p>
<p>&lt;?php $str = get_the_title_rss(); $str = mb_strimwidth($str,0,24,&#8221;…&#8221;,utf8); ?&gt;</p>
<p>&lt;?php echo($str);?&gt;</p>
<p>上の処理と表示処理を分けておくと何かと便利。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/551/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU2.6.1でhomeにThumbnailを表示</title>
		<link>http://sousakuyasai.info/press/archives/550</link>
		<comments>http://sousakuyasai.info/press/archives/550#comments</comments>
		<pubDate>Fri, 26 Sep 2008 03:28:11 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/550</guid>
		<description><![CDATA[プラグインが動かなかったので、さんざん捜して見つけた方法。 ループの回し方にちょっとコツがあったのでメモします。 &#60;?php query_posts(&#8216;showposts=9&#8242;); if (have_posts()) : ?&#62;&#60;?php while (have_posts()) : the_post(); ?&#62; &#60;?php $attachments = get_children(array(&#8216;post_parent&#8217; =&#62; get_the_ID(), &#8216;post_type&#8217; =&#62; &#8216;attachment&#8217;, &#8216;post_mime_type&#8217; =&#62; &#8216;image&#8217;, &#8216;orderby&#8217; =&#62; &#8216;menu_order&#8217;)); if ( ! is_array($attachments) ) continue; $count = count($attachments); $first_attachment = array_shift($attachments); ?&#62; &#60;div&#62; &#60;a href=&#8221;&#60;?php the_permalink() ?&#62;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &#60;?php the_title(); ?&#62;&#8221;&#62; &#60;?php echo [...]]]></description>
			<content:encoded><![CDATA[<p>プラグインが動かなかったので、さんざん捜して見つけた方法。</p>
<p>ループの回し方にちょっとコツがあったのでメモします。</p>
<p>&lt;?php</p>
<p>query_posts(&#8216;showposts=9&#8242;);</p>
<p>if (have_posts()) : ?&gt;&lt;?php while (have_posts()) : the_post(); ?&gt;</p>
<p>&lt;?php $attachments = get_children(array(&#8216;post_parent&#8217; =&gt; get_the_ID(), &#8216;post_type&#8217; =&gt; &#8216;attachment&#8217;, &#8216;post_mime_type&#8217; =&gt; &#8216;image&#8217;, &#8216;orderby&#8217; =&gt; &#8216;menu_order&#8217;));</p>
<p>if ( ! is_array($attachments) ) continue;</p>
<p>$count = count($attachments);</p>
<p>$first_attachment = array_shift($attachments); ?&gt;</p>
<p>&lt;div&gt;</p>
<p>&lt;a href=&#8221;&lt;?php the_permalink() ?&gt;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &lt;?php the_title(); ?&gt;&#8221;&gt;</p>
<p>&lt;?php echo wp_get_attachment_image($first_attachment-&gt;ID); ?&gt;</p>
<p>&lt;/a&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;?php endwhile; ?&gt;&lt;?php endif; ?&gt;</p>
<p><a href="http://tenderfeel.xsrv.jp/wordpress/168/">WebTecNote</a>さんに感謝します！</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/550/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPデザインテンプレートのタグ：技術メモ</title>
		<link>http://sousakuyasai.info/press/archives/549</link>
		<comments>http://sousakuyasai.info/press/archives/549#comments</comments>
		<pubDate>Thu, 25 Sep 2008 14:21:39 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/549</guid>
		<description><![CDATA[デザインテンプレートで忘れそうなのでメモ。 previous_post_link(&#8216;%link&#8217;,'&#60;em&#62;%title&#60;/em&#62;&#8217;) 上記のように書けば、&#60;a href=&#8221;･･･&#8221;&#62;&#60;em&#62;タイトル&#60;/em&#62;&#60;/a&#62;のようになる。 CSSで『visibility: hidden;』を使う場合に便利です。]]></description>
			<content:encoded><![CDATA[<p>デザインテンプレートで忘れそうなのでメモ。</p>
<p>previous_post_link(&#8216;%link&#8217;,'&lt;em&gt;%title&lt;/em&gt;&#8217;)</p>
<p>上記のように書けば、&lt;a href=&#8221;･･･&#8221;&gt;&lt;em&gt;タイトル&lt;/em&gt;&lt;/a&gt;のようになる。</p>
<p>CSSで『visibility: hidden;』を使う場合に便利です。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/549/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU1.5 ケータイエントリー</title>
		<link>http://sousakuyasai.info/press/archives/493</link>
		<comments>http://sousakuyasai.info/press/archives/493#comments</comments>
		<pubDate>Wed, 18 Jun 2008 04:58:15 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/493</guid>
		<description><![CDATA[WPMU1.5でうまく動かなかったケータイエントリー。 バージョン0.8.5で動作するようになりました！ これでDBに直接アカウントを入力するような事はしなくても良いわけです。 yurikoさん、凄いです！ ▲WPMUの設定画面でメールサーバを入力できるよう]]></description>
			<content:encoded><![CDATA[<p>WPMU1.5でうまく動かなかったケータイエントリー。<br />
<a href="http://www.yuriko.net/arc/2008/06/17/ktaientry085/">バージョン0.8.5</a>で動作するようになりました！</p>
<p>これでDBに直接アカウントを入力するような事はしなくても良いわけです。</p>
<p>yurikoさん、凄いです！</p>
<p><img src="http://sousakuyasai.info/press/files/2008/06/ktai-entry.jpg" width="400" height="377" alt="Ktai Entry.jpg" /></p>
<p>▲WPMUの設定画面でメールサーバを入力できるようになったので、大変便利に！</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/493/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WPMU1.5でケータイエントリー</title>
		<link>http://sousakuyasai.info/press/archives/475</link>
		<comments>http://sousakuyasai.info/press/archives/475#comments</comments>
		<pubDate>Fri, 06 Jun 2008 09:36:28 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/475</guid>
		<description><![CDATA[ケータイエントリーがバージョンアップ。0.84になっています。 yurikoさんがここの書き込みを見ていただいて、WPMUにも対応させていただけました。 ありがとうございます！ ところが、私のWPMU1.5では相変わらずメールサーバの設定が出来ません]]></description>
			<content:encoded><![CDATA[<p><img src="http://sousakuyasai.info/press/files/2008/06/ktaientry.jpg" width="400" height="323" alt="KtaiEntry.jpg" /></p>
<p><a href="http://wppluginsj.sourceforge.jp/ktai_entry/">ケータイエントリーがバージョンアップ。</a>0.84になっています。</p>
<p>yurikoさんがここの書き込みを見ていただいて、WPMUにも対応させていただけました。</p>
<p>ありがとうございます！</p>
<p>ところが、私のWPMU1.5では相変わらずメールサーバの設定が出来ませんでした。何でかな〜？？？</p>
<p>でも、今までの設定値は活きているのでとっても調子がよいです。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/475/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WPMU1.5　ウィジェットのトラブル</title>
		<link>http://sousakuyasai.info/press/archives/467</link>
		<comments>http://sousakuyasai.info/press/archives/467#comments</comments>
		<pubDate>Thu, 29 May 2008 01:34:58 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/467</guid>
		<description><![CDATA[ウィジェットがドラッグできなくなってしまった。 いろいろ調べても原因がつかめなかったが、基本中の基本、プラグインを一度全部外し、一つずつ戻していったらあるカレンダー表示プラグインが原因で固まっていた。 どう]]></description>
			<content:encoded><![CDATA[<p>ウィジェットがドラッグできなくなってしまった。</p>
<p>いろいろ調べても原因がつかめなかったが、基本中の基本、プラグインを一度全部外し、一つずつ戻していったらあるカレンダー表示プラグインが原因で固まっていた。</p>
<p>どうやら、jsの変数が被っているのが原因だったらしい。しかし、変数を直しても症状が治まらなかったため、他に根本原因があるモノと判断してプラグインをはずした。特に動作上どうしても必要なものではなかったので、一件落着。</p>
<p>そのプラグインが原因でファイルのアップロードもうまくいっていなかった。</p>
<p>プラグイン名は非公開。というのも、どれとコンクリフトを起こしていたのかわからないため、プラグインだけが悪いとは思えないから。</p>
<p>根本原因追及するほど技術がないので勘弁して。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/467/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU 1.5 ブログエディタから投稿エラー</title>
		<link>http://sousakuyasai.info/press/archives/466</link>
		<comments>http://sousakuyasai.info/press/archives/466#comments</comments>
		<pubDate>Thu, 29 May 2008 01:29:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/466</guid>
		<description><![CDATA[wp.getusersblogs does not exist. I always get error message blogs not found このようなエラーメッセージが出てしまったときの対処方法メモ。 WordPressのMUフォーラムに書き込みがある。（英語） フォーラムの主はWindows Live Writerでエラーが出るらしい。ちなみに、私はectoで同様のエラーだったので、このフォーラムに当たること]]></description>
			<content:encoded><![CDATA[<p>wp.getusersblogs does not exist. I always get error message blogs not found</p>
<p>このようなエラーメッセージが出てしまったときの対処方法メモ。</p>
<p><a href="http://mu.wordpress.org/forums/topic.php?id=8262">WordPressのMUフォーラム</a>に書き込みがある。（英語）<br />
フォーラムの主はWindows Live Writerでエラーが出るらしい。ちなみに、私はectoで同様のエラーだったので、このフォーラムに当たることができたのです。</p>
<p>ざっと読んでみると、ようするにxmlrpg.phpの一部書き換えが必要とのこと。</p>
<p>フォーラムの中にzipファイルをダウンできる書き込みがあり、それをダウンロードしてファイルを差し替えてあげるとエラーは解除できる。</p>
<p>掲示板の一連の流れを修正したファイルらしい。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/466/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>EventCalendarの日本語ファイル</title>
		<link>http://sousakuyasai.info/press/archives/449</link>
		<comments>http://sousakuyasai.info/press/archives/449#comments</comments>
		<pubDate>Fri, 23 May 2008 08:20:51 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/449</guid>
		<description><![CDATA[WordPressのプラグイン「Event Calendar」の日本語ファイルを作成しました。 執筆現在のEventCalendarバージョンは3.10です。 だいたい訳はあっていると思います。使ってみたいという奇特な方は、下記のファイルをダウンロード。 解凍したら、プラグインフォルダの]]></description>
			<content:encoded><![CDATA[<p>WordPressのプラグイン「<a href="http://wpcal.firetree.net/">Event Calendar</a>」の日本語ファイルを作成しました。</p>
<p>執筆現在のEventCalendarバージョンは3.10です。</p>
<p>だいたい訳はあっていると思います。使ってみたいという奇特な方は、下記のファイルをダウンロード。<br />
解凍したら、プラグインフォルダの「gettext」フォルダへ入れてください。</p>
<p><a title="ec3-ja.zip" href="http://sousakuyasai.info/press/files/2008/05/ec3-ja.zip">日本語ファイルダウンロード</a></p>
<p><span id="more-449"></span></p>
<p>追記：カレンダーの曜日が日本語にならない場合、設定で変更。<br />
曜日表示設定→和名１文字（Show day names as: 3-Letter Abbreviation）で変更。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/449/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU1.5.1でモブログ</title>
		<link>http://sousakuyasai.info/press/archives/417</link>
		<comments>http://sousakuyasai.info/press/archives/417#comments</comments>
		<pubDate>Tue, 13 May 2008 09:00:46 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/417</guid>
		<description><![CDATA[前回 うまくいかなかったwpmobXp。ちなみに、モブログ君などの外部サービスも使えない。（モブログ君がエラーを返してしまう） で、目をつけていたKtai Entry。このプラグインは投稿設定でPOP3の設定を入力する仕様。ところが、wpmu1.5ではその設定項]]></description>
			<content:encoded><![CDATA[<p><a href="http://sousakuyasai.info/press/archives/416">前回</a> うまくいかなかったwpmobXp。ちなみに、モブログ君などの外部サービスも使えない。（モブログ君がエラーを返してしまう）</p>
<p>で、目をつけていた<a href="http://wppluginsj.sourceforge.jp/ktai_entry/">Ktai Entry</a>。このプラグインは投稿設定でPOP3の設定を入力する仕様。ところが、wpmu1.5ではその設定項目がない。このタイプのモブログプラグインが使えないハードルになってしまって、ずいぶんと時間をとられてしまった。</p>
<p>で、結論から言えば問題なく使えました。</p>
<p>方法は実に簡単。DBテーブルは通常のWordPressとほぼ同じ。むしろ増えているくらい。そこで、DBテーブルに直接POP3サーバ、アカウント、パスワード、ポート、デフォルトカテゴリなどを入力。</p>
<p>これで使うことができます。</p>
<p>ただ、これは数人でWPMUを使っている場合に限られた使い方。いちいちDBに直接入力しないといけないのはちょっといただけない。</p>
<p>ま、チームで作業ログや議事ログを残していくといったインライン的な使い方とPOP３サーバを組み合わせるという使い方ならば問題はないと思う。</p>
<p>管理画面のキャプチャーを載せてみました。キャプチャーはWPMU1.5.1です。（1.3.3日本語ファイル適用）</p>
<p>
<img src="http://sousakuyasai.info/press/files/2008/05/settingwordpress.jpg" width="400" height="358" alt="settingWordPress.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/417/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WPMUでモブログ</title>
		<link>http://sousakuyasai.info/press/archives/416</link>
		<comments>http://sousakuyasai.info/press/archives/416#comments</comments>
		<pubDate>Mon, 12 May 2008 15:02:27 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/416</guid>
		<description><![CDATA[現在WPMU1.5RC1を稼働実験を兼ねてサイト構築。 モブログ機能の実装依頼が来たので、さんざん調べて、あんプリンさんのwpmobExpress &#8211; 2.2 を使わせていただくことに。 エンドポイントを使った投稿スクリプトなので、WPMUでも「基本的には」問題はないです]]></description>
			<content:encoded><![CDATA[<p>現在WPMU1.5RC1を稼働実験を兼ねてサイト構築。</p>
<p>モブログ機能の実装依頼が来たので、さんざん調べて、<a href="http://unp.under.jp">あんプリンさん</a>のwpmobExpress &#8211; 2.2 を使わせていただくことに。</p>
<p>エンドポイントを使った投稿スクリプトなので、WPMUでも「基本的には」問題はないです。ただ、MU1.5RC1というバージョンだからなのか、WP2.5系の何かなのかわからないのですが、導入してプラグインをactiveにしてサイトにアクセスすると、延々読み込み中になりプラグインをInactiveしない限り読み込めない。</p>
<p>おまけに、safariでアクセスするとsafariが落ちる。（これもナゾ）</p>
<p>投稿動作自体に問題はないので、アクセスしたとき、投稿処理を行うトリガーがうまく働いていないらしい。</p>
<p><span style="text-decoration: line-through;">そこで、wpmobXp.phpの11、12行目をコメントアウト。投稿処理をcornに託し、様子を見ることに。</span></p>
<p>うまくいけばMUでモブログができるようになるので、これは便利。</p>
<p>準備するもの。</p>
<p>投稿専用のPOPアカウント。</p>
<p>WPMUの場合、専用のブログを立ち上げ、専用のIDを用意。</p>
<p>POPサーバ側でスパムフィルター設定と差出人以外からのメールを破棄するフィルターを設定。</p>
<p>※Gmailで挑戦したが、うまく新着メールを確認できない。（要改造）</p>
<p>→<span style="color: #ff0000;">結局調査の結果、xreaサーバではxmlのエラーが出る。サーバの問題だと思う。別の方法で挑戦。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/416/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU テーマでウィジェットエリアを増やす</title>
		<link>http://sousakuyasai.info/press/archives/368</link>
		<comments>http://sousakuyasai.info/press/archives/368#comments</comments>
		<pubDate>Thu, 24 Apr 2008 05:13:53 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/368</guid>
		<description><![CDATA[function.phpに追加 register_sidebars(1,array( &#8216;name&#8217;=&#62;&#8217;sidebar2&#8242;, &#8216;before_widget&#8217; =&#62; &#8216;&#60;li id=&#8221;%1$s&#8221; class=&#8221;widget %2$s&#8221;&#62;&#8217;, &#8216;after_widget&#8217; =&#62; &#8216;&#60;/li&#62;&#8217;, &#8216;before_title&#8217; =&#62; &#8216;&#60;h2 class=&#8221;widgettitle&#8221;&#62;&#8217;, &#8216;after_title&#8217; =&#62; &#8216;&#60;/h2&#62;&#8217;, )); この１行がポイント→　egister_sidebars(1,array( sidebars　”ｓ”をつけて複数形にする。引数で名前をつけることが出来る→　&#8216;name&#8217;=&#62;&#8217;sidebar2&#8242;,この名前がウィジェット名として管理画面で表示される。ウィジェットを入れたいテーマファイルに &#60;?php if ( !function_exists(&#8216;dynamic_sidebar&#8217;) &#124;&#124; !dynamic_sidebar(2) ) : ?&#62;&#60;/ul&#62;&#60;?php endif; ?&#62;を追加することでウィ]]></description>
			<content:encoded><![CDATA[<p>function.phpに追加</p>
<p><span style="font-style: italic;">register_sidebars(1,array(</span></p>
<p><span style="font-style: italic;">&#8216;name&#8217;=&gt;&#8217;sidebar2&#8242;,</span></p>
<p><span style="font-style: italic;">&#8216;before_widget&#8217; =&gt; &#8216;&lt;li id=&#8221;%1$s&#8221; class=&#8221;widget %2$s&#8221;&gt;&#8217;,</span></p>
<p><span style="font-style: italic;">&#8216;after_widget&#8217; =&gt; &#8216;&lt;/li&gt;&#8217;,</span></p>
<p><span style="font-style: italic;">&#8216;before_title&#8217; =&gt; &#8216;&lt;h2 class=&#8221;widgettitle&#8221;&gt;&#8217;,</span></p>
<p><span style="font-style: italic;">&#8216;after_title&#8217; =&gt; &#8216;&lt;/h2&gt;&#8217;,</span></p>
<p><span style="font-style: italic;">));</span></p>
<p>この１行がポイント→　egister_sidebars(1,array(<br />
sidebars　”ｓ”をつけて複数形にする。引数で名前をつけることが出来る→　<span style="font-style: italic;">&#8216;name&#8217;=&gt;&#8217;sidebar2&#8242;,</span><span style="font-style: italic;">この名前がウィジェット名として管理画面で表示される。<br /></span>ウィジェットを入れたいテーマファイルに<br />
&lt;?php if ( !function_exists(&#8216;dynamic_sidebar&#8217;) || !dynamic_sidebar(2) ) : ?&gt;&lt;/ul&gt;&lt;?php endif; ?&gt;を追加することでウィジェットエリアが増加する。<br />
ウィジェットを複製するプラグイン<br />
http://www.lancelhoff.com/2007/08/29/wordpress-duplicate-sidebar-widgets/</p>
<p>これでテーマファイル毎にウィジェットを複数回利用できるようになる。</p>
<p>しかし、もっとスマートな方法が必ずあると思います。<br />
<a href="http://jp.blogherald.com/2007/05/18/enabling-sidebar-widgets-for-your-wordpress-theme/">参考サイト：ブログヘラルド</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/368/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpressMUでプロフィール表示</title>
		<link>http://sousakuyasai.info/press/archives/326</link>
		<comments>http://sousakuyasai.info/press/archives/326#comments</comments>
		<pubDate>Mon, 07 Apr 2008 09:52:22 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/326</guid>
		<description><![CDATA[WPにはプロフィールを表示させる機能がありません。 ページ機能で代用できるので意味がないのかもしれませんが。 とはいえ、同一企業の他サイトとイメージを統一させたい場合などに必要な場合があります。 そこでウェイジェ]]></description>
			<content:encoded><![CDATA[<p><a href="http://samdevol.com/about-me-widget-for-wordpress/"><img src="http://sousakuyasai.info/press/files/2008/04/aboutme.jpg" width="400" height="254" alt="aboutme.tiff" /></a></p>
<p>WPにはプロフィールを表示させる機能がありません。</p>
<p>ページ機能で代用できるので意味がないのかもしれませんが。</p>
<p>とはいえ、同一企業の他サイトとイメージを統一させたい場合などに必要な場合があります。</p>
<p>そこでウェイジェットを使って実現できました。</p>
<p><a href="http://samdevol.com/about-me-widget-for-wordpress/">About Me widget for WordPress</a></p>
<p>使い方は簡単。ダウンロードしてプラグインフォルダーにアップ。</p>
<p>プラグインをアクティブにすればOKです。</p>
<p>あとは、ウェジェットで表示させたい場所へドラッグし、ウィジェットで設定。</p>
<p>ただ、エディタがうまく表示できない人がいるかもしれません。</p>
<p><span id="more-326"></span></p>
<p>その時は、aboutme.phpの記述を一部変更すると直ります。<a href="http://sousakuyasai.info/press/files/2008/04/aboutmephp.zip" title="aboutme.php.zip">aboutme.php.zip</a></p>
<p><a href="http://samdevol.com/files/myforums/viewtopic.php?id=155">フォーラムに対応策が書かれていました</a>。</p>
<p><a href="http://sousakuyasai.info/press/files/2008/04/aboutmephp.zip" title="aboutme.php.zip">aboutme.php.zip</a></p>
<p>但し、自己責任でお願いします。この時のバージョンは1.04です。</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/326/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP：cssでフォントの指定</title>
		<link>http://sousakuyasai.info/press/archives/321</link>
		<comments>http://sousakuyasai.info/press/archives/321#comments</comments>
		<pubDate>Mon, 07 Apr 2008 05:27:10 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/321</guid>
		<description><![CDATA[いちいち面倒なのでメモ。 body { font: 100%/150% &#8216;ヒラギノ角ゴ Pro W3&#8242;,&#8217;Hiragino Kaku Gothic Pro&#8217;,'メイリオ&#8217;,Meiryo,&#8217;ＭＳ Ｐゴシック&#8217;,sans-serif; text-align: center; }]]></description>
			<content:encoded><![CDATA[<p>いちいち面倒なのでメモ。</p>
<p>body { font: 100%/150% &#8216;ヒラギノ角ゴ Pro W3&#8242;,&#8217;Hiragino Kaku Gothic Pro&#8217;,'メイリオ&#8217;,Meiryo,&#8217;ＭＳ Ｐゴシック&#8217;,sans-serif; text-align: center; }</p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/321/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wpmuでPost Thumbs</title>
		<link>http://sousakuyasai.info/press/archives/309</link>
		<comments>http://sousakuyasai.info/press/archives/309#comments</comments>
		<pubDate>Sun, 06 Apr 2008 08:26:32 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress･Xoops]]></category>

		<guid isPermaLink="false">http://sousakuyasai.info/press/archives/309</guid>
		<description><![CDATA[home.phpで記事に埋め込まれた写真のサムネイルを表示させたかったので、ミライナカさんのサイトに紹介してあるプラグインを導入。 WPMUとCoreServerの組み合わせだとやや設定にクセがあったのでメモ。 問題なのが管理画面の設定。 Domain nameは、通常のWPな]]></description>
			<content:encoded><![CDATA[<p>home.phpで記事に埋め込まれた写真のサムネイルを表示させたかったので、<a href="http://fujinoken.jugem.jp">ミライナカ</a>さんのサイトに紹介してあるプラグインを導入。</p>
<p>WPMUとCoreServerの組み合わせだとやや設定にクセがあったのでメモ。</p>
<p><img src="http://sousakuyasai.info/press/files/2008/04/post-thumbnails-wordpress.jpg" alt="オルゴール › Post Thumbnails — WordPress.jpg" width="400" height="419" /></p>
<p>問題なのが管理画面の設定。</p>
<p>Domain nameは、通常のWPならそのままドメインを入れればよいが、WPMUでサブドメイン運用をしている場合、サブドメインを入れなければいけない。</p>
<p>例：hoge.hogehoge.com</p>
<p>Full domain name</p>
<p>例：http://hoge.hogehoge.com</p>
<p>Base pathの設定にちょっとコツがいる。</p>
<p>※CoreServer（xreaでも同じだが）では、/virtual/(取得したときの名前)/public&#8230;/&#8230;となる。</p>
<p>この設定は何かというと、プラグインが作成するサムネイルを保存するディレクトリを指定するための設定。したがって、SafeModeで動いているCoreServerではあらかじめディレクトリを作っておく必要があるのと、MUで運用している場合、ユーザー毎のファイルディレクトリを指定しておかなければうまく動かないと言うこと。</p>
<p>1.wp-content/blog.dir/(ブログID)/files/.pthumbsを作成、パーミッションを777に。</p>
<p>2.Base path設定を”/virtual/(取得したときの名前)/public&#8230;/default.hogehoge.com/files/blogs.dir/(ブログID)</p>
<p>これでOK。</p>
<p>あとは、テンプレートのループの中に&lt;?php echo tb_post_thumb(true);?&gt;を挿入。</p>
<p>これで一応動いているのでよしとする。</p>
<p>ダウンロード：<a href="http://theblemish.com/post-thumbs-plugin/">theblemish</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sousakuyasai.info/press/archives/309/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
