<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>yoshi&#039;s blog &#187; blog system</title>
	<atom:link href="http://www.ytsuboi.org/wp/archives/category/computing/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ytsuboi.org/wp</link>
	<description>私の日常とテクニカルメモなど</description>
	<lastBuildDate>Tue, 07 Sep 2010 18:39:04 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/category/computing/blog/feed" />
		<item>
		<title>WordPressの自動アップデート機能をSSHで使えるようにした</title>
		<link>http://www.ytsuboi.org/wp/archives/1101</link>
		<comments>http://www.ytsuboi.org/wp/archives/1101#comments</comments>
		<pubDate>Sat, 07 Nov 2009 07:16:56 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/?p=1101</guid>
		<description><![CDATA[				
							
								
							
						
				ちょっと調べてみて、どうもこの情報が少ないように思えたので記事にしてみる。
				WordPressには、自動アップデート機能というもの [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F1101"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F1101&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>ちょっと調べてみて、どうもこの情報が少ないように思えたので記事にしてみる。<br />
				WordPressには、自動アップデート機能というものがあって、WordPressが入っているサーバのFTPやSSH(SFTP)を使ってWordPress自体やインストールしてあるプラグインをアップデートする機能が備わっている。</p>
				<p>標準では今さらなFTPで自動アップデートをするみたいですが、僕はFTPサーバなんて自分のマシンで立ち上げていないので、SSHを使って自動アップデートをしたいと思います。</p>
				<p>僕は、WordPressをインストールしたときに、適当にアーカイブを展開してインストールしたので、wp-config.php をちゃんといじってなかった。また、サーバ側に必要最低限のモジュールしか追加していなかったのだ。 これまで、毎回プラグインや本体のアップデートの通知が出る度に、sshでサーバにログインして手動でアップデートしていたが、数日に1回アップデートの通知が出たりしたので面倒になってしまった。</p>
				<p>で、自動アップデート機能を使えるようにして、ブラウザでちょいちょいとクリックするだけでアップデートできるようにしたいと思い、今回ちょっとマジメにチャレンジしてみた。</p>
				<p>僕の環境は、少数派になりつつある、FreeBSDです。なので、Linuxの方は適宜読み替えをして貰わなければいけません。<br />
				とはいえ、OSの違いって、パッケージ管理システムの違いくらいで、上で動いているアプリケーションは同じなので、問題無いと思います。</p>
				<p>やることは簡単、僕の環境で足りていなかったのは、libssh2とSSHを使うPECLモジュールです。 最近、めんどくさがりでportsを使うようになったので、portsでインストールしました。</p>
				<pre><code># cd /usr/ports/security/libssh2/
# make
# make install
# cd /usr/ports/security/pecl-ssh2/
# make
# make install
# /usr/local/etc/rc.d/apache22 stop
# /usr/local/etc/rc.d/apache22 start</code></pre>
				<p>以上です。  一応、</p>
				<pre><code>extension=ssh2.so</code></pre>
<p>という行が /usr/local/etc/php/extensions.ini に書き加えられているかは確認しました。<br />
WordPressの管理画面の自動アップデートを実行する画面に、FTPだけでなくSSHというボタンが追加されているのを確認できればOKかと思います。</p>
<p>いざ実行してみると、認証に失敗しました。たぶん Password Authentication がFreeBSDでは標準で許可されていないからだろうと思い、</p>
<div class="code">
<h5>/etc/ssh/sshd_config</h5>
<pre><code>PasswordAuthentication yes</code></pre>
				</div>
				<p>と書き換えてやって、</p>
				<pre><code># /etc/rc.d/sshd restart</code></pre>
<p>sshdを再起動して、再度試すとうまくいきました。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/1101/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/1101" />
	</item>
		<item>
		<title>WordPressとmixiに同時投稿できるようにした</title>
		<link>http://www.ytsuboi.org/wp/archives/1090</link>
		<comments>http://www.ytsuboi.org/wp/archives/1090#comments</comments>
		<pubDate>Fri, 06 Nov 2009 15:00:21 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>
		<category><![CDATA[日常]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/?p=1090</guid>
		<description><![CDATA[				
							
								
							
						
				publishToMixiというWordPress用のプラグインを導入して、WordPressに投稿した記事をmixiにも投稿できるように [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F1090"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F1090&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p><a href="http://ksnn.com/diary/?page_id=2437" target="_blank">publishToMixi</a>というWordPress用のプラグインを導入して、WordPressに投稿した記事をmixiにも投稿できるようにしました。<br />
				画像も同時にmixiに書き込めるみたいだし、投稿時にmixiにも書き込むかを選択できます。</p>
				<p>ということで、これはテスト記事です。</p>
				
				<a href='http://www.ytsuboi.org/wp/archives/1090/cimg0243' title='CIMG0243'><img width="150" height="150" src="http://www.ytsuboi.org/wp/wp-content/uploads/2009/11/CIMG0243-150x150.jpg" class="attachment-thumbnail" alt="CIMG0243" title="CIMG0243" /></a>
				<a href='http://www.ytsuboi.org/wp/archives/1090/cimg0244' title='CIMG0244'><img width="150" height="150" src="http://www.ytsuboi.org/wp/wp-content/uploads/2009/11/CIMG0244-150x150.jpg" class="attachment-thumbnail" alt="CIMG0244" title="CIMG0244" /></a>
				
				<p>画像は、昨日近くの7-11で見つけて衝動買いしてしまった、ガンダムのマグカップ付きのゼリーです。<br />
				1個398円でした。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/1090/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/1090" />
	</item>
		<item>
		<title>そういえばWordPressにしました</title>
		<link>http://www.ytsuboi.org/wp/archives/896</link>
		<comments>http://www.ytsuboi.org/wp/archives/896#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:29:27 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/?p=896</guid>
		<description><![CDATA[				
							
								
							
						
				最近、Kindle 2 International用で日本語を読めるようにするファイルを配っているので、これを目にする方のほとんどには通じ [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F896"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F896&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>最近、Kindle 2 International用で日本語を読めるようにするファイルを配っているので、これを目にする方のほとんどには通じないネタなんでしょうけど、Movable Typeを見限ってWordPressに乗り換えました。</p>
				<p>理由は、Movable TypeでSPAM消すときに再構築で時間を取られすぎるのが嫌になったからです。</p>
				<p>前からWordPressの存在自体は知っていましたが、動的にページ生成だとテンプレートもさくっと差し替えられるし便利ですね。<br />
				なにより、WordPressに最初からついてるAkismetというSPAMフィルタは結構優秀です。僕は、Akismetに加えて、livedoorが提供しているスパムちゃんぷるーDNSBLを使っていて、この組み合わせでほぼ100%の確立でSPAMをゴミ箱に落としてくれています。</p>
				<p>ついでにドメインとサーバも変えたので、.htaccessを前のサーバに置いて、Movable TypeのパーマリンクからHTTPエラーメッセージを使ってリダイレクトもしました。一番面倒だったのが、このパーマリンク対応表を書く作業だったりしました。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/896/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/896" />
	</item>
		<item>
		<title>Movable TypeのDBを変更した</title>
		<link>http://www.ytsuboi.org/wp/archives/716</link>
		<comments>http://www.ytsuboi.org/wp/archives/716#comments</comments>
		<pubDate>Mon, 01 Jan 2007 15:43:25 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/716</guid>
		<description><![CDATA[				
							
								
							
						
				よく聞く話なのだが、Movable TypeはBerkeley DBの環境下でメモリを使いすぎてしまい、
				再構築できないという現象 [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F716"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F716&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>よく聞く話なのだが、Movable TypeはBerkeley DBの環境下でメモリを使いすぎてしまい、<br />
				再構築できないという現象が発生することがある。<br />
				<a href="http://www.sixapart.jp/movabletype/news/2005/10/05-1955.html" target="hoge">Six Apart: Berkeley DBの環境下でMovable Type 3.2日本語版をご利用のお客様へのお知らせ</a><br />
				私のblogでも同様の現象が発生していて、3.3以降にしても解決しなかったので、<br />
				SQLサーバを使うように変更しました。<br />
				うまく再構築できなかったのもあり、このblogの更新も滞りがちでしたが、まめに近況を<br />
				書いていけるようにできればと思っています。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/716/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/716" />
	</item>
		<item>
		<title>Six Apart (Movable Type)がアフィリエイトだそうだ</title>
		<link>http://www.ytsuboi.org/wp/archives/677</link>
		<comments>http://www.ytsuboi.org/wp/archives/677#comments</comments>
		<pubDate>Wed, 23 Nov 2005 22:09:11 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/677</guid>
		<description><![CDATA[				
							
								
							
						
				シックス・アパート アフィリエイトプログラムへようこそ
				という感じで、Movable Typeを国内で販売しているSix Apar [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F677"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F677&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p><a href="http://www.sixapart.jp/affiliates/" target="hoge">シックス・アパート アフィリエイトプログラムへようこそ</a><br />
				という感じで、Movable Typeを国内で販売しているSix Apartがアフィリエイトを開始したらしい。<br />
				で、自前かと思ったらそうではなくって、<a href="http://www.a8.net/" target="hoge">A8.net</a>や<a href="http://www.accesstrade.net/" target="hoge">アクセストレード</a>を使ってるみたい。<br />
				mtの広告するだけのために登録するのも面倒だったので見送ることにしたが、なんだかとても<br />
				残念ですね。リリースの見出しだけみたときにはもっとすごいことかと思った。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/677/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/677" />
	</item>
		<item>
		<title>Google Blog Search ベータ版</title>
		<link>http://www.ytsuboi.org/wp/archives/646</link>
		<comments>http://www.ytsuboi.org/wp/archives/646#comments</comments>
		<pubDate>Sat, 17 Sep 2005 13:29:02 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/646</guid>
		<description><![CDATA[				
							
								
							
						
				数日前に Google Blog Search なるものがβ版で公開された。
				最近、Googleの活動が活発ですな。
				従来 [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F646"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F646&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>数日前に <a href="http://blogsearch.google.com/" target="hoge">Google Blog Search</a> なるものがβ版で公開された。<br />
				最近、Googleの活動が活発ですな。<br />
				従来のGoogle検索とは異なるインデックスを持っているらしく、インデックス収集を今年の6月からしているらしい。<br />
				どうやったら検索で引っかかるようになるのか調べていたら、<br />
				<a href="http://www.google.com/help/about_blogsearch.html" target="hoge">About Google Blog Search</a>なるページに答えがあった。</p>
				<blockquote><p>
				5. How do I get my blog listed?<br />
				If your blog publishes a site feed in any format and automatically pings an updating service (such as Weblogs.com), we should be able to find and list it. Also, we will soon be providing a form that you can use to manually add your blog to our index, in case we haven&#8217;t picked it up automatically. Stay tuned for more information on this.</p></blockquote>
				<p>ということで、 Weblogs.com あたりにpingを送ってやっているといいっぽい。<br />
				http://rpc.weblogs.com/RPC2 に送ることにして、mtの設定を変更しました。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/646/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/646" />
	</item>
		<item>
		<title>Movable Type 3.2 に変更して</title>
		<link>http://www.ytsuboi.org/wp/archives/639</link>
		<comments>http://www.ytsuboi.org/wp/archives/639#comments</comments>
		<pubDate>Sat, 10 Sep 2005 07:05:06 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/639</guid>
		<description><![CDATA[				
							
								
							
						
				昨日、MT 3.2 βに移行して、テンプレート等をdefaultのものにして困ったことが発生した。
				アーカイブのファイル名が変更さ [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F639"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F639&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>昨日、MT 3.2 βに移行して、テンプレート等をdefaultのものにして困ったことが発生した。<br />
				アーカイブのファイル名が変更されてしまって、Googleなどで検索してくると404 (Not found)になってしまうのである。<br />
				アーカイブ・マッピング(Archive Mapping)という機能が導入されて、アーカイブとテンプレートの関係を<br />
				定義できるようになって便利は便利なのだが、困ったのでヘルプを見ようとしたが、ベータにつきまだ準備<br />
				されていなかった。<br />
				本家のほうで説明があったので、これを参照して直した。<br />
				<a href="http://www.sixapart.com/movabletype/docs/3.2/e_archive_file_path_specifiers/" target="hoge">Movable Type 3.2 User Manual: E: Archive File Path Specifiers Archives</a><br />
				こいつを探すのにうろうろしていたら、有用と思われるページを発見したのでメモしておく。<br />
				(インストール方法なので、もう使わないと思うけど。)<br />
				<a href="http://seorg.moo.jp/nateha/index.php?MovableType" target="hoge">http://seorg.moo.jp/nateha/index.php?MovableType</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/639/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/639" />
	</item>
		<item>
		<title>Movable Type 3.2 ベータ版</title>
		<link>http://www.ytsuboi.org/wp/archives/638</link>
		<comments>http://www.ytsuboi.org/wp/archives/638#comments</comments>
		<pubDate>Fri, 09 Sep 2005 13:01:07 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/638</guid>
		<description><![CDATA[				
							
								
							
						
				Movable Type 3.2 ベータ版がリリースされたということなので、入れ替えてみました。
				トラックバックやコメントによるス [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F638"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F638&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>Movable Type 3.2 ベータ版がリリースされたということなので、入れ替えてみました。<br />
				トラックバックやコメントによるスパム対策が目玉みたいですね。<br />
				たしかに、SPAMが多くて毎回消すのもうんざりです。<br />
				ちょっとした対策をapache側で施してあるので、以前よりは減っていたのですが……<br />
				まだ、3.2の情報は少なくて、プラグイン周りとかに謎が残っています。<br />
				前のblogのDBをそのまま使ってバージョン上げたのですが、コメントの一覧にいままでの<br />
				コメントが表示されないという不具合も。<br />
				とりあえずしばらく使ってみます。<br />
				(2005.9.10 追記)<br />
				3.2 betaの標準のテンプレートに変更してみました。どうだろ。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/638/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/638" />
	</item>
		<item>
		<title>Google Sitemaps してみた</title>
		<link>http://www.ytsuboi.org/wp/archives/636</link>
		<comments>http://www.ytsuboi.org/wp/archives/636#comments</comments>
		<pubDate>Wed, 07 Sep 2005 12:13:49 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/636</guid>
		<description><![CDATA[				
							
								
							
						
				Google Sitemapsというのがあるのをblogうろうろしていたら知った。
				Google Sitemaps (BETA)
 [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F636"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F636&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>Google Sitemapsというのがあるのをblogうろうろしていたら知った。<br />
				<a href="https://www.google.com/webmasters/sitemaps/docs/en/about.html" target="hoge">Google Sitemaps (BETA)</a><br />
				Google Sitemapsとは、Googleのクローラ向けのサイトマップをXMLで記述し設置することで、<br />
				クローラに効率よくページをインデックスしてもらうためのものだそうだ。まだβ版らしい。<br />
				ただし、これを置いてもページランクが上がったりするわけではなく、あくまでXMLで記述してある<br />
				ページのリストを参考にクローラがページの収集をしてくれるというものらしい。<br />
				このXMLベースのサイトマップをMovableTypeを使って簡単に作成する方法が<br />
				<a href="http://www.niallkennedy.com/blog/archives/2005/06/google_sitemaps.html" target="hoge">Niall Kennedy&#8217;s Weblog: Google Sitemaps using Movable Type</a><br />
				に書いてあったので参考に(というかそのまんま)させていただいた。<br />
				手順を記すと、<br />
				MovableTypeで新規にテンプレートを作成する。<br />
				テンプレート名称は「google sitemap」、ファイル名称は「sitemap.xml」とした。<br />
				defaultでチェックが入っているが、「再構築オプション」をenableにしておいたほうがいいでしょう。<br />
				で、テンプレートの中身に以下の引用をコピー＆ペースト。</p>
				<blockquote><p><code><br />
				&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
				&lt;urlset xmlns="http://www.google.com/schemas/sitemap/0.84"&gt;<br />
				&lt;url&gt;<br />
				&lt;loc&gt;&lt;$MTBlogURL encode_xml="1"$&gt;&lt;/loc&gt;<br />
				&lt;priority&gt;1.0&lt;/priority&gt;<br />
				&lt;/url&gt;<br />
				&lt;MTEntries lastn="9999"&gt;<br />
				&lt;url&gt;<br />
				&lt;loc&gt;&lt;$MTEntryPermalink encode_xml="1"$&gt;&lt;/loc&gt;<br />
				&lt;lastmod&gt;&lt;$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$&gt;&lt;/lastmod&gt;<br />
				&lt;/url&gt;<br />
				&lt;/MTEntries&gt;<br />
				&lt;/urlset&gt;<br />
				</code></p>
				</blockquote>
				<p>で、このテンプレートを再構築してサイトマップを作成したら、Googleに、このサイトマップの位置を知らせます。<br />
				(このblogのサイトマップは<a href="http://www.mediawiz.ne.jp/mt/sitemap.xml" target="hoge">ここ</a>にあります。)<br />
				Google Sitemapsにログインして、新規sitemap作成で追加するだけ。<br />
				(私はgmail使っているのでアカウントがあったけど、無い人はアカウントを作る必要があると思います。)<br />
				つーか、詳しいことは<br />
				<a href="http://kotonoha.main.jp/2005/06/04google-sitemaps.html" target="hoge">Google Sitemaps グーグル・サイトマップ（ベータ版）FAQとプロトコル全訳。新しいURL登録方法はSEOに必須になる？ [絵文録ことのは]</a><br />
				こちらにありました。orz<br />
				XMLで書かなくても、テキストでURL羅列でもいいみたいですね。<br />
				FAQの訳などもあるので、こちらを参照してみてください…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/636/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/636" />
	</item>
		<item>
		<title>mixi日記のトラブルが解決</title>
		<link>http://www.ytsuboi.org/wp/archives/601</link>
		<comments>http://www.ytsuboi.org/wp/archives/601#comments</comments>
		<pubDate>Mon, 30 May 2005 13:45:49 +0000</pubDate>
		<dc:creator>yoshi</dc:creator>
				<category><![CDATA[blog system]]></category>

		<guid isPermaLink="false">http://www.ytsuboi.org/wp/archives/601</guid>
		<description><![CDATA[				
							
								
							
						
				mixiにmtのRSSを書いておいても、日記が更新されないというトラブルを抱えていたのだが解決した。
				結局は、mixiはRSSをU [...]]]></description>
			<content:encoded><![CDATA[				<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
							<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F601"><br />
								<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ytsuboi.org%2Fwp%2Farchives%2F601&amp;source=ytsuboi&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
							</a>
						</div>
				<p>mixiにmtのRSSを書いておいても、日記が更新されないというトラブルを抱えていたのだが解決した。<br />
				結局は、mixiはRSSをUTF-8で書いておかなければ読んでくれないというのが原因でした。<br />
				このblogはShift JISで書いてあるので、RSSもShift JISで吐いていたのが問題。<br />
				ぐぐったところ、<a href="http://blog.bulknews.net/mt/archives/000007.html" target="hoge">mt-jcode</a>というのを発見。<br />
				とてもシンプルなplug-inだが、楽そうなので使わせていただきます。<br />
				<a href="http://bulknews.net/lib/archives/mt-jcode.pl.gz">これ</a>をダウンロードしてきて、サーバのmtが置いてあるdirectoryの下にあるpluginsに置いてやる。<br />
				# gzip -d mt-jcode.pl.gz<br />
				とかして、解凍してやれば、installは完了。<br />
				あとは、index.rdfのtemplateを編集して、</p>
				<pre><code>&lt;?xml version="1.0" encoding="&lt;$MTPublishCharset$&gt;"?&gt;</code></pre>
<p>を</p>
<pre><code>&lt;?xml version="1.0" encoding=<em>"UTF-8"</em>?&gt;</code></pre>
				<p>と書き換えてやる。それから、</p>
				<pre><code>&lt;$MTEntryTitle encode_xml="1"$&gt;</code></pre>
<p>を</p>
<pre><code>&lt;$MTEntryTitle encode_xml="1" <em>jcode="utf8"</em>$&gt;</code></pre>
				<p>といった具合に、RSSの日本語が書き出されている部分に <em>jcode=&#8221;utf8&#8243;</em>と追記してやるだけである。<br />
				これで、RSS 1.0がUTF-8で書き出されるはずである。<br />
				あとは、mixi側の「設定変更」でindex.rdfを読むようにしてやれば……<br />
				うまくいきました。長年悩んでいたトラブルだけにすっきりしました。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ytsuboi.org/wp/archives/601/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.ytsuboi.org/wp/archives/601" />
	</item>
	</channel>
</rss>
