<?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>mayoibi &#187; php</title>
	<atom:link href="http://ribidone.net/d/archives/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://ribidone.net/d</link>
	<description>USキーボードとトラックボール愛好者です。</description>
	<lastBuildDate>Mon, 06 Sep 2010 18:10:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>自分用、ライフストリーム</title>
		<link>http://ribidone.net/d/archives/20091123233030</link>
		<comments>http://ribidone.net/d/archives/20091123233030#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:30:30 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=139</guid>
		<description><![CDATA[自分の利用しているサービスの更新履歴をまとめたページを作った. リンクしかなかったトップページに設置.→ http://ribidone.net/



指定した RSS を読み込んで, 全部混ぜて日付順に並べ替 [...]]]></description>
			<content:encoded><![CDATA[<p>自分の利用しているサービスの更新履歴をまとめたページを作った. リンクしかなかったトップページに設置.<br />→ <a href="http://ribidone.net/" title="http://ribidone.net/">http://ribidone.net/</a></p>

<p><a href="http://www.flickr.com/photos/41273156@N07/4124752564/" title="Alien Radish by Soda_1985, on Flickr"><img src="http://farm3.static.flickr.com/2683/4124752564_dec60a83de_m.jpg" width="240" height="180" alt="Alien Radish" /></a></p>

<p>指定した RSS を読み込んで, 全部混ぜて日付順に並べ替えた. RSS は <a href="http://pear.php.net/package/Cache_Lite" title="Cache_Lite">Cache_Lite</a> (めちゃくちゃ便利) でキャッシュして cron で1時間ごとに更新.</p>

<p>こういうページはほんと誰得だと思うんですが, 情報がずらーてなってるのは見て楽しいです. 自分が情報あんまり流してないのがアレだけど.</p>
]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20091123233030/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP に phpMyAdmin を導入</title>
		<link>http://ribidone.net/d/archives/20090325223137</link>
		<comments>http://ribidone.net/d/archives/20090325223137#comments</comments>
		<pubDate>Wed, 25 Mar 2009 13:31:37 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=116</guid>
		<description><![CDATA[PHP製のMySQLのGUIツール, phpMyAdminを導入しました.]]></description>
			<content:encoded><![CDATA[<p>ローカル PC に WordPress をインストールした際に 初めて MySQL を触りました. その時はデータベースを作るのはこれっきりだろうと思ったのでコマンドラインを使ったんですが, 近頃は WP を複数インストールしたりプラグインのテストでデータベースの中身を見たくなるようになったので MySQL の GUI ツールを使うことにしました. いくつかあるようですが日本語化されているものでは PHP で動く <a href="http://www.phpmyadmin.net/home_page/index.php" title="phpMyAdmin">phpMyAdmin</a> がよさそうです.</p>

<h2>XP に phpMyAdmin を導入した手順</h2>
<ul>
<li>phpMyAdmin の最新版をダウンロードする. <a href="http://www.phpmyadmin.net/home_page/downloads.php" title="phpMyAdmin - Download">phpMyAdmin &#8211; Download</a></li>

<li>解凍したフォルダの中の config.sample.inc.php を config.inc.php にリネームする。</li>

<li>17行目あたりの $cfg['blowfish_secret'] = &#8221;; に適当な値を入れる.</li>

<li>Apache でアクセスできる場所に phpMyAdmin のフォルダを移動する.</li>

<li>ブラウザでアクセスできれば成功.</li>

</ul>

<p>これだけですが, ログイン画面に mcrypt が入ってないというエラーが出たので対処しました.</p>

<ul>
<li><a href="http://files.edin.dk/php/win32/mcrypt/libmcrypt.dll" title="libmcrypt.dll">libmcrypt.dll</a> をダウンロードし，WINDOWS/system32 フォルダへ入れる.</li>

<li>php.ini の extension=php_mcrypt.dll のコメントアウトを外す.</li>

<li>Apache を再起動する.</li>

</ul>

<p>これでエラーも消えて無事導入が完了しました. </p>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20090325223137/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP から Twitter に更新通知するプラグイン</title>
		<link>http://ribidone.net/d/archives/20090213215417</link>
		<comments>http://ribidone.net/d/archives/20090213215417#comments</comments>
		<pubDate>Fri, 13 Feb 2009 12:54:17 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[プラグイン]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=93</guid>
		<description><![CDATA[Twitter Post は WP の更新を Twitter を通じてお知らせできるプラグインです.]]></description>
			<content:encoded><![CDATA[<p>WordPress の更新を Twitter に半自動で通知するプラグイン『Twitter Post』を作りました.</p>

<p>詳細とダウンロードは<a href="http://ribidone.net/d/twitter-post" title="Twitter Post 説明書 - mayoibi">Twitter Post 説明書</a>のページをご覧ください.</p>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20090213215417/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>アマゾンのリンク作成ページの作り直し</title>
		<link>http://ribidone.net/d/archives/20090202235051</link>
		<comments>http://ribidone.net/d/archives/20090202235051#comments</comments>
		<pubDate>Mon, 02 Feb 2009 14:50:51 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=85</guid>
		<description><![CDATA[アマゾンのアソシエイトリンクを手軽に作成できるページ『イントロ計画』を公開しました.]]></description>
			<content:encoded><![CDATA[<p>Amazon のアソシエイトリンク作成ページを「<a href="http://ribidone.net/p/intro/" title="イントロ計画 - Amazon associate link maker">イントロ計画</a>」として作り直した.</p>

<p>主な変更点は, 画像とテキストだけのリンクに加えて, 商品情報入りのリンクを付け加えて, 商品画像は75pxの小サイズも選べるようにしたところ. 以前のバージョンのミスも修正した(<a href="http://docs.google.com/Doc?id=dghf8vtg_55f5r3hqds" title="更新履歴 - Google ドキュメント">更新履歴 &#8211; Google ドキュメント</a>). 表示速度がまだ遅いので早くしたい.</p>

<p><a href="http://ribidone.net/p/intro/" title="イントロ計画 - Amazon associate link maker"><img src="http://ribidone.net/p/intro/intro_title.png" width="270" height="105" alt="イントロ計画" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20090202235051/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP テーマ変更 Cabbage Roll 2</title>
		<link>http://ribidone.net/d/archives/20090109235838</link>
		<comments>http://ribidone.net/d/archives/20090109235838#comments</comments>
		<pubDate>Fri, 09 Jan 2009 14:58:38 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=56</guid>
		<description><![CDATA[この WP のテーマを個別ページ1カラム, その他2カラムに変更しました.]]></description>
			<content:encoded><![CDATA[<p>WP テーマを変更. 個別記事は1カラムで, その他のページはサイドバーを付けた. アーカイブへは Archive リンクだけで済ませていたが, 毎日投稿していると記事が早く流れるので常時アーカイブのリストを表示させておいた方がいいと思った.</p>

<p>個別記事では先頭の文字をドロップキャップで表示するようにした. 記事に直接ドロップキャップ用のタグを書きたくなかったし, first-letter: もマージンが通らないなど使い難かったので, 記事の1文字目を span でマークアップするよう PHP で書いた. これだと飽きたらコードを消すだけでいいので楽.</p>

<p>いつのまにか, アドセンスのアカウントと普段使っている Google アカウントを統合できるようになっていたので, 放置していたアドセンスも設置した.</p>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20090109235838/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>アマゾンリンク作り機</title>
		<link>http://ribidone.net/d/archives/20081225185156</link>
		<comments>http://ribidone.net/d/archives/20081225185156#comments</comments>
		<pubDate>Thu, 25 Dec 2008 09:51:56 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=37</guid>
		<description><![CDATA[Amazon のアフィリエイトリンクを手軽に作成できるページ, atl2 を公開しました.]]></description>
			<content:encoded><![CDATA[<p>アマゾンのアリフィリエイト用リンクを作るページ, atl2 を公開.</p>
<p>2008-02-14 追記: <a href="http://ribidone.net/p/intro/" title="イントロ計画 - Amazon associate link maker">イントロ計画 &#8211; Amazon associate link maker</a> として再公開しました.</p>

<p><a href="http://ribidone.net/p/atl2/" title="atl2"><img src="http://ribidone.net/p/atl2/images/atl2_title.png" width="120" height="80" alt="atl2" /></a></p>

<p>以前 ASIN か ISBN を入れてリンクを生成するページを作ったが, これはアマゾンの商品ページを直接読みに行っていた. APIがあるのに使わない頭のよくない方法で, 読み込みが重かった. さらにアマゾンのサイトリニューアルの際にレイアウトが変更になり使用できなくなったので, <a href="http://aws.amazon.com/" title="Amazon Web Services">AWS</a> を使って作り直したいと思っていた. そもそも, リンクを作るためにわざわざ ASIN を調べるのは面倒なので, atl2 はキーワード検索にして直接探せるようにした. 出力するリンクは短く, コードも短く, パラメーターも今のところアソシエイト ID のみ. ref=nosim の存在は忘れていた.</p>

<p>今は, 内容が拙い・早くページを表示させたい・利益が期待できない, という理由からブログに広告を入れていないが, アマゾンのリンクには積極的に アソシエイト ID を入れていくべきかなと思う.</p>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20081225185156/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>タグはありません, を表示する</title>
		<link>http://ribidone.net/d/archives/20081208214515</link>
		<comments>http://ribidone.net/d/archives/20081208214515#comments</comments>
		<pubDate>Mon, 08 Dec 2008 12:45:15 +0000</pubDate>
		<dc:creator>soda</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ribidone.net/d/?p=16</guid>
		<description><![CDATA[WPでタグ未指定であることを示すコード.]]></description>
			<content:encoded><![CDATA[<p>Codex のタグ用タグを見ても, タグ未指定時の表示やパラメータがなさそうでした. 見落としてるのかもしれませんが, 以下のように書いて対応しました.</p>
<pre><code>&lt;?php
$tag = get_the_tags();
if ($tag == null) {
    print &quot;no tags&quot;;
} else {
    the_tags();
}
?&gt;</code></pre>]]></content:encoded>
			<wfw:commentRss>http://ribidone.net/d/archives/20081208214515/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
