<?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>半月記 &#187; WordPress</title>
	<atom:link href="http://pasero.net/~mako/blog/s/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://pasero.net/~mako/blog</link>
	<description></description>
	<lastBuildDate>Sun, 06 May 2012 11:42:06 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>『本格ビジネスサイトを作りながら学ぶ WordPressの教科書』</title>
		<link>http://pasero.net/~mako/blog/s/370</link>
		<comments>http://pasero.net/~mako/blog/s/370#comments</comments>
		<pubDate>Fri, 06 Apr 2012 02:52:11 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=370</guid>
		<description><![CDATA[著者のプライム・ストラテジーさんが『本格ビジネスサイトを作りながら学ぶ WordPressの教科書』を、「日本語作成チームに感謝の気持を込めて」と、この私にもご恵贈くださいました。ありがとうございました。 自分にできるこ &#8230; <a href="http://pasero.net/~mako/blog/s/370">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>著者のプライム・ストラテジーさんが『<a href="http://www.facebook.com/wp.business.book" >本格ビジネスサイトを作りながら学ぶ WordPressの教科書</a>』を、「日本語作成チームに感謝の気持を込めて」と、この私にもご恵贈くださいました。ありがとうございました。</p>
<p>自分にできることを少しだけやったことが、巡り巡って還ってくるというのを実感できるというのは嬉しいものです。</p>
<p>それはさておき。</p>
<p>最近この種の本を手にすることはあまりなかったのですが、まずきれい。全ページカラーで見やすい。情報量はかなり多そうですが、全体の流れが掴みやすく工夫されていて、通読しやすそうです。一方で、目次がとても充実しており(実際には<a href="http://www.sbcr.jp/products/4797367584.html" >出版社のページ</a>にあるものよりもう一段深く、目次だけで10ページもあります)、あとで辞書的に調べたいところを探すのにも便利そうです。書籍というものの特長をあらためて感じました。</p>
<p>これからじっくり読んで、ここや自分が関わっているサイトももう少し見直してみようという気になりました。<p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/370/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automattic製テーマ Coraline と Pilcrow の日本語化</title>
		<link>http://pasero.net/~mako/blog/s/368</link>
		<comments>http://pasero.net/~mako/blog/s/368#comments</comments>
		<pubDate>Wed, 21 Mar 2012 08:05:19 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[テーマ]]></category>
		<category><![CDATA[日本語]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=368</guid>
		<description><![CDATA[Automattic は言わずと知れた WordPress の開発元、そしてブログサービス WordPress.com の運営元です。WordPress 公式テーマディレクトリで、その Automattic 製のテーマが &#8230; <a href="http://pasero.net/~mako/blog/s/368">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://automattic.com/" >Automattic</a> は言わずと知れた <a href="http://wordpress.org/" >WordPress</a> の開発元、そしてブログサービス <a href="http://wordpress.com/" >WordPress.com</a> の運営元です。<a href="http://wordpress.org/extend/themes/" >WordPress 公式テーマディレクトリ</a>で、その <a href="http://wordpress.org/extend/themes/profile/automattic" >Automattic 製のテーマ</a>が公開されています。</p>
<p><a href="http://wordpress.org/extend/themes/coraline" >Coraline</a> は、TwentyTen の双子のようなテーマで、むしろこちらのほうが柔軟性があると私は勝手に思っています。<a href="http://wordpress.org/extend/themes/pilcrow" >Pilcrow</a> は2012年になって登場し、Coraline の後継じゃないかとこれまた勝手に思っていますが、配布版 WordPress のデフォルトとなってもおかしくないと思える作りのテーマです。</p>
<p>たぶん <a href="http://wordpress.com/" >WordPress.com</a> のサービスでは、これらのテーマが様々な言語に対応して提供されているのでしょうが、この公式ディレクトリで配布されているものには言語リソースが(日本語に限らずどの言語のものも)同梱されていません。</p>
<h3>「非公式」日本語リソース</h3>
<p>そこでこの Coraline と Pilcrow の日本語リソースを作成したので公開します。と言っても、デフォルトのテーマ TwentyEleven とほとんど同じメッセージですのでそれを取り込んで、独自に訳す必要があったのはほんの数個です。</p>
<ul>
  <li><a href='http://pasero.net/~mako/blog/wp-content/uploads/2012/03/coraline-ja.zip'>coraline-ja.zip</a></li>
  <li><a href='http://pasero.net/~mako/blog/wp-content/uploads/2012/03/pilcrow-ja.zip'>pilcrow-ja.zip</a></li>
</ul>
<p>中身はそれぞれの ja.po と ja.mo だけです。テーマをインストールしたディレクトリの languages/ 以下に ja.mo を置いてください。</p>
<h3>「公式」日本語リソース</h3>
<p>Twitter でひょんなことからこの Automattic 製テーマの日本語リソースの話になったところ、Nao さんから</p>
<blockquote>
Naoko McCracken<br />
@mako0901 @urepko こちらもよかったらどうぞー。<a href="http://t.co/SqfNQ51P" >http://t.co/SqfNQ51P</a> WP.com アカウントでログインすればページの下の方からエクスポートできますが。。。　このやり方どっかに書いたほうが良いですね。<br />
<a href="https://twitter.com/#!/naokomc/statuses/182089616394956800" >2012年3月20日 &#8211; 22:02</a>
</blockquote>
<p>というリプライがありました。「公式」リソースが、普通には気付けないこんなところに隠れていました。「このやり方」をここに書いてみます。この短縮されているけれど本当は長い URL には、次のようにしてたどりつけます。</p>
<p>まず、<a href="http://translate.wordpress.com/" >http://translate.wordpress.com/</a>にアクセスします。Projects の WordPress.com に進みます。さらに日本語の Japanese に進みます。ここで、右上の Log in で、WordPress.com のアカウントを使ってログインしておきます。</p>
<p>左端にある Filter↓ をクリックします。Term: に、絞り込みたい語を入力します。ここでは、coraline と入力します。その右側の選択肢は、Either と Current/waiting/fuzzy のままでかまいません。そして「Filter」ボタンをクリックすると、テーマ coraline に関するメッセージだけが抽出されます。</p>
<p>画面の一番下に行き、only matching the filter を po として、Export すれば、目的のものが手に入ります。テーマ pilcrow のものだったら、検索語を pilcrow にするだけです。</p>
<p>これで po が手に入りますので、ja.mo に変換して、適切な場所に配置します。</p>
<br />
<p>【追記】 Nao さんのところに、より詳しい解説が出ました。「<a href="http://ja.naoko.cc/2012/03/22/get-wordpress-com-free-theme-translation/" >GlotPress から WordPress.com の無料テーマの翻訳をエクスポートする</a>」</p>]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/368/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress に記述できるプロトコル(スキーム)を拡張する</title>
		<link>http://pasero.net/~mako/blog/s/355</link>
		<comments>http://pasero.net/~mako/blog/s/355#comments</comments>
		<pubDate>Tue, 07 Feb 2012 15:25:41 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XMPP]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=355</guid>
		<description><![CDATA[WordPress の記事の中などでリンクを記述する場合、特定のスキームしか書くことができません。たとえば http:// や mailto: は書くことができますが、git:// や skype: などと書こうとしても &#8230; <a href="http://pasero.net/~mako/blog/s/355">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress の記事の中などでリンクを記述する場合、特定のスキームしか書くことができません。たとえば <code>http://</code> や <code>mailto:</code> は書くことができますが、<code>git://</code> や <code>skype:</code> などと書こうとしても、自動的に削除され、<code>http://</code> とみなされてしまいます (管理者権限で記事を書いている場合は適用されず、自由に書くことができます。権限が編集者以下の場合です)。</p>
<p>調べてみると、WordPress 3.3 からこの制限は <code>wp-includes/functions.php</code> の <code>wp_allowed_protocols()</code> に書かれています。そこを見てみると、スキーム名を追加するには <code>kses_allowed_protocols</code> というフックを使えばよさそうです。</p>
<p>いま <code>xmpp:</code> というスキームのリンクを記述したいので、テーマの <code>functions.php</code> あたりに</p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">PHP:</span><br /><div id="php-2">
<div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">function</span> ext_protocols <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$protocols</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #0000ff;">$protocols</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'xmpp'</span>;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$protocols</span>;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">add_filter<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'kses_allowed_protocols'</span>, <span style="color: #ff0000;">'ext_protocols'</span><span style="color: #66cc66;">&#41;</span>;</div></li></ol></div>
</div></div><br />
<p>と書きました。これで記事中に<a href="xmpp:mako@pasero.net" >xmpp:mako@pasero.net</a> や <a href="xmpp:なんでも談話室@muc.step.im?join" >xmpp:なんでも談話室@muc.step.im?join</a> などのリンクを記述できるようになりました。</p>]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/355/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>フォントの指定をやめる</title>
		<link>http://pasero.net/~mako/blog/s/348</link>
		<comments>http://pasero.net/~mako/blog/s/348#comments</comments>
		<pubDate>Sun, 18 Dec 2011 13:29:34 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ソフトウェア]]></category>
		<category><![CDATA[フォント]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=348</guid>
		<description><![CDATA[久々に Windows を使う機会があって、この自分のページを見てみた。見難い。醜い。明朝体の表示がこうも汚いのは何かの陰謀だろうかと思えるほどだ。WordPress のテーマのカスタマイズの記事などで「まずゴシック系を &#8230; <a href="http://pasero.net/~mako/blog/s/348">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>久々に Windows を使う機会があって、この自分のページを見てみた。見難い。醜い。明朝体の表示がこうも汚いのは何かの陰謀だろうかと思えるほどだ。WordPress のテーマのカスタマイズの記事などで「まずゴシック系を指定して」という記述をよく目にするのはこういう訳だったのかと今更ながら思った。</p>
<p>身の周りにある本らしい本を見てみれば、見出はともかく、本文はたいてい明朝 (serif) 系ではないか、という信念で、この自分のページは明朝 (serif) 系で表示するようにしていたのだが、こんな表示では逆効果なのであった。Windows の設定をいろいろいじればもう少し何とかなるのかもしれないが、普段からしっかり使いこなしている訳でもないから、簡単にできることではなさそうだ。きっと大多数のユーザーもそんなものだろう。</p>
<p>さて、ではなるべく多くの人にきれいに見せるにはページの制作側では <abbr>CSS</abbr> での <var>font-family</var> をどう設定したものか、と考え始めた。いろいろ探しまわって考えているうちに、もうそういうのはやめて見る側にまかせてしまえばいいや、という気になってきた。</p>
<blockquote>
Vista以降の人は見慣れたメイリオで。<br />
XP以前の人は見慣れたMSPゴシックで。<br />
メイリオが気に入った人は、メイリオで。<br />
Macの人はヒラギノ角ゴで。<br />
明朝が好きな人は、明朝で。<br />
へた字とか好きでたまらない特殊なフォントで。<br />
<address style="text-align:right">(<a href="http://cunm-oki.way-nifty.com/blog/2010/04/font-family-41b.html" >流儀　font-familyは指定すべきか</a>)</address>
</blockquote>
<p>WordPress 関連のページを見る機会が多くデザインを重視する記事をたくさん見ていたのですっかり忘れていたけれど、そもそも <abbr>HTML</abbr> というのは、見る側の環境によって違って当たり前なのだった。</p>
<p>「本文は明朝系」という信念の人(私だ)はブラウザのデフォルトを serif に設定しているだろうし、Windows でも自分の好みの表示になるようにがっちり設定している人には、そのフォントで読めるようにしてあげればいいではないか。</p>
<p>という訳で、このページの本文の <var>font-family</var> の指定はやめることにした<sup><a href="#footnote-1-348" id="footnote-link-1-348" title="See the footnote.">1</a>)</sup>。フォントに限らず横幅も何も、本来は見る側の自由なのだという気にだんだんなってきた。</p>
<br /><ol class="footnotes"><li id="footnote-1-348">このページは <a href="http://wordpress.org/extend/themes/coraline/" >coraline</a> というテーマの子テーマで表示している。親テーマで <var>font-family</var> が指定されているので、子テーマでこれを消去はできず、そこで存在しないであろうフォント名を指定して上書きしている。<pre>
body, input, textarea {
        font-family: undefined;
}
</pre>  <a href="#footnote-link-1-348">&#8617;</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/348/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress で Google マップを使う (再挑戦)</title>
		<link>http://pasero.net/~mako/blog/s/342</link>
		<comments>http://pasero.net/~mako/blog/s/342#comments</comments>
		<pubDate>Sat, 17 Sep 2011 14:48:22 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=342</guid>
		<description><![CDATA[以前に「Google マップを使う」を書きましたが、その後 WordPress も Google マップもずいぶん進化して、時代遅れになってしまいました。 意図してる使い方は次のようなものです。 固定ページに位置情報を持 &#8230; <a href="http://pasero.net/~mako/blog/s/342">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>以前に「<a href="http://pasero.net/~mako/blog/s/35" >Google マップを使う</a>」を書きましたが、その後 WordPress も <a href="http://maps.google.co.jp/" >Google マップ</a>もずいぶん進化して、時代遅れになってしまいました。</p>
<p>意図してる使い方は次のようなものです。</p>
<ul>
  <li>固定ページに位置情報を持たせる。その固定ページにマップが表示される</li>
  <li>それらのインデックスとなるような、上記の各ページにリンクされたマークが表示された全体図が、別の固定ページがある</li>
</ul>
<p>たとえば、会社案内のサイトで各支店ごとに固定ページを作り、それぞれに案内地図を掲載し、「支店一覧」の全体図が別にもうひとつある、というイメージです。<a href="http://wppluginsj.sourceforge.jp/lightweight-google-maps/" >Lightweight Google Maps</a> はほぼ条件を満たしていますが、その便利な機能がこちらの思惑には合いませんでした。</p>
<p>ざっと探してみましたが、「固定ページに位置情報」というものはなかなかありません。そこで、固定ページではなく投稿に、というプラグイン <a href="http://wordpress.org/extend/plugins/romeluv-google-maps-for-wordpress/" >RomeLuv Google Maps for WordPress</a> を見つけたので、それを改変することにしました。</p>

<h3>RomeLuv Google Maps for WordPress を改変</h3>
<div class="igBar"><span id="ldiff-6"><a href="#" onclick="javascript:showPlainTxt('diff-6'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">DIFF:</span><br /><div id="diff-6">
<div class="diff" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">--- romeluv-maps.php.orig</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">+++ romeluv-maps.php</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-51</span>,<span style="color:#800000;">6</span> <span style="color:#800000;">+51</span>,<span style="color:#800000;">12</span> @@</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'romeluv_maps_inner_custom_box',</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'post' </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;<span style="">&#41;</span>;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; add_meta_box<span style="">&#40;</span> </span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; 'romeluv_maps_sectionid',</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; __<span style="">&#40;</span> 'Maps', 'romeluv_maps_textdomain' <span style="">&#41;</span>,</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; 'romeluv_maps_inner_custom_box',</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; 'page' </span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; <span style="">&#41;</span>;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="">&#125;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-361</span>,<span style="color:#800000;">6</span> <span style="color:#800000;">+367</span>,<span style="color:#800000;">7</span> @@</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="">&#125;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;add_action<span style="">&#40;</span>'save_post', 'romeluv_maps_handle_savepost'<span style="">&#41;</span>;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+add_action<span style="">&#40;</span>'save_page', 'romeluv_maps_handle_savepost'<span style="">&#41;</span>;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-385</span>,<span style="color:#800000;">7</span> <span style="color:#800000;">+392</span>,<span style="color:#800000;">7</span> @@</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>$romeluv_single_map_done<span style="">&#41;</span> return $post_content_html; else $romeluv_single_map_done=TRUE;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>!is_single<span style="">&#40;</span><span style="">&#41;</span><span style="">&#41;</span> return $post_content_html;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>!is_single<span style="">&#40;</span><span style="">&#41;</span> &amp;&amp; !is_page<span style="">&#40;</span><span style="">&#41;</span><span style="">&#41;</span> return $post_content_html;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//return &quot;&quot;.$post_content_html;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; global $wpdb,$post,$mapheight;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; $savepost=$post;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-552</span>,<span style="color:#800000;">13</span> <span style="color:#800000;">+559</span>,<span style="color:#800000;">25</span> @@</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;global $wpdb,$post;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;$savepost=$post;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; extract<span style="">&#40;</span> shortcode_atts<span style="">&#40;</span> array<span style="">&#40;</span></span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'cat' =&gt; '', // category ID</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;<span style="">&#41;</span>, $atts <span style="">&#41;</span> <span style="">&#41;</span>;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>esc_attr<span style="">&#40;</span>$cat<span style="">&#41;</span> == ''<span style="">&#41;</span> <span style="">&#123;</span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>isset<span style="">&#40;</span>$_GET<span style="">&#91;</span>cat<span style="">&#93;</span><span style="">&#41;</span><span style="">&#41;</span> $get_cat = $_GET<span style="">&#91;</span>cat<span style="">&#93;</span>;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;<span style="">&#125;</span> else <span style="">&#123;</span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$get_cat = esc_attr<span style="">&#40;</span>$cat<span style="">&#41;</span>;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;<span style="">&#125;</span>;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;////query all the posts to display on the global map</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; $querystr = &quot;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; SELECT wposts.* </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; FROM $wpdb-&gt;posts wposts </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; WHERE&nbsp; wposts.post_status = 'publish' </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; &nbsp; &nbsp;AND wposts.post_type = 'post' &quot;. $whereadditional .&quot;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp;AND <span style="">&#40;</span>wposts.post_type = 'post' OR wposts.post_type = 'page'<span style="">&#41;</span> &quot;. $whereadditional .&quot;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY wposts.post_date DESC</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;&quot;;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;//echo $querystr; //useful for debugging your custom query</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-571</span>,<span style="color:#800000;">9</span> <span style="color:#800000;">+590</span>,<span style="color:#800000;">7</span> @@</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>$result_posts<span style="">&#41;</span>:</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; if <span style="">&#40;</span>isset<span style="">&#40;</span>$_GET<span style="">&#91;</span>cat<span style="">&#93;</span><span style="">&#41;</span><span style="">&#41;</span>&nbsp; echo '&lt;h3 id=&quot;map-category-heading&quot;&gt;'.get_cat_name<span style="">&#40;</span>$_GET<span style="">&#91;</span>cat<span style="">&#93;</span><span style="">&#41;</span>.'&lt;/h3&gt;';</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; </span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; </span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; if <span style="">&#40;</span>isset<span style="">&#40;</span>$get_cat<span style="">&#41;</span><span style="">&#41;</span>&nbsp; echo '&lt;h3 id=&quot;map-category-heading&quot;&gt;'.get_cat_name<span style="">&#40;</span>$get_cat<span style="">&#41;</span>.'&lt;/h3&gt;';</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;$mapwidth=get_option<span style="">&#40;</span>'global_romeluv_mapwidth'<span style="">&#41;</span>;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;$mapheight=get_option<span style="">&#40;</span>'global_romeluv_mapheight'<span style="">&#41;</span>;</div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-614</span>,<span style="color:#800000;">7</span> <span style="color:#800000;">+631</span>,<span style="color:#800000;">7</span> @@</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $count++;&nbsp; </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>isset<span style="">&#40;</span>$_GET<span style="">&#91;</span>cat<span style="">&#93;</span><span style="">&#41;</span><span style="">&#41;</span> if <span style="">&#40;</span>!in_category<span style="">&#40;</span>$_GET<span style="">&#91;</span>cat<span style="">&#93;</span>,$post-&gt;ID<span style="">&#41;</span><span style="">&#41;</span> continue; //this allows category filtering adding the $_GET parameter ?cat=xx</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if <span style="">&#40;</span>isset<span style="">&#40;</span>$get_cat<span style="">&#41;</span><span style="">&#41;</span> if <span style="">&#40;</span>!in_category<span style="">&#40;</span>$get_cat,$post-&gt;ID<span style="">&#41;</span><span style="">&#41;</span> continue; //this allows category filtering adding the $_GET parameter ?cat=xx</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if <span style="">&#40;</span>is_category<span style="">&#40;</span><span style="">&#41;</span><span style="">&#41;</span> <span style="">&#123;</span> if <span style="">&#40;</span>!in_category<span style="">&#40;</span>$cat_ID,$post-&gt;ID<span style="">&#41;</span><span style="">&#41;</span> continue;&nbsp; <span style="">&#125;</span>&nbsp; &nbsp;//skip posts if viewing a category page, if those do not match the current category</div></li></ol></div>
</div></div><br />
<p>改変の内容は、</p>
<ul>
  <li>固定ページの作成画面にも「Maps」の入力欄を表示する</li>
  <li>全体図の出力の際に固定ページも対象にする</li>
  <li>全体図を出力するショートコード <code>&#91;GLOBALMAP]</code> に、オプション<code>cat</code> を追加する</li>
</ul>
<p>です。この最後の項目は次のような事情です。</p>
<p><a href="http://www.romeluv.com/maps-plugin-testrun/global-map-example/" >このプラグインのオリジナル版では、全体図を表示させるには</a>、固定ページでショートコード <code>&#91;GLOBALMAP]</code> を用います。特定のカテゴリーに属する投稿だけを全体図に表示するという絞り込みができます。その方法は、カテゴリーの ID をパラメータで付加して、http://www.example.com/map?cat=6 のような形で、全体図のページを呼ぶようにします。</p>
<p>しかし、WordPress 標準のメニュー機能でこのような形式のリンクを作る方法が思い浮かびません。そこで、むしろ複数の全体図のページを用意することにして(たとえば http://www.example.com/map1 と http://www.example.com/map6)、それぞれのページでのショートコードにオプションでカテゴリー ID を付けるようにしました(たとえば <code>&#91;GLOBALMAP cat="1"]</code> と <code>&#91;GLOBALMAP cat="6"]</code>)</p>
<p>さて、ここでは固定ページに位置情報を付加して、全体図を作ることを想定しています。すると固定ページにもカテゴリーが設定されていないと、上記の絞り込みができません。テーマの functions.php か何かで</p>
<div class="igBar"><span id="lphp-7"><a href="#" onclick="javascript:showPlainTxt('php-7'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">PHP:</span><br /><div id="php-7">
<div class="php" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">function</span> add_category_to_page<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; register_taxonomy_for_object_type<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'category'</span>, <span style="color: #ff0000;">'page'</span><span style="color: #66cc66;">&#41;</span>; </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">add_action<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'init'</span>, <span style="color: #ff0000;">'add_category_to_page'</span><span style="color: #66cc66;">&#41;</span>;</div></li></ol></div>
</div></div><br />
<p>とやって、固定ページにもカテゴリーを設定できるようにしておく必要があります。</p>

<h3>twentyeleven で Google マップが壊れる</h3>
<p>実際に使用してみると、表示される地図が微妙に壊れていました。タイルの継ぎ目が合わずに道や川がずれているような感じになります。はじめ、自分が使っているブラウザか何かの環境のせいかと思って、いろいろ調べましたがわかりません。ようやく、テーマ twentyeleven にすると壊れて、twentyten にすると正常に表示されることに気がつきました。それから今度は twentyeleven のスタイルシートのどの記述が影響しているのか順に見ていき、ついに <code>img</code> に <code>max-width</code> が付いているとこの現象が起こることがわかりました。これだけで随分と時間を費やしました。</p>
<p>このプラグインの影響下の <code>img</code> のみ <code>max-width</code> を解除するため、</p>
<div class="igBar"><span id="lcss-8"><a href="#" onclick="javascript:showPlainTxt('css-8'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">CSS:</span><br /><div id="css-8">
<div class="css" style="font-family: monospace;"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">div<span style="color: #cc00cc;">#romeluv-global-map</span> img,</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">div<span style="color: #cc00cc;">#single-post-map</span> img <span style="color: #66cc66;">&#123;</span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">max-width</span>: <span style="color: #993333;">none</span>;</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li></ol></div>
</div></div><br />
<p>をスタイルシートに書いて、解決しました。</p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/342/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.2.1 日本語版への更新</title>
		<link>http://pasero.net/~mako/blog/s/328</link>
		<comments>http://pasero.net/~mako/blog/s/328#comments</comments>
		<pubDate>Thu, 21 Jul 2011 03:11:51 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=328</guid>
		<description><![CDATA[WordPress 3.2.1 日本語版がリリースされました。この案内にもきちんと書かれていますが、読みようによっては誤解したり不安を感じたりする方もあるようですので、ここにやや詳しく書いてみます。 WordPress  &#8230; <a href="http://pasero.net/~mako/blog/s/328">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ja.wordpress.org/2011/07/20/wordpress-3-2-1-ja/" >WordPress 3.2.1 日本語版</a>がリリースされました。この案内にもきちんと書かれていますが、読みようによっては誤解したり不安を感じたりする方もあるようですので、ここにやや詳しく書いてみます。<p>
<h3>WordPress 日本語版パッケージ</h3>
<p>配布されている<a href="http://ja.wordpress.org/releases/" >WordPress 日本語版パッケージ</a>に含まれているものは</p>
<dl>
  <dt>日本語リソース</dt>
  <dd>本体のメッセージを日本語に置き換えて表示するためのもの</dd>
  <dt>WordPress 本体</dt>
  <dd>日本語リソースでカバーできない変更のため、いくつかのファイルを差し替えている</dd>
</dl>
<p>のほかに、オマケとして</p>
<dl>
  <dt>テーマ Twenty Eleven</dt>
  <dd>日本語版ではこのテーマのメッセージを日本語に置き換える日本語リソースを同梱している</dd>
  <dt>テーマ Twenty Ten</dt>
  <dd>日本語版ではこのテーマのメッセージを日本語に置き換える日本語リソースを同梱している</dd>
  <dt>プラグイン Hello Dolly</dt>
  <dd>日本語版では、「プラグイン」の一覧で表示される説明文を翻訳している</dd>
  <dt>プラグイン Akismet</dt>
  <dd>日本語版では、「プラグイン」の一覧で表示される説明文を翻訳している</dd>
  <dt>プラグイン WP Multibyte Patch</dt>
  <dd>マルチバイト文字の取り扱いに関する不具合の累積的修正と強化を行うもので、日本語版で独自に同梱しているもの</dd>
</dl>
<p>です。</p>

<h3>はじめてのインストールは問題ない</h3>
<p>これまで WordPress を使用していなかったところに、はじめて導入する場合は、何も考えることはありません。<a href="http://ja.wordpress.org/latest-ja.zip" >最新版</a>をダウンロードしてインストールしてください。</p>

<h3>自動更新</h3>
<p>WordPress 日本語版の新しいバージョンがリリースされると、WordPress の管理画面(ダッシュボード)で、その旨の通知があります。案内に従って手順をすすめれば、新しいバージョンに更新されます。従来(3.2まで)は、この手順でパッケージに含まれるすべて、つまり上述の本体とオマケのすべてがパッケージ内のものに更新されていました。</p>

<h4>オマケは更新されなくなった</h4>
<p>3.2.1 以降、自動更新では、<strong>本体のみ</strong>が更新され、<strong>オマケの部分は自動更新されない</strong>ことになりました。たとえばテーマ Twenty Eleven のバージョンは、WordPress 3.2 日本語版では 1.1 で、WordPress 3.2.1 日本語版では 1.2 です。もし 3.2 日本語版で運用しているところで、本体の自動更新を行っても Twenty Eleven は 1.1 のままです。</p>
<p>もし、これらのオマケをまったく利用していなければ、以下の話は読み飛ばしてもかまいません。</p>

<h3>テーマやプラグインは別途に</h3>
<p>オマケのテーマやプラグインに、もし新しいバージョンがリリースされた場合、本体の更新とは別に、個別に「更新」の通知があります。後から独自に導入したテーマやプラグインとまったく同等の扱いになるということです。</p>
<p>オマケのテーマやプラグインであっても、本体のリリースとは無関係に新しいバージョンがリリースされることがあります。</p>

<h4>日本語リソースはさらに別途に</h4>
<p>テーマやプラグインは、本体とまったく別途に更新できます。しかし、ここで注意することがあります。従来のように本体のオマケとして配布されていたときには、それらの日本語リソースや説明文を翻訳していたものを配布できていました。しかし今後、個別に更新される際には、それらの含まれないオリジナル(英語版)になってしまうのです。</p>
<p>テーマ Twenty Eleven を例にとります。「更新」の通知があったら、まずこの Twenty Eleven を更新します。その状態では日本語リソースは存在しません (1.1 のときに存在していても 1.2 に更新したら消えてしまいます)。そこで、日本語リソースを別途入手して、適切に配置します。現時点での最新の日本語リソースは <a href="http://i18n.svn.wordpress.org/ja/branches/3.2/messages/twentyeleven/ja.mo" >http://i18n.svn.wordpress.org/ja/branches/3.2/messages/twentyeleven/ja.mo</a> です (この記事をずっと後にご覧になる方はバージョンやテーマ名にご注意ください)。これをダウンロードして、wp-content/themes/twentyeleven/languages/ の下に置き、サーバーが読める状態にしておきます。</p>
<p>同様に、テーマ Twenty Ten の日本語リソースは<a href="http://i18n.svn.wordpress.org/ja/branches/3.2/messages/twentyten/ja.mo" >http://i18n.svn.wordpress.org/ja/branches/3.2/messages/twentyten/ja.mo</a> にあります。</p>
<p>プラグイン Akismet や Hello Dolly をもし更新した場合は、「プラグイン」一覧に表示される説明文が日本語ではなく英語になってしまいますが、動作には何ら影響はありません (この説明文はそれぞれの php の冒頭にコメントの形で書かれているものです)。どうしても気になる場合は、やはり日本語版の配布元 (<a href="http://i18n.svn.wordpress.org/ja/branches/3.2/dist/wp-content/plugins/" >http://i18n.svn.wordpress.org/ja/branches/3.2/dist/wp-content/plugins/</a> あたりにあります) から、その部分を差し替えたものを入手して、適切に配置してください</p>

<h3>WP Multibyte Patch</h3>
<p><a href="http://eastcoder.com/code/wp-multibyte-patch/" >WP Multibyte Patch</a> は新しい<a href="http://eastcoder.com/2011/07/wp-multibyte-patch-1-5/" >バージョン 1.5</a> で、この自動更新の振る舞いの変更に対応されました。</p>
<blockquote>
<p>WP Multibyte Patch 1.5 をリリースしました。<br />
今回は<strong>重要な変更</strong>があります。設定ファイル (wpmp-config.php) の設置場所が <code>/wp-content</code> の下に変わりました。設定ファイルをサイトでご利用中の方は、以下配置で再設定を行ってください。</p>
<p><code>/wp-content/wpmp-config.php</code></p>
<p>この作業は設定ファイルをご利用中のサイトにおいて 1.5 より古いバージョンから 1.5 以降のバージョンにはじめてアップデートした場合に1度だけ必要となります。設定ファイルをご利用でない場合は作業の必要はありません。</p>
</blockquote>
<p>ということですから、注意してください。</p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/328/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jabber と WordPress (補遺)</title>
		<link>http://pasero.net/~mako/blog/s/220</link>
		<comments>http://pasero.net/~mako/blog/s/220#comments</comments>
		<pubDate>Sun, 09 Jan 2011 12:52:30 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Jabber]]></category>
		<category><![CDATA[P2]]></category>
		<category><![CDATA[XMPP]]></category>
		<category><![CDATA[テーマ]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=220</guid>
		<description><![CDATA[もたもたしている間に年が変わってしまいました。先日の記事に、これまで Jabber/XMPP と WordPress の連関について触れているところは少ない、というようなことを書いたのですが、前の記事を書く際に「Word &#8230; <a href="http://pasero.net/~mako/blog/s/220">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>
もたもたしている間に年が変わってしまいました。先日の記事に、これまで Jabber/XMPP と WordPress の連関について触れているところは少ない、というようなことを書いたのですが、前の記事を書く際に「<a href="http://ueda51.net/wordpress/?p=508" >WordPress勉強会「Automatticのワークスタイル」に参加しました</a>」を見落としていました。
</p>
<p>
2009年8月とさらに1年遡って、その時点では Automattic 社内の事例として、<a href="http://p2theme.com/" >P2</a> と <a href="http://im.wordpress.com" >im.wordpress.com</a> のことに触れられています。その頃にはまったく気づいていませんでしたが。
</p>
<h3>P2 テーマと Jabber/XMPP</h3>
<p>
たとえば WordPress の翻訳に関わる人たちの情報交換の場が、昨年(2010年)9月末にメーリングリストから、この P2 を使った <a href="http://wppolyglots.wordpress.com/ " >WP Polyglots</a> に移行しました。私はもっぱら眺めているだけなのですが、私にとって P2 は非常に読みにくくて、移行後はもう読むこと自体をやめてしまっていました。
</p>
<p>
<a href="http://pasero.net/~mako/blog/s/178" >前の記事</a>で触れた「<a href="http://ja.blog.wordpress.com/2010/09/24/want-instant-delivery-of-new-blog-posts-comments/" >ブログ投稿やコメントの即時配信</a>」の記事を読んで、ようやく Jabber 通知を使えることを知り、さっそく継読するようにしました。コメントが投稿されるたびに通知されるので、以後はさっと流し読みだけでもできるようになりました。個人的には、Jabber/XMPP と組み合わせてはじめて P2 の力を見ることができました。
</p>
<p>
1年前や2年前の記事を見て何を今さら、と言われそうですが、私の検索能力が低いのか、やはり P2 を取り上げながら Jabber/XMPP に触れているのは、特に日本語では、上記の2009年の Automattic 社内の話以外には見つけることができません(<a href="http://www.slideshare.net/naokomc/wordpress-1969899" >このスライド</a>も同じ時期のようです)。どうも Jabber/XMPP はあまり関心を持たれていないようです。
</p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/220/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jabber と WordPress (後編)</title>
		<link>http://pasero.net/~mako/blog/s/178</link>
		<comments>http://pasero.net/~mako/blog/s/178#comments</comments>
		<pubDate>Thu, 25 Nov 2010 23:48:34 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Jabber]]></category>
		<category><![CDATA[PubSub]]></category>
		<category><![CDATA[XMPP]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=178</guid>
		<description><![CDATA[Jabber/XMPP の PubSub 機能について簡単に解説します。WordPress.com はこれを使っての配信サービスを行っています。インストール型の WordPress では環境が整えばプラグインで実現できそうです。 <a href="http://pasero.net/~mako/blog/s/178">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>XMPP PubSub</h3>
<p>Jabber / XMPP には <a href="http://xmpp.org/extensions/xep-0060.html" >PubSub</a> という機能があります。Publish-Subscribe の意味です。</p>
<p><a href="http://pasero.net/~mako/blog/wp-content/uploads/2010/11/pubsub2.png"><img src="http://pasero.net/~mako/blog/wp-content/uploads/2010/11/pubsub2-300x225.png" alt="" title="pubsub" width="300" height="225" class="alignright size-medium wp-image-185" /></a>まず、Jabber サーバー上に「ノード node」と呼ばれるポイントを (たいていの場合、発信者が) 作成します。「発信者 publisher」と「継読者 subscriber」を文字どおり結びつける場所です。継読者は、このノードに対して継読を申し込みます(subscribe)。なお日本語では「購読」と訳されることが多いのですが、ここでは<a href="http://pasero.net/~mako/blog/s/113" >「継読」という語を当てます</a>。そして、発信者がノードに対して情報を送るたびに、登録されている継読者にそのことが通知されます。</p>
<p>配信サービスという意味では、RSS/Atom <a href="http://ja.wikipedia.org/wiki/%E3%83%95%E3%82%A3%E3%83%BC%E3%83%89" >フィード</a>によく似ています。フィードは、更新があるかどうかを受信者側から (フィードリーダーの設定などにより定期的に) 情報を読みにいきます。このブログのように月に一度ほどしか更新がないのに受信者側がフィードリーダーに「60分」などと設定していると、受信者側からのアクセスに対する返答の十中八九は「更新情報なし」で、無駄足だったということになります。だからと言ってあまり長い時間間隔に設定していると、新しい情報が出た際には受信者がそれを読みにいく時刻までに大きなラグが生じます。<p>
<p>それに対して PubSub は、発信者が情報を出すたびに、「電光石火の速さ」で継読者に通知されます。</p>

<h3>WordPress と PubSub</h3>
<p>WordPress.com のブログ記事「<a href="http://ja.blog.wordpress.com/2010/09/24/want-instant-delivery-of-new-blog-posts-comments/" >ブログ投稿やコメントの即時配信</a>」 (この日本語訳は2010年9月24日付ですが、元の<a href="http://en.blog.wordpress.com/2010/08/25/want-instant-delivery-of-new-blog-posts-comments/" >英文記事</a>は2010年8月25日付)は、WordPress.com のブログサービスにこの Jabber の PubSub 機能を連動させたことを伝えています。<a href="http://en.support.wordpress.com/jabber/" >WordPress.com のサポートのページ (英語)</a>の後半の解説によると、継読の申し込みや解除などの操作は bot を介して行うようです。</p>
<p>WordPress.com ではなく、<a href="http://ja.wordpress.org" >WordPress.org</a> で配布されているインストール型の WordPress には、この機能はないのでしょうか? プラグイン <a href="http://wordpress.org/extend/plugins/jabber-feed/" >Jabber Feed</a> を使えば実現できそうです。しかし、ノードを作成する権限のある Jabber サーバーがあるかどうか、など環境が整わないと難しそうです。自前で Jabber サーバーを設置できれば自由がききます。このブログにも設定してみました (サイドバーにリンクがあります)。</p>
<p>多くのホスティングサービスでは Web サーバー と Mail サーバーを使わせてくれますが、Jabber サーバーを使わせてくれるところというのは聞いたことがありません。素人考えでは Web サーバー や Mail サーバーに比べて難しいことはないと思うのですが。これが一般的になれば、Jabber の利用が拡がり、インストール型の WordPress でも PubSub を簡単に使えるようになるかもしれません。</p>

<p>【跋】 今頃(2010年11月末)になって、数カ月前の <a href="http://ja.blog.wordpress.com/2010/09/24/want-instant-delivery-of-new-blog-posts-comments/" >WordPress.com のブログ記事</a>に気づきました。しかし検索してみると、この間にこれに注目しているような日本語の情報は<a href="http://kojakbaby.wordpress.com/2010/11/02/%E4%BB%8A%E6%97%A5%E3%80%81%E7%AA%81%E7%84%B6%E3%80%81wordpress-com%E3%81%AEjabber%E5%AF%BE%E5%BF%9C%E6%A9%9F%E8%83%BD%E3%81%8C%E5%8B%95%E3%81%8D%E5%87%BA%E3%81%97%E3%81%9F%E3%80%82-%E4%B8%80%E3%81%8B/" >ごくわずかの例</a>を除いて見つかりませんでした。また、WordPress.com のブログ記事も PubSub の機能を主に紹介するもので、Jabber のもっとも一般的な面であるインスタントメッセージングについての解説がなかった (そもそも Jabber に関する情報は日本語ではとても少ない) ので、ここに書いてみることにしました。</p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/178/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Jabber と WordPress (前編)</title>
		<link>http://pasero.net/~mako/blog/s/168</link>
		<comments>http://pasero.net/~mako/blog/s/168#comments</comments>
		<pubDate>Wed, 24 Nov 2010 02:49:41 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Jabber]]></category>
		<category><![CDATA[XMPP]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=168</guid>
		<description><![CDATA[Jabber/XMPP とはインスタントメッセージングです。Jabber を始めるにはクライアントとアカウント(JID)が必要です。GMail か WordPress.com のアカウントを持っていれば、実は JID を持っていることになります。 <a href="http://pasero.net/~mako/blog/s/168">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Jabber / XMPP とは</h3>
<p>Jabber とはインスタントメッセージングサービスのひとつです。<a href="http://ja.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol" >XMPP</a> はそのプロトコルです。Web に対する HTTP と同じ対応で、Jabber に対する XMPP ということになります。</p>
<p>インスタントメッセージングサービスというと、「<a href="http://ja.wikipedia.org/wiki/Yahoo!%E3%83%A1%E3%83%83%E3%82%BB%E3%83%B3%E3%82%B8%E3%83%A3%E3%83%BC" >Yahoo!メッセンジャー</a>」とか「<a href="http://ja.wikipedia.org/wiki/Windows_Live_%E3%83%A1%E3%83%83%E3%82%BB%E3%83%B3%E3%82%B8%E3%83%A3%E3%83%BC" >Windows Live メッセンジャー</a>」などと同系統のものですが、<a href="http://xmpp.org/" >仕様がオープン</a>なので、多くのサーバーやクライアントのソフトが存在します。好きなクライアントを選んで使うことができますし、また、Web サーバーや Mail サーバーを設置・運用するのと同じように、自分でサーバーを設置して運用することもできます。XMPP どうしならサーバーを越えて通信できます。たとえば、<a href="http://www.google.co.jp/talk/intl/ja/about.html" >Google トーク</a>は XMPP 準拠なので、ほかの XMPP のサーバー、ネットワークと通信できます。</p>
<p><a href="http://pasero.net/~mako/blog/wp-content/uploads/2010/11/pubsub1.png"><img src="http://pasero.net/~mako/blog/wp-content/uploads/2010/11/pubsub1-300x225.png" alt="Jabber / XMPP" title="Jabber / XMPP" width="300" height="225" class="alignright size-medium wp-image-172" /></a>1対1のチャットは、あまり説明の必要はありませんが、ちょうどメール、その返事、その返事……の連続といったものととらえることもできます。</p>
<p>多人数のチャット (Muiti-User Chat (MUC))もあります。ユーザーからの見た目や操作は <a href="http://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E3%83%BB%E3%83%AA%E3%83%AC%E3%83%BC%E3%83%BB%E3%83%81%E3%83%A3%E3%83%83%E3%83%88" >IRC</a> によく似ています。</p>
<h3>クライアントとアカウント</h3>
<p>Jabber を始めるのに必要なものは、まず Jabber クライアントです。Web を利用するのにブラウザが、Mail を利用するのにメールソフトが必要なのと同じです。</p>
<p>クライアントの
<ul>
  <li><a href="http://www.pidgin.im/" >Pidgin</a> (Linux, Windows), <a href="http://adium.im/" >Adium</a> (MacOS)</li>
  <li><a href="http://www.apple.com/jp/ichat/" >iChat</a> (MacOS)</li>
  <li><a href="http://psi-im.org/" >Psi</a> (Linux, Windows, MacOS)</li>
  <li><a href="http://www.gajim.org/" >Gajim</a> (Linux, Windows)</li>
</ul>
などは日本語化されていています。Web ブラウザ上で動くもの、モバイル向けなど、ほかにも<a href="http://xmpp.org/xmpp-software/clients/" >たくさんあります</a>。</p>
<p>もう一つ、欠かせないのがアカウントです。メールを使う際にはメールアドレスが必要なのと同じことです。Jabber のアカウントは Jabber ID、略して JID と呼ばれ、形はメールアドレスにそっくりで、</p>
<div>
  <code>name@example.com</code>
</div>
<p>アットマークの前はユーザー名、後ろはそのユーザーの属するサーバー名です。</p>
<p>自分で XMPP サーバーを設置できれば簡単に (そして自由に) JID を得られるのですが、そうでない場合はどうすればいいのでしょうか? ひとつの方法は<a href="http://xmpp.org/services/" >公開 XMPP サーバー</a>で JID を作ることができます。日本語では <a href="http://www.xmpp.jp/" >XMPP.JP</a> というところがあります。</p>
<p>しかし、Jabber をいままで知らなかった人でも実は既に JID を持っている可能性があります。</p>
<ul>
  <li><a href="http://mail.google.com/mail?hl=ja" >GMail</a> アカウントを持っている</li>
  <li><a href="http://ja.wordpress.com/" >WordPress.com</a> アカウントを持っている</li>
</ul>
<p>のいずれかであれば、既に JID を持っています。</p>
<p>GMail の場合、メールアドレスとまったく同じで、たとえば <code>name</code> というアカウントを持っていれば、JID は <code>name@gmail.com</code> です。GMail には<a href="http://mail.google.com/mail/help/intl/ja/chat.html" >チャット機能</a>が含まれており、これが Google トーク、すなわち XMPP のメッセージングなのです。この <a href="http://www.google.com/talk/intl/ja/otherclients.html" >Google の JID を別のクライアントで使用する</a>ことも可能です。</p>
<p>WordPress.com  (<a href="http://ja.forums.wordpress.com/topic/3" >WordPress.com であって WordPress.org ではありません</a>) の場合、たとえば <code>name</code> というアカウントを持っていれば、JID は <code>name@im.wordpress.com</code>になります。<a href="http://en.support.wordpress.com/jabber/" >WordPress.com のサポートのページ (英語)</a>に解説があり、そのページのリンクには主なクライアントの設定方法もあります。</p>
<p>前置きのような内容だけでも長くなったので、ここで区切って<a href="http://pasero.net/~mako/blog/s/178" >続きは後編</a>で。</p>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/168/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0.1 日本語版</title>
		<link>http://pasero.net/~mako/blog/s/151</link>
		<comments>http://pasero.net/~mako/blog/s/151#comments</comments>
		<pubDate>Sat, 31 Jul 2010 09:29:54 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=151</guid>
		<description><![CDATA[WordPress 3.0.1 日本語版が出ました。オリジナルのほうでは 50点ほどの修正箇所があったようですが、日本語版としてはほとんど変更はありません。ただし、今回から「オリジナルから日本語版への変更点」を記述したフ &#8230; <a href="http://pasero.net/~mako/blog/s/151">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ja.wordpress.org/2010/07/30/wordpress-301-ja/" >WordPress 3.0.1 日本語版</a>が出ました。オリジナルのほうでは 50点ほどの修正箇所があったようですが、日本語版としてはほとんど変更はありません。ただし、今回から「オリジナルから日本語版への変更点」を記述したファイルをパッケージに同梱することにしました。WordPress をインストールした URL に <code>/readme-ja.html</code>を付けたところにあります。</p>
<p>そもそも、<code>readme.html</code> というファイルが元からあります。インストール時に一度目にするかしないかで、それ以後は見ることはないでしょう。これも WordPress をインストールした URL に <code>/readme.html</code>を付けたところ、このサイトなら <code><a href="http://pasero.net/~mako/blog/readme.html" >http://pasero.net/~mako/blog/readme.html</a></code> にあるのですが、たぶんどこからもリンクが張られていないので、二度とお目にかかれないのです。せっかく訳したのにもったいないなあと思っています。</p>
<p>その <code>readme.html</code> の「おわりに」の章の最後に、ひっそりと <a href="http://pasero.net/~mako/blog/readme-ja.html" ><code>「オリジナルから日本語版への変更点」</code></a> へのリンクがあります。ますます見つけてもらえませんね。</p>]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/151/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

