<?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>ユメーディア blog</title>
	<atom:link href="http://blog.yume-dia.jp/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yume-dia.jp</link>
	<description>PHPやmysql等に関する自分的メモ</description>
	<lastBuildDate>Mon, 07 May 2012 06:04:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mysqlでデータ内の「タブ」削除と、ファイル出力</title>
		<link>http://blog.yume-dia.jp/archives/372</link>
		<comments>http://blog.yume-dia.jp/archives/372#comments</comments>
		<pubDate>Mon, 07 May 2012 06:04:16 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[サーバー]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=372</guid>
		<description><![CDATA[mysqlのINTO OUTFILEでデータをcsvやtsvで出力したい時に便利なコマンド群メモ。 改行コードを削除してタブ区切りファイル出力 改行コードとデータ内のタブを削除してタブ区切りファイル出力 各種Char(0 [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F372"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F372&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>mysqlのINTO OUTFILEでデータをcsvやtsvで出力したい時に便利なコマンド群メモ。</p>
<p>改行コードを削除してタブ区切りファイル出力</p>
<pre class="brush: bash; title: ; notranslate">
SELECT Replace(Replace(カラム, Char(13), &quot;&quot;),Char(10), &quot;&quot;) FROM テーブル
INTO OUTFILE &quot;出力ファイル名&quot; FIELDS TERMINATED BY '\t'OPTIONALLY ENCLOSED BY &quot;'&quot;;
</pre>
<p><span id="more-372"></span><br />
</p>
<p>改行コードとデータ内のタブを削除してタブ区切りファイル出力</p>
<pre class="brush: bash; title: ; notranslate">
SELECT Replace(Replace(Replace(カラム, Char(13), &quot;&quot;),Char(10), &quot;&quot;),Char(9), &quot;&quot;) FROM テーブル
INTO OUTFILE &quot;出力ファイル名&quot; FIELDS TERMINATED BY '\t'OPTIONALLY ENCLOSED BY &quot;'&quot;;
</pre>
<p>各種Char(0)の番号を調べたい場合にはASCII()を使う。</p>
<p>シングルクォーテーション</p>
<pre class="brush: bash; title: ; notranslate">
mysql&gt; SELECT ASCII(&quot;'&quot;);
+------------+
| ASCII(&quot;'&quot;) |
+------------+
|         39 |
+------------+
</pre>
<p>タブ</p>
<pre class="brush: bash; title: ; notranslate">
mysql&gt; SELECT ASCII(&quot;\t&quot;);
+-------------+
| ASCII(&quot;\t&quot;) |
+-------------+
|           9 |
+-------------+
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/372/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpでpostデータが途切れた場合の確認</title>
		<link>http://blog.yume-dia.jp/archives/367</link>
		<comments>http://blog.yume-dia.jp/archives/367#comments</comments>
		<pubDate>Tue, 01 May 2012 09:27:10 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[サーバー]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=367</guid>
		<description><![CDATA[日付毎に大量のデータを持たせて、まとめてPOSTするというシステムを作った。 データが飛んでいるのは確認したが、何故か最後の方のデータだけがごっそり抜け落ちるという事態に遭遇。 php.iniを見直し、post_max_ [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F367"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F367&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>日付毎に大量のデータを持たせて、まとめてPOSTするというシステムを作った。</p>
<p>データが飛んでいるのは確認したが、何故か最後の方のデータだけがごっそり抜け落ちるという事態に遭遇。</p>
<p><span id="more-367"></span></p>
<p></p>
<p>php.iniを見直し、post_max_size・upload_max_filesize・memory_limitには問題ない事を確認。</p>
<p>原因は max_input_vars だった。<br />
初期ではコメントアウトされていたが、その場合1000がデフォルトとなるようだ。</p>
<p>max_input_varsを必要数以上の値に書き換えapache再起動でちゃんと全データがpostされるようになった。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/367/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpのsetcookieで期限なし(ブラウザ終了時まで)のcookieを吐くとFirefoxで消えなかった件について</title>
		<link>http://blog.yume-dia.jp/archives/361</link>
		<comments>http://blog.yume-dia.jp/archives/361#comments</comments>
		<pubDate>Wed, 18 Jan 2012 10:48:26 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=361</guid>
		<description><![CDATA[認証やら何やら色々な所で使っているcookieの挙動に関して変な所があったのでメモ。 開発時にはFirefoxをメインに使ってます。 で有効期限はブラウザ終了時とするクッキーをセットし、その後ブラウザを閉じて開くとそのま [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F361"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F361&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>認証やら何やら色々な所で使っているcookieの挙動に関して変な所があったのでメモ。</p>
<p><span id="more-361"></span><br />
</p>
<p>開発時にはFirefoxをメインに使ってます。</p>
<pre class="brush: php; title: ; notranslate">
$res = setcookie(&quot;cookie_test&quot;,&quot;cookie_set_value&quot;,0,'/','yume-dia.jp',0,1);
</pre>
<p>で有効期限はブラウザ終了時とするクッキーをセットし、その後ブラウザを閉じて開くとそのままcookieが有効のままになっていました。</p>
<p>色々検証した所、<strong>Firefox本体のオプション、[一般]タブの起動設定で「前回終了時のウィンドウとタブを表示する」になっている場合はブラウザ終了時も期限付きcookieデータは削除されないようです。</strong><br />
検証した、Firefoxバージョンは9.0.1です。</p>
<p>検証ページは<a href="http://yume-dia.jp/sandbox/cookie_set.php" target="_blank">こちら</a>に用意しました。</p>
<p>もしやってみて「自分はそんな事なかったけど？」という方おられましたら是非コメントを下さい。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/361/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apacheのログからユーザーエージェント一覧の取得コマンド</title>
		<link>http://blog.yume-dia.jp/archives/355</link>
		<comments>http://blog.yume-dia.jp/archives/355#comments</comments>
		<pubDate>Mon, 16 Jan 2012 03:10:29 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[サーバー]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=355</guid>
		<description><![CDATA[前にググッてどこかでコマンドを見つけたのだが、どこだったか忘れてしまった。 historyコマンドで見つけられたので、備忘録として残しておきます。 10件表示の場合。 全件表示の場合。 ※ログファイル名は私の環境です。a [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F355"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F355&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>前にググッてどこかでコマンドを見つけたのだが、どこだったか忘れてしまった。</p>
<p>historyコマンドで見つけられたので、備忘録として残しておきます。</p>
<p>10件表示の場合。</p>
<pre class="brush: bash; title: ; notranslate">
cat access_log* | perl -pe 's/^.*&quot;(.+?)&quot;$/$1/' | sort | uniq -c|sort -gr | head
</pre>
<p><span id="more-355"></span></p>
<p></p>
<p>全件表示の場合。</p>
<pre class="brush: bash; title: ; notranslate">
cat access_log* | perl -pe 's/^.*&quot;(.+?)&quot;$/$1/' | sort | uniq -c|sort -gr
</pre>
<p>※ログファイル名は私の環境です。apacheの設定によっては違う場合があります。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/355/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>webdev.liにハッシュ値生成機能を追加しました</title>
		<link>http://blog.yume-dia.jp/archives/344</link>
		<comments>http://blog.yume-dia.jp/archives/344#comments</comments>
		<pubDate>Fri, 30 Sep 2011 07:29:57 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=344</guid>
		<description><![CDATA[今のバージョンのmysql（5.1）で用意されているハッシュ関数ではsha512は使えず、 sha1はあるもののsha1自体もうセキュリティレベルとしては低いという状況を考えると、 sha512&#38;秘密鍵が今の標準 [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F344"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F344&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>今のバージョンのmysql（5.1）で用意されているハッシュ関数ではsha512は使えず、<br />
sha1はあるもののsha1自体もうセキュリティレベルとしては低いという状況を考えると、<br />
sha512&amp;秘密鍵が今の標準ではないかと思う。</p>
<p><a href="http://webdev.li/hash.php" target="_blank">http://webdev.li/hash.php</a><br />
<span id="more-344"></span></p>
<p></p>
<p>たまたま、今作成中のシステムで管理者のID/PASSをDBに登録しようとした時に、<br />
（管理者のID/PASSはエンジニアが直接クエリを叩いて登録・更新を行う為、管理ページには「管理者管理ページ」は無いシステムです）<br />
それだけの為にプログラムを書くのも面倒だったので、<br />
<a href="http://webdev.li/" target="_blank">webdev.li</a>に各アルゴリズムでのハッシュ値生成機能を追加してみました（秘密鍵にも対応）。</p>
<p><span style="color: #ff0000;">POSTされたデータはハッシュ値生成以外の処理は一切行わず、</span><br />
<span style="color: #000000;"><span style="color: #ff0000;"> もちろんサーバー上のどこかにデータを貯めているなんて事はしていません。</span></span></p>
<p><a href="http://webdev.li/hash.php" target="_blank">http://webdev.li/hash.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/344/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geckoエンジンを使っているブラウザでfieldsetのborder-leftをnoneにした場合legendのmargin-leftが効かない</title>
		<link>http://blog.yume-dia.jp/archives/333</link>
		<comments>http://blog.yume-dia.jp/archives/333#comments</comments>
		<pubDate>Mon, 26 Sep 2011 06:58:14 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=333</guid>
		<description><![CDATA[Geckoエンジン限定の症状のようです。 開発の際にFirefoxを使っていて気がつきました。 fieldsetとlegendを使い、fieldsetのborder-leftをnoneにした場合、margin-leftで [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F333"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F333&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Geckoエンジン限定の症状のようです。</p>
<p>開発の際にFirefoxを使っていて気がつきました。</p>
<p><span id="more-333"></span><br />
fieldsetとlegendを使い、fieldsetのborder-leftをnoneにした場合、margin-leftで指定していたlegendの位置が左寄せになりました。<br />
検証ページは<a href="http://yume-dia.jp/sandbox/fieldset_legend.php" target="_blank">コチラ</a></p>
<p>キャプチャ画像<br />
<strong>Firefox</strong></p>
<p><a href="http://blog.yume-dia.jp/wp-content/uploads/2011/09/firefox.jpg"><img src="http://blog.yume-dia.jp/wp-content/uploads/2011/09/firefox.jpg" alt="Firefoxでの表示キャプチャ" width="518" height="424" /></a></p>
<p><strong>IE</strong></p>
<p><a href="http://blog.yume-dia.jp/wp-content/uploads/2011/09/ie.jpg"><img src="http://blog.yume-dia.jp/wp-content/uploads/2011/09/ie.jpg" alt="IEでのキャプチャ表示" width="520" height="372" /></a></p>
<p>その他のブラウザ（IE/Chrome/Safari/Opera）では全て、legendのmargin-leftが効いていました。</p>
<p><a href="http://www.lunascape.jp/" target="_blank">Lunascape（ルナスケープ）</a>でレンダリングエンジンを切り替えて確認してみたところ、<br />
Geckoの時にFirefoxと同じくmargin-leftが効いていなかったので、<br />
Geckoレンダリングエンジンが原因のようです。</p>
<p>fieldset・legendはIEにもバグがあるし、不憫な子だな・・・。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/333/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend_Db使用時に1カラムに大量の(テキスト)データを入れるとエラーも返さず真っ白になってしまう件について</title>
		<link>http://blog.yume-dia.jp/archives/282</link>
		<comments>http://blog.yume-dia.jp/archives/282#comments</comments>
		<pubDate>Thu, 01 Sep 2011 17:37:15 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=282</guid>
		<description><![CDATA[Zend_Dbを使用して、1カラムに大量のデータを入れた際に、画面が真っ白になりエラーも返さず止まりました。 SQL自体は正しく、1カラムのデータ量を減らしたら普通にクエリが通る状態でした。 環境は VMware Pla [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F282"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F282&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Zend_Dbを使用して、1カラムに大量のデータを入れた際に、画面が真っ白になりエラーも返さず止まりました。<br />
SQL自体は正しく、1カラムのデータ量を減らしたら普通にクエリが通る状態でした。<br />
<span id="more-282"></span><br />
<br />
環境は<br />
VMware Player使用<br />
メモリ1G割当<br />
Centos5<br />
php 5.3.5<br />
mysql 5.0.77<br />
Zend_Db_Adapterはmysqli<br />
です。</p>
<p>以下検証がだらだら続きます。<br />
読むの面倒という方は一気にスクロールして結論をどうぞ。</p>
<p>検証用テーブル作成。</p>
<pre class="brush: bash; title: ; notranslate">
 CREATE TABLE `test_table` (
 `seq` int(11) NOT NULL auto_increment,
 `text` longtext NOT NULL,
 PRIMARY KEY  (`seq`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
</pre>
<p>&nbsp;</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
require_once 'Zend/Db.php';

ini_set(&quot;display_errors&quot;,1);
error_reporting(E_ALL);

$db = Zend_Db::factory(&quot;Mysqli&quot;, array(
'host'     =&gt; '127.0.0.1',
'username' =&gt; 'hoge',
'password' =&gt; 'xxxxxxxx',
'dbname'   =&gt; 'test',
));

$str = &lt;&lt;&lt;EOF
短い文章
EOF;

$sql = &quot;INSERT INTO test_table (text) VALUES (&quot;.$db-&gt;quote($str).&quot;)&quot;;
try {
$db-&gt;query($sql);
} catch (Exception $e) {
echo $e-&gt;getMessage();
exit;
}
echo &quot;fin&lt;br /&gt;\n&quot;;
exit;
</pre>
<p>これは通りますが、</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
require_once 'Zend/Db.php';

ini_set(&quot;display_errors&quot;,1);
error_reporting(E_ALL);

$db = Zend_Db::factory(&quot;Mysqli&quot;, array(
'host'     =&gt; '127.0.0.1',
'username' =&gt; 'hoge',
'password' =&gt; 'xxxxxxxx',
'dbname'   =&gt; 'test',
));

$str = &lt;&lt;&lt;EOF
適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？適当な長い文章だったら？
EOF;

$sql = &quot;INSERT INTO test_table (text) VALUES (&quot;.$db-&gt;quote($str).&quot;)&quot;;
try {
$db-&gt;query($sql);
} catch (Exception $e) {
echo $e-&gt;getMessage();
exit;
}
echo &quot;fin&lt;br /&gt;\n&quot;;
exit;
</pre>
<p>これ位になると私の環境では必ず画面真っ白でエラーも出ず止まりました。<br />
また、中途半端な長さの時に画面リロードを繰り返すと、通るときや通らない時もありました。</p>
<p>原因究明の為、Zend_Dbの中身を追いかけていくと<br />
Zend/Db/Statement.php<br />
の<br />
177行目<br />
protected function _stripQuoted($sql)<br />
内の<br />
<span style="font-size: medium; color: #3366ff;"><strong>preg_replaceに長い文字列を渡してしまい、そこでエラーも吐かず止まってしまっていた</strong></span>ようです。<br />
その部分について下記のように書き換えました。</p>
<pre class="brush: php; title: ; notranslate">
// get a version of the SQL statement with all quoted
// values and delimited identifiers stripped out
// remove &quot;foo\&quot;bar&quot;
/*
$sql = preg_replace(&quot;/$q($qe|\\\\{2}|[^$q])*$q/&quot;, '', $sql);
// remove 'foo\'bar'
if (!empty($q)) {
$sql = preg_replace(&quot;/$q($qe|[^$q])*$q/&quot;, '', $sql);
}

return $sql;
*/
$sql = str_replace(array('\\\''),array('￥’'),$sql);
$return_sql = &quot;&quot;;
$tmp = explode(&quot;'&quot;,$sql);
for($i=0;$i&lt;count($tmp);++$i){
  if($i % 2 == 0){
    $return_sql .= $tmp[$i];
  }
}
return $return_sql;
</pre>
<p>204行目～210行目(バージョンによっては多少行数が違うかもしれません)までをコメントアウトし、その下に<br />
$sql = str_replace(array(&#8216;\\\&#8221;),array(&#8216;￥’&#8217;),$sql);<br />
$return_sql = &#8220;&#8221;;<br />
$tmp = explode(&#8220;&#8216;&#8221;,$sql);<br />
for($i=0;$i&lt;count($tmp);++$i){<br />
if($i % 2 == 0){<br />
$return_sql .= $tmp[$i];<br />
}<br />
}<br />
return $return_sql;<br />
を追加しました。</p>
<p>簡単にチェックした所、取り敢えず問題なく動いているようです。</p>
<p><span style="color: #ff0000;"><strong>注）そのままコピー＆ペーストして使用して頂いて構いませんが、プログラムにミスがあっても責任を負いかねます。</strong></span><br />
私自身のZend_Dbの使い方として、自分でsqlを書いてクエリの発行部分をZend_Dbにお任せというやりかたです。<br />
ですので、<span style="color: #ff0000;"><strong>Zend_Dbを使ってsqlを組み立てる方法は動作検証もしておりません</strong></span>。<br />
また、もっとこうした方が良い、自分の環境だとバグった等ありましたら、是非コメントをお願いいたします。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/282/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>このサイトはワシが作った FOTOBA(フォトバ) 写真共有サイト</title>
		<link>http://blog.yume-dia.jp/archives/277</link>
		<comments>http://blog.yume-dia.jp/archives/277#comments</comments>
		<pubDate>Fri, 26 Aug 2011 19:11:04 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[サービス]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=277</guid>
		<description><![CDATA[「この〇〇はワシが～」という一文を使ってみたかったので（笑） 元々フォトバという写真サイトを運営していた方と知り合って、 「リニューアルをしたくてデザインはあるが、 今プログラム頼んでいる方は『技術的にもう対応出来ない』 [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F277"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F277&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>「この〇〇はワシが～」という一文を使ってみたかったので（笑）<br />
<span id="more-277"></span><br />
<br />
元々フォトバという写真サイトを運営していた方と知り合って、<br />
「リニューアルをしたくてデザインはあるが、<br />
今プログラム頼んでいる方は『技術的にもう対応出来ない』と言っている」との事で、<br />
「んじゃ、手伝いましょか？」<br />
と言う話になり、リニューアルをする事に。</p>
<p>今までのプログラムを作っていた方は職業プログラマではなく、<br />
プログラムやシステム構成を含めてそのまま拡張するには問題があったため、<br />
データベースの構成だけそのままでプログラムは全部0から書きなおしました。</p>
<p>フォトバは「フォト・写真・場所・言葉」を一緒にした造語です。</p>
<p>fotoba(フォトバ) 「写真」「場所」「言葉」でつながろう<br />
<a href="http://fotoba.jp/" target="_blank">http://fotoba.jp/</a></p>
<p>良ければ使ってみてください。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/277/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CentOS6でconfigure: error: mcrypt.h not found. Please reinstall libmcrypt.エラー(php-5.3.6のインストール時)</title>
		<link>http://blog.yume-dia.jp/archives/262</link>
		<comments>http://blog.yume-dia.jp/archives/262#comments</comments>
		<pubDate>Thu, 18 Aug 2011 04:02:33 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[サーバー]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=262</guid>
		<description><![CDATA[まっさらの開発環境が欲しかったため、VMware PlayerにCentOSをインストールしました。 せっかくなので、初めてCentOS6を使うことにしました。 サーバー構築自体は何度もやっているので、サクサク進めていた [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F262"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F262&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>まっさらの開発環境が欲しかったため、VMware PlayerにCentOSをインストールしました。<br />
せっかくなので、初めてCentOS6を使うことにしました。</p>
<p><span id="more-262"></span></p>
<p>サーバー構築自体は何度もやっているので、サクサク進めていた所、phpのインストールで、</p>
<pre class="brush: bash; title: ; notranslate">
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
</pre>
<p>というエラーが出てconfigureが止まってしまった。<br />
「libmcrypt-develはyumで入れていたはずなんだが・・・」<br />
とコマンドを叩く。</p>
<pre class="brush: bash; title: ; notranslate">
 [root@test php-5.3.6]# yum install libmcrypt-devel
 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * extras: rsync.atworks.co.jp
 * updates: rsync.atworks.co.jp
 Setting up Install Process
 No package libmcrypt-devel available.
 Error: Nothing to do
</pre>
<p>・・・アレ？<br />
libmcrypt-develがyumにない・・・？</p>
<p>結局RPM持ってきてインストールしました。</p>
<p>(32bit)</p>
<pre class="brush: bash; title: ; notranslate">
wget http://elders.princeton.edu/data/puias/unsupported/6/i386/libmcrypt-2.5.8-9.puias6.i686.rpm
wget http://elders.princeton.edu/data/puias/unsupported/6/i386/libmcrypt-devel-2.5.8-9.puias6.i686.rpm
rpm -ivh libmcrypt-2.5.8-9.puias6.i686.rpm
rpm -ivh libmcrypt-devel-2.5.8-9.puias6.i686.rpm
</pre>
<p>(64bit の場合はこっち・・・のはず。試してないので違ってたら教えて下さい)</p>
<pre class="brush: bash; title: ; notranslate">
wget http://elders.princeton.edu/data/puias/unsupported/6/x86_64/libmcrypt-2.5.8-9.puias6.x86_64.rpm
wget http://elders.princeton.edu/data/puias/unsupported/6/x86_64/libmcrypt-devel-2.5.8-9.puias6.x86_64.rpm
rpm -ivh libmcrypt-2.5.8-9.puias6.x86_64.rpm
rpm -ivh libmcrypt-devel-2.5.8-9.puias6.x86_64.rpm
</pre>
<p>CentOS6で本番環境のサーバー作成の時に備えて備忘録として残しておきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/262/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>クローラーのbotユーザーエージェント一覧</title>
		<link>http://blog.yume-dia.jp/archives/251</link>
		<comments>http://blog.yume-dia.jp/archives/251#comments</comments>
		<pubDate>Mon, 08 Aug 2011 11:08:35 +0000</pubDate>
		<dc:creator>Nakatani</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[サーバー]]></category>
		<category><![CDATA[開発]]></category>

		<guid isPermaLink="false">http://blog.yume-dia.jp/?p=251</guid>
		<description><![CDATA[BOTかどうかの判別処理を書く為に自分の管理しているサーバーに対してアクセスのあったBOTのユーザーエージェントを抽出してみた。 PHPで書いたプログラムは、 こんな感じ。 コピペし続けて手が疲れた・・・。 使うときは  [...]]]></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%2Fblog.yume-dia.jp%2Farchives%2F251"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.yume-dia.jp%2Farchives%2F251&amp;source=kenichiro_n&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>BOTかどうかの判別処理を書く為に自分の管理しているサーバーに対してアクセスのあったBOTのユーザーエージェントを抽出してみた。</p>
<p><span id="more-251"></span></p>
<p></p>
<p>PHPで書いたプログラムは、</p>
<pre class="brush: php; title: ; notranslate">
function isBot($user_agent) {
if ( strpos ( $user_agent,'Googlebot' ) !== false ) {
if ( strpos ( $user_agent,'Mobile' ) !== false ) {
return true; //http://www.google.com/bot.html
} elseif ( strpos ( $user_agent,'Googlebot-Image' ) !== false ) {
return true; //URL無し
} elseif ( strpos ( $user_agent,'YPBot' ) !== false ) {
return true; //http://www.yellowpages.com/about/legal/crawl
}
return true; //http://www.google.com/bot.html
}elseif ( strpos ( $user_agent,'Yahoo! Slurp' ) !== false ) {
return true; //http://help.yahoo.com/help/us/ysearch/slurp
}elseif ( strpos ( $user_agent,'bingbot' ) !== false ) {
return true; //http://www.bing.com/bingbot.htm
}elseif ( strpos ( $user_agent,'Yeti' ) !== false ) {
return true; //http://help.naver.com/robots/
}elseif ( strpos ( $user_agent,'Baiduspider+' ) !== false ) {
return true; //http://www.baidu.com/search/spider.htm
}elseif ( strpos ( $user_agent,'Baiduspider' ) !== false ) {
return true; //http://www.baidu.com/search/spider.html
}elseif ( strpos ( $user_agent,'Steeler' ) !== false ) {
return true; //http://www.tkl.iis.u-tokyo.ac.jp/~crawler/
}elseif ( strpos ( $user_agent,'ichiro/mobile goo' ) !== false ) {
return true; //http://help.goo.ne.jp/help/article/1142/
}elseif ( strpos ( $user_agent,'ichiro' ) !== false ) {
return true; //http://help.goo.ne.jp/door/crawler.html
}elseif ( strpos ( $user_agent,'hotpage.fr' ) !== false ) {
return true; //http://www.hotpage.fr
}elseif ( strpos ( $user_agent,'Feedfetcher-Google' ) !== false ) {
return true; //http://www.google.com/feedfetcher.html
}elseif ( strpos ( $user_agent,'livedoor FeedFetcher' ) !== false ) {
return true; //http://reader.livedoor.com/
}elseif ( strpos ( $user_agent,'ia_archiver' ) !== false ) {
return true; //http://www.alexa.com/site/help/webmasters
}elseif ( strpos ( $user_agent,'YandexBot' ) !== false ) {
return true; //http://yandex.com/bots
}elseif ( strpos ( $user_agent,'SISTRIX Crawler' ) !== false ) {
return true; //http://crawler.sistrix.net/
}elseif ( strpos ( $user_agent,'msnbot-media' ) !== false ) {
return true; //http://search.msn.com/msnbot.htm
}elseif ( strpos ( $user_agent,'zenback bot' ) !== false ) {
return true; //http://www.logly.co.jp/
}elseif ( strpos ( $user_agent,'Y!J-BRI' ) !== false ) {
return true; //http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html
}elseif ( strpos ( $user_agent,'TurnitinBot' ) !== false ) {
return true; //http://www.turnitin.com/robot/crawlerinfo.html
}elseif ( strpos ( $user_agent,'Google Desktop' ) !== false ) {
return true; //http://desktop.google.com/
}elseif ( strpos ( $user_agent,'newzia crawler' ) !== false ) {
return true; //http://www.logly.co.jp/
}elseif ( strpos ( $user_agent,'BaiduMobaider' ) !== false ) {
return true; //http://www.baidu.jp/spider/
}elseif ( strpos ( $user_agent,'Y!J-BRJ/YATS crawler' ) !== false ) {
return true; //http://listing.yahoo.co.jp/support/faq/int/other/other_001.html
}elseif ( strpos ( $user_agent,'Seznam screenshot-generator' ) !== false ) {
return true; //http://fulltext.sblog.cz/screenshot/
}elseif ( strpos ( $user_agent,'SiteBot' ) !== false ) {
return true; //http://www.sitebot.org/robot/
}elseif ( strpos ( $user_agent,'Purebot' ) !== false ) {
return true; //http://www.puritysearch.net/
}elseif ( strpos ( $user_agent,'emBot-GalaBuzz/Nutch' ) !== false ) {
return true; //http://emining.jp/
}elseif ( strpos ( $user_agent,'Search17Bot' ) !== false ) {
return true; //http://www.search17.com/bot.php
}elseif ( strpos ( $user_agent,'Toread-Crawler' ) !== false ) {
return true; //http://news.toread.cc/crawler.php
}elseif ( strpos ( $user_agent,'Tumblr' ) !== false ) {
return true; //http://www.tumblr.com/
}elseif ( strpos ( $user_agent,'DotBot' ) !== false ) {
return true; //http://www.dotnetdotcom.org/
}elseif ( strpos ( $user_agent,'Chilkat' ) !== false ) {
return true; //http://www.chilkatsoft.com/ChilkatHttpUA.asp
}
return false;
}
</pre>
<p>こんな感じ。</p>
<p>コピペし続けて手が疲れた・・・。</p>
<p>使うときは</p>
<pre class="brush: php; title: ; notranslate">
isBot(isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'')
</pre>
<p>とでもして下さい。</p>
<p><span style="color: #ff0000;"><strong>注）そのままコピー＆ペーストして使用して頂いて構いませんが、プログラムにミスがあっても自己責任でお願いします</strong></span></p>
<p>誰かの役に立つかもしれないのでユーザーエージェントを丸ごと貼りつけておきます。</p>
<p>並び順はアクセスの多い順になっています。</p>
<p>Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)<br />
Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)<br />
Yeti/1.0 (NHN Corp.; http://help.naver.com/robots/)<br />
Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)<br />
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)<br />
DoCoMo/2.0 N905i(c100;TB;W24H16) (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)<br />
Mozilla/5.0 (compatible; Steeler/3.5; http://www.tkl.iis.u-tokyo.ac.jp/~crawler/)<br />
ichiro/3.0 (http://help.goo.ne.jp/door/crawler.html)<br />
hotpage.fr (http://www.hotpage.fr)<br />
Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 1 subscribers; feed-id=6741455251313593689)<br />
Baiduspider+(+http://www.baidu.com/search/spider.htm)<br />
livedoor FeedFetcher/0.01 (http://reader.livedoor.com/; 1 subscriber)<br />
ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)<br />
Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)<br />
Mozilla/5.0 (compatible; SISTRIX Crawler; http://crawler.sistrix.net/)<br />
msnbot-media/1.1 (+http://search.msn.com/msnbot.htm)<br />
Mozilla/5.0 (compatible; zenback bot; powered by logly +http://www.logly.co.jp/)<br />
Y!J-BRI/0.0.1 crawler ( http://help.yahoo.co.jp/help/jp/search/indexing/indexing-15.html )<br />
TurnitinBot/2.1 (http://www.turnitin.com/robot/crawlerinfo.html)<br />
Mozilla/5.0 (compatible; Google Desktop/5.9.1005.12335; http://desktop.google.com/)<br />
Mozilla/5.0 (compatible; newzia crawler +http://www.logly.co.jp/)<br />
DoCoMo/2.0 P05A(c100;TB;W24H15) (compatible; BaiduMobaider/1.0; +http://www.baidu.jp/spider/)<br />
Y!J-BRJ/YATS crawler (http://listing.yahoo.co.jp/support/faq/int/other/other_001.html)<br />
Mozilla/5.0 (compatible; Seznam screenshot-generator 2.0; +http://fulltext.sblog.cz/screenshot/)<br />
Mozilla/5.0 (compatible; SiteBot/0.1; +http://www.sitebot.org/robot/)<br />
Mozilla/5.0 (compatible; Purebot/1.1; +http://www.puritysearch.net/)<br />
emBot-GalaBuzz/Nutch-1.0 (http://emining.jp/; em@galabuzz.jp)<br />
Mozilla/5.0 (compatible; Search17Bot/1.1; http://www.search17.com/bot.php)<br />
DoCoMo/2.0 P900i(c100;TB;W24H11) (compatible; ichiro/mobile goo; +http://help.goo.ne.jp/help/article/1142/)<br />
YPBot/Raven1.1.3 (compatible; Googlebot/2.1;+http://www.yellowpages.com/about/legal/crawl)<br />
Mozilla/4.0 (Toread-Crawler/1.1; +http://news.toread.cc/crawler.php)<br />
Tumblr/1.0 RSS syndication (+http://www.tumblr.com/) (support@tumblr.com)<br />
Mozilla/5.0 (compatible; DotBot/1.1; http://www.dotnetdotcom.org/, crawler@dotnetdotcom.org)<br />
Chilkat/1.0.0 (+http://www.chilkatsoft.com/ChilkatHttpUA.asp)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.yume-dia.jp/archives/251/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

