<?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>perlとMysqlでCGI &#38; サーバ管理 漏れ的メモ</title>
	<atom:link href="http://perl.no-tubo.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl.no-tubo.net</link>
	<description>perl＆MySQLでCGIプログラミング。ウェブ運営の小技。鯖管メモもちょっとだけ。</description>
	<lastBuildDate>Tue, 09 Mar 2010 00:25:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Postfixをyumでアップデートしてしまった orz&#8230;</title>
		<link>http://perl.no-tubo.net/2010/03/08/postfix%e3%82%92yum%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%a3%e3%81%9f-orz/</link>
		<comments>http://perl.no-tubo.net/2010/03/08/postfix%e3%82%92yum%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%a3%e3%81%9f-orz/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 04:39:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[雑記]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=385</guid>
		<description><![CDATA[MySQL対応にしているため、yumでアップデートしてはいけなかったのを忘れていて、やってしまった。。。
以前作ったRPMが残っていたのでダウングレードインストールでなんとかなったけどあせりました。
気をつけないといけな [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL対応にしているため、yumでアップデートしてはいけなかったのを忘れていて、やってしまった。。。</p>
<p>以前作ったRPMが残っていたのでダウングレードインストールでなんとかなったけどあせりました。<br />
気をつけないといけないなぁ。</p>
<pre>rpm -Uvh --oldpackage /usr/src/redhat/RPMS/i386/postfix-2.3.3-2.1.centos.mysql_pgsql.i386.rpm</pre>
<p>関連記事<br />
<a href="http://perl.no-tubo.net/2009/10/02/centos5-3-postfixをmysql対応にする/"> http://perl.no-tubo.net/2009/10/02/centos5-3-postfixをmysql対応にする/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/03/08/postfix%e3%82%92yum%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%a3%e3%81%9f-orz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webサービスを公開し、運用するために を読んで</title>
		<link>http://perl.no-tubo.net/2010/03/06/web%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e5%85%ac%e9%96%8b%e3%81%97%e3%80%81%e9%81%8b%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ab-%e3%82%92%e8%aa%ad%e3%82%93%e3%81%a7/</link>
		<comments>http://perl.no-tubo.net/2010/03/06/web%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e5%85%ac%e9%96%8b%e3%81%97%e3%80%81%e9%81%8b%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ab-%e3%82%92%e8%aa%ad%e3%82%93%e3%81%a7/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 14:53:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[雑記]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=378</guid>
		<description><![CDATA[Webサービスを公開し、運用するために
なかなか面白い記事でした。
自分も独学でPerlを学び、MySQLを学び、少しずつスキルアップして様々なサービスを構築出来るようになりました。
ま、たいしたサービスではないですが（ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://d.hatena.ne.jp/h-yano/20081127/1227795949">Webサービスを公開し、運用するために</a></p>
<p>なかなか面白い記事でした。<br />
自分も独学でPerlを学び、MySQLを学び、少しずつスキルアップして様々なサービスを構築出来るようになりました。<br />
ま、たいしたサービスではないですが（汗</p>
<p>最初は激安のレンサバから始めて、徐々にグレードアップして、レンタルではスペックが足りなくなり、専用サーバに移行しました（追い出されたと言う？）</p>
<p>専用サーバは管理の面で踏ん切りがなかなか付かなかったのですが、手探りで四苦八苦しながらスキルを身につけていきました。これももちろん独学です。</p>
<p>LINUXに触るのが初めて、ましてやコマンドラインでの操作なんて・・・と思っていましたが、GUIツールを使いつつなんとか管理（の真似？）出来るようになりました。</p>
<p>一年半ほど専用サーバを利用していましたが、WEBとデータベースを分けたくなり、思い切って自宅サーバを構築する事に。</p>
<p>で、現在に至っています。<br />
今はネットでいろいろな情報を検索出来るので助かります。偉大な先人たちに感謝です。</p>
<p>自宅サーバでの苦労はたくさんありますが、好きなのであまり苦労とは感じていません。<br />
ただ、次から次へと知識が必要になるので頭から煙が出そうです（笑</p>
<p>日々精進な毎日です。やはり継続する事が何よりも大事ですね。</p>
<p>あれ？サーバに関しての記事になってしまった・・・</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/03/06/web%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%92%e5%85%ac%e9%96%8b%e3%81%97%e3%80%81%e9%81%8b%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ab-%e3%82%92%e8%aa%ad%e3%82%93%e3%81%a7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascriptでクエリーを取得する関数 getQueryStrings</title>
		<link>http://perl.no-tubo.net/2010/02/06/javascript%e3%81%a7%e3%82%af%e3%82%a8%e3%83%aa%e3%83%bc%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e9%96%a2%e6%95%b0-getquerystrings/</link>
		<comments>http://perl.no-tubo.net/2010/02/06/javascript%e3%81%a7%e3%82%af%e3%82%a8%e3%83%aa%e3%83%bc%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e9%96%a2%e6%95%b0-getquerystrings/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 04:49:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=365</guid>
		<description><![CDATA[location.URLなどから取得するのではなく、例えば下記ページのような事を行う関数。
javascriptでURLクエリで、変数を受け取ることはできないでしょうか？
http://q.hatena.ne.jp/11 [...]]]></description>
			<content:encoded><![CDATA[<p>location.URLなどから取得するのではなく、例えば下記ページのような事を行う関数。</p>
<blockquote><p>javascriptでURLクエリで、変数を受け取ることはできないでしょうか？<br />
<a href="http://q.hatena.ne.jp/1179844292">http://q.hatena.ne.jp/1179844292</a></p></blockquote>
<p>&lt;script src=&#8221;sample.js?key1=value1&amp;key2=value2&#8243;&gt;&lt;/script&gt;</p>
<p>などでクエリー（Javascriptではそう呼ばない？？）を取得する。<br />
注意点としては日本語等マルチバイトの文字をvalueにセットするには、URLエンコードしないとだめかも。<br />
（呼び出し元のHTMLがUTF-8だとうまくいったけど。。。）</p>
<pre>var getQueryStrings = function (){

    // scriptタグからリクエストされたURIを取得し、クエリー(?以降の部分)を抜き出す
    var script = document.getElementsByTagName( 'script' );
    var request = script[script.length-1].src;
    var query =( request.match(/\?(.+)$/) )[1]; //配列に代入されるため[1]の要素を代入

    //
    var pairs = query.split(/&amp;/);
    var form={};
    for (var i in pairs){
        var val = pairs[i].split(/=/);
        form[decodeURI(val[0])] = decodeURI(val[1]);
    }
return form;
};</pre>
<p>使い方は<br />
var form = getQueryStrings();<br />
とするとform にハッシュとして代入される。</p>
<p>form["key1"]やform["key2"]のように。<br />
だいたい form.key1 form.key2 でも大丈夫だと思うけど、key1が数字の場合うまくいかないので注意。<br />
例）sample.js?1=val1&amp;2=val2</p>
<p>なんでこんな事するのかというと、以前はCGIでJavascriptを書き出していたので perl.cgi?k=aaa&amp;〜 と、していた。そのスクリプトをJavascriptとして置き換えるのにURIの変更を（ほぼ）せずに行いたかったので。<br />
こうしないとパラメーターを渡すのにscriptタグの変更が必要なので。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/02/06/javascript%e3%81%a7%e3%82%af%e3%82%a8%e3%83%aa%e3%83%bc%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e9%96%a2%e6%95%b0-getquerystrings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ディスクへのよけいな書き込みを排除し、速度を上げる</title>
		<link>http://perl.no-tubo.net/2010/02/04/%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e3%81%b8%e3%81%ae%e3%82%88%e3%81%91%e3%81%84%e3%81%aa%e6%9b%b8%e3%81%8d%e8%be%bc%e3%81%bf%e3%82%92%e6%8e%92%e9%99%a4%e3%81%97%e3%80%81%e9%80%9f%e5%ba%a6%e3%82%92/</link>
		<comments>http://perl.no-tubo.net/2010/02/04/%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e3%81%b8%e3%81%ae%e3%82%88%e3%81%91%e3%81%84%e3%81%aa%e6%9b%b8%e3%81%8d%e8%be%bc%e3%81%bf%e3%82%92%e6%8e%92%e9%99%a4%e3%81%97%e3%80%81%e9%80%9f%e5%ba%a6%e3%82%92/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 00:06:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[perl小技]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=360</guid>
		<description><![CDATA[はてなの質問で気になったものを発見。
ファイルの書き込み速度を向上させる方法。　perlで一度に複数のファイルを書き出すプログラムを作っていますが、openで書き出しています。　ファイルの数が増えるとやはり徐々に完了まで [...]]]></description>
			<content:encoded><![CDATA[<p>はてなの質問で気になったものを発見。</p>
<blockquote><p>ファイルの書き込み速度を向上させる方法。　perlで一度に複数のファイルを書き出すプログラムを作っていますが、openで書き出しています。　ファイルの数が増えるとやはり徐々に完了まで時間がかかってきますが、ファイルを書き出す際の速度向上にはどのようなものがあるでしょうか。　ハードウェアの交換等以外でお願い致します。<br />
<a href="http://q.hatena.ne.jp/1125455948">http://q.hatena.ne.jp/1125455948</a></p></blockquote>
<p>この回答にディスクの書き込みによけいなものを排除するというものがあった。<br />
<a href="http://www.itmedia.co.jp/help/tips/linux/l0298.html">http://www.itmedia.co.jp/help/tips/linux/l0298.html</a></p>
<p>ようするにアクセス情報（更新時間等）を書き込まないようにする、との事。<br />
速度を重視でファイルの内容のみを必要とするなら良いかも。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/02/04/%e3%83%87%e3%82%a3%e3%82%b9%e3%82%af%e3%81%b8%e3%81%ae%e3%82%88%e3%81%91%e3%81%84%e3%81%aa%e6%9b%b8%e3%81%8d%e8%be%bc%e3%81%bf%e3%82%92%e6%8e%92%e9%99%a4%e3%81%97%e3%80%81%e9%80%9f%e5%ba%a6%e3%82%92/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apacheの設定ファイル（httpd.conf）の文法をチェックするコマンド</title>
		<link>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/</link>
		<comments>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 09:32:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=338</guid>
		<description><![CDATA[Apacheの設定ファイルが正しいかhttpdを起動する前に確認する
/usr/sbin/apachectl configtest
設定ファイル（httpd.conf）に文法エラーが無ければ
Syntax OK と表示さ [...]]]></description>
			<content:encoded><![CDATA[<h2>Apacheの設定ファイルが正しいかhttpdを起動する前に確認する</h2>
<pre>/usr/sbin/apachectl configtest</pre>
<p>設定ファイル（httpd.conf）に文法エラーが無ければ<br />
Syntax OK と表示されるはず。</p>
<p>何らかのエラーがある場合は</p>
<blockquote><p>Syntax error on line 31 of /etc/httpd/conf/httpd.conf:<br />
Invalid command &#8216;¥x11&#8242;, perhaps mis-spelled or defined by a module not included in the server configuration</p></blockquote>
<p>などとエラーメッセージを表示する。</p>
<p>/etc/httpd/conf.d 以下にある設定ファイルはチェックされないので注意。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyberduck 3.4系にしたら動作がもっさり？</title>
		<link>http://perl.no-tubo.net/2010/01/20/cyberduck-3-4%e7%b3%bb%e3%81%ab%e3%81%97%e3%81%9f%e3%82%89%e5%8b%95%e4%bd%9c%e3%81%8c%e3%82%82%e3%81%a3%e3%81%95%e3%82%8a%ef%bc%9f/</link>
		<comments>http://perl.no-tubo.net/2010/01/20/cyberduck-3-4%e7%b3%bb%e3%81%ab%e3%81%97%e3%81%9f%e3%82%89%e5%8b%95%e4%bd%9c%e3%81%8c%e3%82%82%e3%81%a3%e3%81%95%e3%82%8a%ef%bc%9f/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 07:37:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Cyberduck]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[SFTP]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=329</guid>
		<description><![CDATA[mac OS X用のSFTP FTPクライアント「Cyberduck」はFinder感覚で使えるので人気のFTPクライアントだと思いますが、先日のアップデートで3.4.xにしたらなんだか動作がもっさりしている。
ディレク [...]]]></description>
			<content:encoded><![CDATA[<p>mac OS X用のSFTP FTPクライアント「Cyberduck」はFinder感覚で使えるので人気のFTPクライアントだと思いますが、先日のアップデートで3.4.xにしたらなんだか動作がもっさりしている。</p>
<p>ディレクトリの内容（ファイルリスト）を表示するまでがなんだかもたつく感じでしょうか？</p>
<p>3.3まではきびきび動作していた感じでしたが。。。<br />
バージョンをダウングレード させました。。</p>
<p>SFTP接続での話ですのでFTPだと分かりませんけど。<br />
とても使いやすいソフトなだけに残念。</p>
<p>Cyberduck<br />
<a href="http://cyberduck.ch/">http://cyberduck.ch/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/01/20/cyberduck-3-4%e7%b3%bb%e3%81%ab%e3%81%97%e3%81%9f%e3%82%89%e5%8b%95%e4%bd%9c%e3%81%8c%e3%82%82%e3%81%a3%e3%81%95%e3%82%8a%ef%bc%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>いつのまにかSafari(OS X?)がword-breakを実装していた件</title>
		<link>http://perl.no-tubo.net/2010/01/14/%e3%81%84%e3%81%a4%e3%81%ae%e3%81%be%e3%81%ab%e3%81%8bsafarios-x%e3%81%8cword-break%e3%82%92%e5%ae%9f%e8%a3%85%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6/</link>
		<comments>http://perl.no-tubo.net/2010/01/14/%e3%81%84%e3%81%a4%e3%81%ae%e3%81%be%e3%81%ab%e3%81%8bsafarios-x%e3%81%8cword-break%e3%82%92%e5%ae%9f%e8%a3%85%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:44:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[スタイルシート]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=322</guid>
		<description><![CDATA[つい先日、CSSをイジッていて気が付いた事。
通常、div等のボックス内にある半角英数の文字列…例えばURL等の長い文字列は改行されない。
んだけど、IE独自の仕様で word-break ってのがあるらしくIE独自じゃ [...]]]></description>
			<content:encoded><![CDATA[<p>つい先日、CSSをイジッていて気が付いた事。</p>
<p>通常、div等のボックス内にある半角英数の文字列…例えばURL等の長い文字列は改行されない。<br />
んだけど、IE独自の仕様で word-break ってのがあるらしくIE独自じゃ意味ないしなぁと気にもしなかった。</p>
<p>たまたまCSSのテストをしていて、試しに word-break:break-all; を設定してみた。<br />
ふとSafariで確認したら折り返されている！<br />
いつのまにか実装されていたのか？？</p>
<p>ちなみにMac OSX 用 Safari 4.04 での事。<br />
FireFox 3.5.7で確認したけど、こちらは改行されていなかった。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/01/14/%e3%81%84%e3%81%a4%e3%81%ae%e3%81%be%e3%81%ab%e3%81%8bsafarios-x%e3%81%8cword-break%e3%82%92%e5%ae%9f%e8%a3%85%e3%81%97%e3%81%a6%e3%81%84%e3%81%9f%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pelrで配列をシャッフル</title>
		<link>http://perl.no-tubo.net/2010/01/08/pelr%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e3%82%b7%e3%83%a3%e3%83%83%e3%83%95%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2010/01/08/pelr%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e3%82%b7%e3%83%a3%e3%83%83%e3%83%95%e3%83%ab/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 04:23:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[perl小技]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=310</guid>
		<description><![CDATA[たまに使う配列のシャッフル。
コピペで使えると便利なので。
sub shuffle {
  my @list;
  push( @list, splice(@_, int(rand(@_))) ) while(@_);
 [...]]]></description>
			<content:encoded><![CDATA[<p>たまに使う配列のシャッフル。<br />
コピペで使えると便利なので。</p>
<pre>sub shuffle {
  my @list;
  push( @list, splice(@_, int(rand(@_))) ) while(@_);
  return @list;
}</pre>
<p>使い方</p>
<blockquote><p>my @data = (1,2,3,4,5);<br />
@data = shuffle(@data);</p></blockquote>
<p>参考：<a href="http://sonic64.com/2004-11-13.html">http://sonic64.com/2004-11-13.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/01/08/pelr%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e3%82%b7%e3%83%a3%e3%83%83%e3%83%95%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OpenIDを使う為のPerlモジュールをインストール</title>
		<link>http://perl.no-tubo.net/2009/12/24/openid%e3%82%92%e4%bd%bf%e3%81%86%e7%82%ba%e3%81%aeperl%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2009/12/24/openid%e3%82%92%e4%bd%bf%e3%81%86%e7%82%ba%e3%81%aeperl%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 05:37:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[perlモジュール]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[モジュール]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=302</guid>
		<description><![CDATA[以下の順でインストールするとうまくいくらしい。
Math::BigInt
Math::BigInt::GMP
Crypt::DH
Net::OpenID::Consumer
Net::OpenID::Consumerをイ [...]]]></description>
			<content:encoded><![CDATA[<p>以下の順でインストールするとうまくいくらしい。</p>
<p>Math::BigInt<br />
Math::BigInt::GMP<br />
Crypt::DH<br />
Net::OpenID::Consumer</p>
<p>Net::OpenID::Consumerをインストール時にXML::Simpleが足りなかったので先にインストールした。</p>
<p>参考：<a href="http://www.atmarkit.co.jp/fsecurity/rensai/openid03/openid01.html">http://www.atmarkit.co.jp/fsecurity/rensai/openid03/openid01.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/12/24/openid%e3%82%92%e4%bd%bf%e3%81%86%e7%82%ba%e3%81%aeperl%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PayPal sandboxでの環境設定</title>
		<link>http://perl.no-tubo.net/2009/12/16/paypal-sandbox%e3%81%a7%e3%81%ae%e7%92%b0%e5%a2%83%e8%a8%ad%e5%ae%9a/</link>
		<comments>http://perl.no-tubo.net/2009/12/16/paypal-sandbox%e3%81%a7%e3%81%ae%e7%92%b0%e5%a2%83%e8%a8%ad%e5%ae%9a/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 01:13:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PayPal]]></category>
		<category><![CDATA[sandbox]]></category>
		<category><![CDATA[クレジットカード]]></category>
		<category><![CDATA[決済]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=293</guid>
		<description><![CDATA[IPN（即時支払い通知）のシステム構築
以前作ったsandboxでのテスト環境を使って、別の事業を構築する為のテストを行ったらエラーに悩まされた。
IPNで通知される状態が
payment_status=Pending
 [...]]]></description>
			<content:encoded><![CDATA[<h1>IPN（即時支払い通知）のシステム構築</h1>
<p>以前作ったsandboxでのテスト環境を使って、別の事業を構築する為のテストを行ったらエラーに悩まされた。</p>
<p>IPNで通知される状態が</p>
<pre>payment_status=Pending
pending_reason=paymentreview</pre>
<p>となってしまう。悩んだあげく、受取人のアカウント設定がおかしいのに気付く。<br />
前にいろいろいじったアカウントを受取人に設定したせいかも。<br />
とりあえず変更してみる。</p>
<h2>主要通貨を変更</h2>
<ol>
<li>Profile -&gt; Financial InformationのCurrency Balances から</li>
<li>セレクトボックス（Select new currency）から Japanese Yen を選択し、Add Currencyボタンで追加する</li>
<li>追加された一覧の Japanese Yen のラジオボタンと選択し、Make Primaryボタンを押す。</li>
</ol>
<h2>ウェブ ペイメントの設定</h2>
<p>Selling Preferences -&gt; Website Payment Preferences から行う。</p>
<p>各項目は以下の通り。</p>
<h5><span style="color: #000080;">Auto Return for Website Payments</span></h5>
<p>Auto Return: Off<br />
Return URL: 無し<br />
自動復帰はフォームパラメーターで渡せるのでOff。<br />
事業が１つしか無い場合を除き自動復帰URLをケースによって変えたい場合があるので。</p>
<h5><span style="color: #000080;">Payment Data Transfer (optional)</span></h5>
<p>Payment Data Transfer: Off<br />
これもフォームで渡せるので。</p>
<h5><span style="color: #000080;">Encrypted Website Payments</span></h5>
<p>Block Non-encrypted Website Payment: Off<br />
フォームパラメータの暗号化（SSLではない）されていない場合も受け取るようにする。</p>
<h5><span style="color: #000080;">PayPal Account Optional</span></h5>
<p>PayPal Account Optional: On<br />
これが Off だとPayPalアカウントを持っていないと決済出来ない。<br />
持っていない場合、PayPalへの登録が必須となってしまう。</p>
<h5><span style="color: #000080;">Contact Telephone Number</span></h5>
<p>Contact Telephone: Off</p>
<h5><span style="color: #000080;">Express Checkout Settings</span></h5>
<p>Support giropay and bank transfer payments: No</p>
<p>とりあえず設定はしてみたものの、IPNで返されるパラメーターは<br />
payment_status=Pending<br />
pending_reason=paymentreview<br />
のままなので、テストではPendingの場合はエラーとしないで（当然 payment_statusもCompletedにならない）処理するしかないか？？</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/12/16/paypal-sandbox%e3%81%a7%e3%81%ae%e7%92%b0%e5%a2%83%e8%a8%ad%e5%ae%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
