<?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; 一人でできるもん！</title>
	<atom:link href="http://sakuratan.biz/archives/category/devel/feed" rel="self" type="application/rss+xml" />
	<link>http://sakuratan.biz</link>
	<description>モロモロ工事中です</description>
	<lastBuildDate>Sun, 25 Jun 2023 12:51:51 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Google Sitemap 送信よ！！</title>
		<link>http://sakuratan.biz/archives/309</link>
		<comments>http://sakuratan.biz/archives/309#comments</comments>
		<pubDate>Thu, 12 Mar 2009 18:22:41 +0000</pubDate>
		<dc:creator>さくら</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[一人でできるもん！]]></category>
		<category><![CDATA[XML Sitemaps]]></category>
		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://sakuratan.biz/?p=309</guid>
		<description><![CDATA[こんばんわ、さくらです☆彡 WordPress の管理用のトップページのことダッシュボードって言うんだけど、そこにおすすめのプラグインが表示されるのね。こんな感じよ。 キャプチャした画像は後から撮ったやつなんだけど、さっきここにGoogle (XML) Sitemaps Generator for WordPressってやつが出てきたから速攻インスコしてやったわ。 これをインスコすると WordP... <div style="margin-top:1ex"><a href="http://sakuratan.biz/archives/309">(続きを読む)</a></div>]]></description>
			<content:encoded><![CDATA[<p>こんばんわ、さくらです☆彡</p>
<p>WordPress の管理用のトップページのこと<b>ダッシュボード</b>って言うんだけど、そこにおすすめのプラグインが表示されるのね。こんな感じよ。</p>
<p><img src="http://sakuratan.biz/blog/wp-content/uploads/2009/03/plugins.png" alt="プラグイン" title="プラグイン" width="300" height="315" class="aligncenter size-full wp-image-308" /></p>
<p>キャプチャした画像は後から撮ったやつなんだけど、さっきここに<a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Google (XML) Sitemaps Generator for WordPress</a>ってやつが出てきたから速攻インスコしてやったわ。<br />
これをインスコすると WordPress が勝手に XML Sitemap を作るようになるの。<br />
要は<b>私のブログが更新されたことが自動的にググルにもヤフルにもMSNにも通知される</b>ってことね。<br />
これで検索エンジンもさくらの手下だわ！！</p>
<p>さくら</p>
<p>P.S. これで<a href="http://cityhlife.blog.shinobi.jp/Entry/29/">ケイドウエイ子の一位</a>は死守だわ！！<br />
大勝利よ！！！</p>
]]></content:encoded>
			<wfw:commentRss>http://sakuratan.biz/archives/309/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Patch for Grunge Flora WordPress theme (with Japanese)</title>
		<link>http://sakuratan.biz/archives/302</link>
		<comments>http://sakuratan.biz/archives/302#comments</comments>
		<pubDate>Thu, 12 Mar 2009 14:27:11 +0000</pubDate>
		<dc:creator>さくら</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[一人でできるもん！]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://sakuratan.biz/?p=302</guid>
		<description><![CDATA[I updated my blog&#8217;s theme to Grunge Flora that is so cute, pretty and elegant template!! That is a great template but it seems to have Japanesea bug when used with multi byte environment. It des... <div style="margin-top:1ex"><a href="http://sakuratan.biz/archives/302">(続きを読む)</a></div>]]></description>
			<content:encoded><![CDATA[<p>I updated my blog&#8217;s theme to <a href="http://www.thebookish.info/2009/03/09/grunge-flora-free-wordpress-theme/">Grunge Flora</a> that is so cute, pretty and elegant template!!</p>
<p>That is a great template but it seems to have Japanesea bug when used with multi byte environment. It destructs a trailing character of “Recent Comments” in Japanese comments like this;</p>
<p><img src="http://sakuratan.biz/blog/wp-content/uploads/2009/03/grungeflora-mbbroken.png" alt="A broken Japanese comment" title="A broken Japanese comment" width="326" height="81" class="aligncenter size-full wp-image-301" /></p>
<p>The problem is in “src_simple_recent_comments” template function. The function uses SUBSTRING MySQL function to shrink the comment string. But SUBSTRING MySQL function has a problem that may miss to count the length of the multi byte strings.</p>
<p>To fix the problem, “src_simple_recent_comments” should use the mb_substr PHP function.</p>
<p>I made a patch file <a href="/blog/wp-content/themes/grungefloral/grungefloral-simple_recent_comments.diff">grungefloral-simple_recent_comments.diff</a> to fix the problem.<br />
Apply this patch if you want to use the Grunge Flora theme on Japanese blogs.</p>
<p>Have fun!<br />
Sakura.</p>
]]></content:encoded>
			<wfw:commentRss>http://sakuratan.biz/archives/302/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>番号増えすぎですわ！！</title>
		<link>http://sakuratan.biz/archives/288</link>
		<comments>http://sakuratan.biz/archives/288#comments</comments>
		<pubDate>Tue, 10 Mar 2009 15:14:00 +0000</pubDate>
		<dc:creator>さくら</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[一人でできるもん！]]></category>
		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://sakuratan.biz/?p=288</guid>
		<description><![CDATA[みなさんこんばんわ！ さくらです！！ 私、気づいちゃったんです。そう、ブログのアーカイブ番号が増えすぎなことに！ 一番最初に書いたHello WordPress!のURLはhttp://sakuratan.biz/archives/1でしょ… で、次に書いたテレパシーと Ping を送ってみるテストのURLがhttp://sakuratan.biz/archives/101。 私、この間に100個... <div style="margin-top:1ex"><a href="http://sakuratan.biz/archives/288">(続きを読む)</a></div>]]></description>
			<content:encoded><![CDATA[<p>みなさんこんばんわ！<br />
さくらです！！</p>
<p>私、気づいちゃったんです。そう、ブログのアーカイブ番号が増えすぎなことに！</p>
<p>一番最初に書いた<a href="http://sakuratan.biz/archives/1">Hello WordPress!</a>のURLはhttp://sakuratan.biz/archives/1でしょ…<br />
で、次に書いた<a href="http://sakuratan.biz/archives/101">テレパシーと Ping を送ってみるテスト</a>のURLがhttp://sakuratan.biz/archives/101。</p>
<p>私、この間に100個も記事書いてませんわ…フォースの暗黒面の支配が近いせいかしら？…と思ったら自動保存が有効なのね。<br />
MS-Wordの一番いらない機能をデフォルトで付けてるなんて何考えてるのかしらね。ヤレヤレですわ！</p>
<p>こんなときは便利なプラグインで解決ね。<br />
早速<a href="http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin">Disable Revisions and Autosave plugins</a>から disable-autosave.zip をゲットしてインスコよ！<br />
ダッシュボードのプラグインから新規追加したら簡単ね！！</p>
<p>って、これ入れたらプレビュー見れないのかしらOTZ<br />
しょうがないから disable-revisions.zip もゲットしてインスコしたわ。<br />
一旦下書き保存してからプレビューでいいみたいね。<br />
はっきりいって面倒だわっ！！</p>
<p>なんとなく WordPress はデフォルトだと出来の悪い子のような気がしてきたわ。プラグインが無いと一人でオンモに出られないのね！！</p>
<p>さくら</p>
]]></content:encoded>
			<wfw:commentRss>http://sakuratan.biz/archives/288/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello WordPress!</title>
		<link>http://sakuratan.biz/archives/1</link>
		<comments>http://sakuratan.biz/archives/1#comments</comments>
		<pubDate>Mon, 09 Mar 2009 10:25:42 +0000</pubDate>
		<dc:creator>さくら</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[一人でできるもん！]]></category>
		<category><![CDATA[さくらインターネット]]></category>

		<guid isPermaLink="false">http://sakuratan.biz/wordpress/?p=1</guid>
		<description><![CDATA[さくらインターネットのサーバに WordPress をインストールした際のレポート。]]></description>
			<content:encoded><![CDATA[<p>ちょっとむしゃくしゃしたことがあったので、さくらインターネットの鯖に WordPress をインスコしてみますた。なんでそういう話になるのかは、私にも分かりませんww</p>
<p>おおまかな手順はこんな感じです。</p>
<ol>
<li>MySQL データベースを初期化</li>
<li>phpMyAdmin でデータベースの言語設定を確認</li>
<li>WordPress をインストール</li>
</ol>
<h2>MySQL データベースを初期化</h2>
<p>MySQL データベースの初期化は、<a href="https://secure.sakura.ad.jp/rscontrol/">コンパネ</a> (サーバコントロールパネル) のデータベース設定から行えます。データベースが初期化されていない状態でデータベース設定を開くと、データベースパスワードを入力されるように促されますので、</p>
<div style="text-align:center">
<a href="http://sakuratan.biz/blog/wp-content/uploads/2009/03/sakuradb1.png" target="_blank"><img src="http://sakuratan.biz/blog/wp-content/uploads/2009/03/sakuradb1-300x137.png" alt="データベースの作成" title="sakuradb1" width="300" height="137" class="size-medium wp-image-38" /></a>
</div>
<p>適当なパスワードを入力すると初期化が完了し、データベースの設定画面が開きます。</p>
<div style="text-align:center">
<a href="http://sakuratan.biz/blog/wp-content/uploads/2009/03/sakuradb2.png" target="_blank"><img src="http://sakuratan.biz/blog/wp-content/uploads/2009/03/sakuradb2-300x194.png" alt="データベースの設定" title="sakuradb2" width="300" height="194" class="size-medium wp-image-42" /></a>
</div>
<p>さすがさくらたん、簡単だね！！</p>
<h2>phpMyAdmin でデータベースの言語設定を確認</h2>
<p>初期化が完了したら、データベース設定の管理ツール phpMyAdmin を開き MySQL データベースの言語設定を確認しておきます。</p>
<p>phpMyAdmin を開いたページの右側に以下のような表示があります。これが言語設定です。</p>
<div style="text-align:center">
<a href="http://sakuratan.biz/blog/wp-content/uploads/2009/03/phpmyadmin-lang1.png" target="_blank"><img src="http://sakuratan.biz/blog/wp-content/uploads/2009/03/phpmyadmin-lang1-300x41.png" alt="phpMyAdmin 言語設定" title="phpmyadmin-lang1" width="300" height="41" class="size-medium wp-image-43" /></a>
</div>
<p>後で WordPress をインストールする際に必要となりますので、必死で覚えるかメモっておいてください。メモんなくてもたぶん euc だと思いますがw</p>
<p>ちなみに phpMyAdmin からデータベースの言語設定を変えることもできますが、MySQL の UTF8 の実装は色々とバグがあるみたいなので euc のまま運用した方が無難だと思います。どんなバグがあるかはググれカスでございます。</p>
<h2>WordPress をインストール</h2>
<p>よく考えたらアップロードする前に WordPress がいりますね。<a href="http://ja.wordpress.org/">ja.wordpress.org</a> に日本語版があると思います。</p>
<p>インストール手順は <a href="http://ja.wordpress.org/install/">WordPress インストール</a>を見ていただいた方が早いと思います。簡単に説明しますと、</p>
<ol>
<li>ZIP を拾ってきて適当なディレクトリに展開</li>
<li>wp-config-sample.php を wp-config.php にコピーもしくはリネーム</li>
<li>wp-config.php のデータベース設定を書き換える</li>
<li>ブラウザから wp-admin/ にアクセス</li>
</ol>
<p>という感じになります。</p>
<p>さくらインターネットのサーバにインストールする際は、コンパネのデータベース設定を元に wp-config.php のデータベース設定をこんな感じに書き換えます。</p>
<blockquote><p>
/* データベース名に書き換える */<br />
define(&#8216;DB_NAME&#8217;, &#8216;putyourdbnamehere&#8217;);</p>
<p>/* データベース ユーザ名に書き換える */<br />
define(&#8216;DB_USER&#8217;, &#8216;usernamehere&#8217;);</p>
<p>/* データベース 接続パスワードに書き換える */<br />
define(&#8216;DB_PASSWORD&#8217;, &#8216;yourpasswordhere&#8217;);</p>
<p>/* データベース サーバに書き換える */<br />
define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);</p>
<p>/* euc-jp に書き換える */<br />
define(&#8216;DB_CHARSET&#8217;, &#8216;euc-jp&#8217;);
</p></blockquote>
<p>ファイル中のコメントや上記のインストール手順を参考にデータベース設定以外についても wp-config.php を編集し、wp-admin にアクセスすればインストール完了です。</p>
<h2>インストールしてみて…</h2>
<p>WordPress をインストールするのは始めてだったのですが、インスコ自体はそんなに難しくないと思います。</p>
<p>ただ、WordPress 自体の使い勝手については…正直微妙っていう感じです。まああまり使い込んでいる訳ではありませんので、これ以上の発言は控えさせて頂きますw</p>
]]></content:encoded>
			<wfw:commentRss>http://sakuratan.biz/archives/1/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
