<?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>AKISAME.JP</title>
	<atom:link href="http://akisame.jp/feed" rel="self" type="application/rss+xml" />
	<link>http://akisame.jp</link>
	<description>gonishi&#039;s blog.</description>
	<lastBuildDate>Thu, 01 Sep 2011 10:52:03 +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>MACのXAMPPでApacheを複数ポートで立ち上げるとエラーの対処</title>
		<link>http://akisame.jp/2011/09/01/xampp-mac-apache</link>
		<comments>http://akisame.jp/2011/09/01/xampp-mac-apache#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:49:47 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[web制作]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=248</guid>
		<description><![CDATA[WindowsからMACに開発環境を移行中。 ちょっとつまづいたのでメモ。 XAMPP for MacOS X の Apache で複数ポート使おうとするとエラーが出る場合の対処方法。 ポートを分けてバーチャルホストを作 [...]]]></description>
			<content:encoded><![CDATA[<p>WindowsからMACに開発環境を移行中。<br />
ちょっとつまづいたのでメモ。<br />
XAMPP for MacOS X の Apache で複数ポート使おうとするとエラーが出る場合の対処方法。</p>
<p>ポートを分けてバーチャルホストを作りたかったので、httpd.confに</p>
<blockquote><p>Listen 8200</p></blockquote>
<p>と追加。</p>
<p>すると以下のエラーが出てくる</p>
<blockquote><p>[Thu Sep 01 17:57:00 2011] [emerg] (13)Permission denied: couldn&#8217;t grab the accept mutex
</p></blockquote>
<p>どうやら既知のバグだったみたい。<br />
<a href="http://bugs.xampp.org/view.php?id=110" title="http://bugs.xampp.org/view.php?id=110" target="_blank">http://bugs.xampp.org/view.php?id=110</a></p>
<p>対処方法は、httpd.confに以下を記載。</p>
<blockquote><p>AcceptMutex flock</p></blockquote>
<p>これで無事、ポート番号で分けてバーチャルホスト立ち上げられる。<br />
バーチャルホストの設定は以下の記事とかを参考に。<br />
<a href="http://blog.veryposi.info/server/server-setup/apache-vhost/" title="Apacheにバーチャルホスト利用で複数サイトのテスト環境を作成する方法" target="_blank">Apacheにバーチャルホスト利用で複数サイトのテスト環境を作成する方法</a></p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2011/09/01/xampp-mac-apache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBookAir買った</title>
		<link>http://akisame.jp/2011/08/08/macbookair</link>
		<comments>http://akisame.jp/2011/08/08/macbookair#comments</comments>
		<pubDate>Mon, 08 Aug 2011 10:28:54 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=230</guid>
		<description><![CDATA[MacBookAirを買いました。 現在古いMacBookから移行中です。 PIXELAのTVチューナーがLionだと動きません。 古いMacBookもLionにしてしまったので現在テレビを見る手段がありません。 NHK [...]]]></description>
			<content:encoded><![CDATA[<p>MacBookAirを買いました。<br />
現在古いMacBookから移行中です。<br />
PIXELAのTVチューナーがLionだと動きません。<br />
古いMacBookもLionにしてしまったので現在テレビを見る手段がありません。<br />
NHK受信料払ってるのに江がみれない(:_;)</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2011/08/08/macbookair/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image_Graph の 色指定</title>
		<link>http://akisame.jp/2010/10/14/pear-image_graph</link>
		<comments>http://akisame.jp/2010/10/14/pear-image_graph#comments</comments>
		<pubDate>Thu, 14 Oct 2010 05:59:38 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[web制作]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=227</guid>
		<description><![CDATA[PearのImage_Graph調べた。 どこを見ても red だのgreen だのでしか書いてなかったので、RGBで指定できないのかと思ってたけどそんなことはない。 以下いずれも可能。 $obj =&#038; Ima [...]]]></description>
			<content:encoded><![CDATA[<p>PearのImage_Graph調べた。<br />
どこを見ても red だのgreen だのでしか書いてなかったので、RGBで指定できないのかと思ってたけどそんなことはない。<br />
以下いずれも可能。</p>
<blockquote><p>
$obj =&#038; Image_Graph::factory(&#8216;Image_Graph_Fill_Array&#8217;);<br />
$obj->addColor(&#8216;red&#8217;);<br />
$obj->addColor(&#8216;red@0.3&#8242;);<br />
$obj->addColor(&#8216;#00ff33);
</p></blockquote>
<p>@はアルファ値と言って透明度を調整するらしい。(明るくなる)</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2010/10/14/pear-image_graph/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iepngfix.htcのIE判定</title>
		<link>http://akisame.jp/2010/05/12/iepngfix-htc%e3%81%aeie%e5%88%a4%e5%ae%9a</link>
		<comments>http://akisame.jp/2010/05/12/iepngfix-htc%e3%81%aeie%e5%88%a4%e5%ae%9a#comments</comments>
		<pubDate>Wed, 12 May 2010 10:34:59 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[web制作]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=222</guid>
		<description><![CDATA[IE5.5やIE6でも透過PNGを表示できるようにしてくれるIE PNG Fixをとてもありがたく使わせてもらっているんだけど、IEのバージョン判定が甘い気がする。 問題の箇所はipengfix.htcの74行目付近。  [...]]]></description>
			<content:encoded><![CDATA[<p>IE5.5やIE6でも透過PNGを表示できるようにしてくれる<a href="http://www.twinhelix.com/css/iepngfix/">IE PNG Fix</a>をとてもありがたく使わせてもらっているんだけど、IEのバージョン判定が甘い気がする。</p>
<p>問題の箇所はipengfix.htcの74行目付近。</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">	if (
		!/MSIE (5\.5|6)/.test(navigator.userAgent) ||
		typeof elm.filters == 'unknown'
	) {
		return;
	}</pre></div></div>

<p>これだと透過PNGが使えるIE7やIE8でも適用されてしまう。<br />
・・・というかこのプログラムはそういう仕様なのかも。<br />
「IE5.5+ PNG Alpha Fix v2.0 Alpha」って書いてあるし。<br />
IE5.5以上で透過PNG使えるようにするみたい。</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2010/05/12/iepngfix-htc%e3%81%aeie%e5%88%a4%e5%ae%9a/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>google スプレッドシートのフォーム機能の「必須」を「required」にする</title>
		<link>http://akisame.jp/2010/04/01/google-form-required</link>
		<comments>http://akisame.jp/2010/04/01/google-form-required#comments</comments>
		<pubDate>Thu, 01 Apr 2010 06:41:52 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[web制作]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=213</guid>
		<description><![CDATA[googleドキュメントでフォームを作ったんだけど、「必須」のところを英語で「required」って表示させたい。フランス語なら「Obligatoire」 海外の人にもアンケートに答えて欲しい。そんなときのtips。 g [...]]]></description>
			<content:encoded><![CDATA[<p>googleドキュメントでフォームを作ったんだけど、「必須」のところを英語で「required」って表示させたい。フランス語なら「Obligatoire」<br />
海外の人にもアンケートに答えて欲しい。そんなときのtips。</p>
<h4>googleドキュメントの仕様(予想)</h4>
<p>googleにログインしている人<br />
　→その人のgoogle docsの設定に依存<br />
googleにログインしていない人<br />
　→spread sheetを作った人のgoogle docsの設定に依存<br />
　→言語が指定されていればその指定に従う</p>
<p>で、言語の指定方法はアドレスにhl=enをつけてあげる(英語の場合)だけ。</p>
<blockquote><p>http://spreadsheets.google.com/viewform?<strong>hl=en&#038;</strong>formkey=&#8230;</p></blockquote>
<p>hl=frだとフランス語<br />
hl=koだと韓国語<br />
hl=itだとイタリア語<br />
hl=deだとドイツ語<br />
hl=deだとドイツ語<br />
hl=spだとスペイン語<br />
のようです。</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2010/04/01/google-form-required/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>im.kayac.comでiPhoneにtwitterをプッシュ通知するphpソースコードサンプル</title>
		<link>http://akisame.jp/2010/03/24/kayac-twitter</link>
		<comments>http://akisame.jp/2010/03/24/kayac-twitter#comments</comments>
		<pubDate>Wed, 24 Mar 2010 10:08:43 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[web制作]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=196</guid>
		<description><![CDATA[特定のユーザのtwitterの投稿をiPhoneにプッシュ通知してくれるアプリが欲しい。 そういうアプリはなさそうなので、本当はそういうアプリを作りたかったのだけれど、大変そうなのでim.kayac.comとphpとcr [...]]]></description>
			<content:encoded><![CDATA[<p>特定のユーザのtwitterの投稿をiPhoneにプッシュ通知してくれるアプリが欲しい。<br />
そういうアプリはなさそうなので、本当はそういうアプリを作りたかったのだけれど、大変そうなので<a href="http://im.kayac.com/" target="_blank">im.kayac.com</a>とphpとcronで実現してみた。<br />
<a href="http://itunes.apple.com/jp/app/im-kayac-com-receive-your/id336122737?mt=8">im.kayac.com(App Store)</a><br />
このiPhoneアプリはいろいろ便利。プログラムかければいろんなのをプッシュ通知できる。</p>
<p>以下サンプルソース。変なところがあったら教えて欲しい。<br />
これをcronで5分毎に実行する。<br />
(cronで実行するときは、１行目に#!/usr/local/bin/phpって書く)</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// 取得したいツイッターユーザの名前(ID)を配列で設定。</span>
<span style="color: #000088;">$tnames</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;tweetid&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// im.kayacのユーザ名</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span>K_NAME<span style="color: #339933;">,</span> <span style="color: #0000ff;">'username'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// im.kayacでパスワード認証を設定している場合</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span>K_PASS<span style="color: #339933;">,</span> <span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// im.kayacで秘密鍵認証を設定している場合</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span>K_SIG<span style="color: #339933;">,</span> <span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 重複取得回避用のログファイル</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span>LOG_FILE_NAME<span style="color: #339933;">,</span> <span style="color: #0000ff;">'tw_log.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// エラーログ記録用のファイル</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span>ERRLOG_FILE_NAME<span style="color: #339933;">,</span> <span style="color: #0000ff;">'tw_errlog.log'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 取得したメッセージをim.kayac.comへ。</span>
<span style="color: #000000; font-weight: bold;">function</span> outMessage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// メッセージの内容</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// 時間</span>
	<span style="color: #000088;">$timestamp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtotime</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">created_at</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y/m/d H:i&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$timestamp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;＠&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// 名前</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$message</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&gt;&gt;&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #666666; font-style: italic;">// 内容</span>
	<span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$message</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">text</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// imkayacを使ってプッシュ</span>
	imkayac<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// http://project-p.jp/halt/anubis/blog_show/1269をほぼそのまんま</span>
<span style="color: #666666; font-style: italic;">// cURLでできるんじゃなかろうか。</span>
<span style="color: #000000; font-weight: bold;">function</span> imkayac<span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	    <span style="color: #0000ff;">&quot;message&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span>
	    <span style="color: #0000ff;">&quot;password&quot;</span> <span style="color: #339933;">=&gt;</span> K_PASS<span style="color: #339933;">,</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sig'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sha1</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'message'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> K_SIG<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">http_build_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&amp;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">//header</span>
	<span style="color: #000088;">$header</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	    <span style="color: #0000ff;">&quot;Content-Type: application/x-www-form-urlencoded&quot;</span><span style="color: #339933;">,</span>
	    <span style="color: #0000ff;">&quot;Content-Length: &quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$context</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	    <span style="color: #0000ff;">&quot;http&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	        <span style="color: #0000ff;">&quot;method&quot;</span>  <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;POST&quot;</span><span style="color: #339933;">,</span>
	        <span style="color: #0000ff;">&quot;header&quot;</span>  <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$header</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	        <span style="color: #0000ff;">&quot;content&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$data</span>
	    <span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://im.kayac.com/api/post/&quot;</span><span style="color: #339933;">.</span>K_NAME<span style="color: #339933;">;</span>
	<span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #990000;">stream_context_create</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$context</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">// ログ取得(重複tweet読込回避)</span>
<span style="color: #000000; font-weight: bold;">function</span> getLog<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$retval</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span>LOG_FILE_NAME<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;r+&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span> <span style="color: #990000;">feof</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$line</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fgets</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4096</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$line</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$retval</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$retval</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ログ保存(重複tweet読込回避)</span>
<span style="color: #000000; font-weight: bold;">function</span> saveLog<span style="color: #009900;">&#40;</span><span style="color: #000088;">$datas</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$log</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$datas</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$datas</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$datas</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$name</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$log</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span>LOG_FILE_NAME<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;w+&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">flock</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> LOCK_EX<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$log</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">flock</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> LOCK_UN<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// エラーログ保存(念のため)</span>
<span style="color: #000000; font-weight: bold;">function</span> saveErrLog<span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$fp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span>ERRLOG_FILE_NAME<span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;a+&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$date</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y/m/d h:i:s'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$logmessage</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$date</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$message</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">flock</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> LOCK_EX<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fputs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$logmessage</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">flock</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #339933;">,</span> LOCK_UN<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$fp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 重複取得回避用</span>
<span style="color: #000088;">$logs</span> <span style="color: #339933;">=</span> getLog<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tnames</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$tname</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #666666; font-style: italic;">// 重複取得回避用</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$logs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$tname</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$since_id</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;?since_id=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$logs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$tname</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$since_id</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// 特定のユーザーのタイムライン取得用API</span>
	<span style="color: #000088;">$apiURL</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://api.twitter.com/1/statuses/user_timeline/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$tname</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;.xml&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$since_id</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// cURLを使ってXML取得</span>
	<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$apiURL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_CONNECTTIMEOUT<span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$retXML</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// 取得したXMLを解析</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$retXML</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #990000;">ereg</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;^&lt;\?xml&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$retXML</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> 
	   <span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_string</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$retXML</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">status</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">status</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
				<span style="color: #666666; font-style: italic;">// 重複取得回避用</span>
				<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$logs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$tname</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&lt;=</span> <span style="color: #000088;">$message</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
					<span style="color: #000088;">$logs</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$tname</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$message</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
				<span style="color: #666666; font-style: italic;">// 取得したTLを出力</span>
				outMessage<span style="color: #009900;">&#40;</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// 一応エラーログ記録</span>
		saveErrLog<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;xml取得失敗&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// 重複取得回避用</span>
saveLog<span style="color: #009900;">&#40;</span><span style="color: #000088;">$logs</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>twiiterAPIと通信する部分をいろいろ変えればReplyとかmentionとかだけ取得することも可能。<br />
そんときはログインも必要になるので、「<a href="http://www.usamimi.info/~ryouchi/twitter/">phpでTwitterをハンドリングするサンプル</a>」を参考に変えたらいいと思う。<br />
他に欲しい情報とかあったら、<a href="http://apiwiki.twitter.com/">Twitter API Wiki</a>のサイトをみればだいたい分かる。<br />
英語読めなくても結構わかる。</p>
<p>※参考サイト</p>
<ul>
<li><a href="http://project-p.jp/halt/anubis/blog_show/1269"  target="_blank">im.kayac.comにPHPで秘密鍵認証使って送信する</a></li>
<li><a href="http://im.kayac.com/" target="_blank">im.kayac.com</a></li>
<li><a href="http://apiwiki.twitter.com/">Twitter API Wiki</a></li>
<li><a href="http://www.usamimi.info/~ryouchi/twitter/">phpでTwitterをハンドリングするサンプル</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2010/03/24/kayac-twitter/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Artisteer &#8211; WordPressナビゲーションメニューの調整</title>
		<link>http://akisame.jp/2010/03/15/artisteer</link>
		<comments>http://akisame.jp/2010/03/15/artisteer#comments</comments>
		<pubDate>Mon, 15 Mar 2010 05:27:49 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[web制作]]></category>
		<category><![CDATA[Artisteer]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=179</guid>
		<description><![CDATA[aritsteer使ってる人ってあまりいないのだろうか。日本語の情報が少ない。 artisteerの作ったテーマを適用した場合、静的ページを作成したらそれがナビゲーションにメニューに自動的に表示されてとても便利。 でもメ [...]]]></description>
			<content:encoded><![CDATA[<p>aritsteer使ってる人ってあまりいないのだろうか。日本語の情報が少ない。</p>
<p>artisteerの作ったテーマを適用した場合、静的ページを作成したらそれがナビゲーションにメニューに自動的に表示されてとても便利。<br />
でもメニューが増えてくると邪魔。<br />
なのでそういうときは、テーマを編集する。<br />
functions.php内に、art_menu_items()という関数があるのでそのwp_list_pagesのパラメータを以下のように編集。</p>
<p>変更前。</p>
<blockquote><p>
wp_list_pages(&#8216;title_li=&#038;sort_column=menu_order);
</p></blockquote>
<p>変更後。</p>
<blockquote><p>
wp_list_pages(&#8216;title_li=&#038;sort_column=menu_order&#038;include=9,26,43,50,53&#8242;);
</p></blockquote>
<p>includeの後に表示させたいページIDをカンマ区切りで入れていけばOK。<br />
ページIDは、管理画面の「ページ」から編集したい画面を選択するとURLがpost=xxとなってるのでその番号を記載する。<br />
表示させたくないページだけ表示させないようにする場合はinclude→excludeにしてIDを指定する。<br />
こんな感じ。</p>
<blockquote><p>
wp_list_pages(&#8216;title_li=&#038;sort_column=menu_order&#038;exclude=3,4&#8242;);
</p></blockquote>
<p>参考サイト</p>
<ul>
<li><a href="http://phpress.enjoy-life-style.com/archives/54">WordPress で特定のページだけをナビゲーションメニューに表示する方法</a></li>
<li><a href="http://sado-is.com/archives/870">メニューに表示したくないページがある</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2010/03/15/artisteer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbirdでcp932の文字化け対策</title>
		<link>http://akisame.jp/2009/06/07/cp932-thunderbird</link>
		<comments>http://akisame.jp/2009/06/07/cp932-thunderbird#comments</comments>
		<pubDate>Sun, 07 Jun 2009 09:32:07 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=167</guid>
		<description><![CDATA[Thunderbird(windows)でcharset=CP932のメールもらうと文字化けする。 で、対処方法みつけたのでメモ。 C:\Program Files\Mozilla Thunderbird\resフォルダ [...]]]></description>
			<content:encoded><![CDATA[<p>Thunderbird(windows)でcharset=CP932のメールもらうと文字化けする。<br />
で、対処方法みつけたのでメモ。</p>
<p>C:\Program Files\Mozilla Thunderbird\resフォルダのcharsetalias.propertiesというファイルを編集すればOK</p>
<blockquote><p>#<br />
# Aliases for Shift_JIS<br />
#<br />
x-sjis=Shift_JIS<br />
shift-jis=Shift_JIS<br />
ms_kanji=Shift_JIS<br />
csshiftjis=Shift_JIS<br />
windows-31j=Shift_JIS</p></blockquote>
<p>↑の部分に以下の行を追加。</p>
<blockquote><p>cp932=Shift_JIS</p></blockquote>
<p>再起動したら文字化けしなくなってました。<br />
厳密にはこの二つの文字コードは違うものらしいのだけれど、とりあえずこれで見られるようになったのでOKということで。</p>
<p>charset=CP932の文字コードはどうやらMac OS X のMail.app使ってるとそうなるらしい。<br />
メールを送る人がCP932をやめてくれればいいのだけれど、言えないときもよくあるので、そんなときはこの対策。</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2009/06/07/cp932-thunderbird/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbirdでhtml形式の変換を避ける</title>
		<link>http://akisame.jp/2009/05/09/thunderbird-not-html-reply</link>
		<comments>http://akisame.jp/2009/05/09/thunderbird-not-html-reply#comments</comments>
		<pubDate>Sat, 09 May 2009 09:12:58 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=157</guid>
		<description><![CDATA[「返信」ボタンを押すと、html形式で編集が始まる メーラーはThunderbirdを使ってます。 「返信」ボタンを押すと、たまに勝手にhtml形式で編集が始まります。 原因はよくわからない。たまにそうなる。そんなの耐え [...]]]></description>
			<content:encoded><![CDATA[<h4>「返信」ボタンを押すと、html形式で編集が始まる</h4>
<p>メーラーはThunderbirdを使ってます。<br />
「返信」ボタンを押すと、たまに勝手にhtml形式で編集が始まります。<br />
原因はよくわからない。たまにそうなる。そんなの耐えられない。<br />
それを回避する方法を探してたんだけど、どこにも設定がなくて・・・。<br />
あきらめかけたところで</p>
<p>「ツール」⇒「オプション」⇒「詳細」⇒「一般」⇒「設定エディタ」を発見。</p>
<p>それらしい言葉(htmlとかeditor)のところを見当つけて、一個ずついじってやっと発見。<br />
忘れてしまうと、もったいないのでメモ。</p>
<h4>「設定エディタ」で値を変更</h4>
<h5>mail.identity.default.compose_html</h5>
<p>これをfalseにすればいいっぽい。</p>
<p>いまだにhtmlのメールがキライで全部text形式で送ってます。<br />
相手に届くメールの内容が意図しない形に編集されるのは嫌だ。</p>
<h4>残りの課題</h4>
<h4>ISO-8859-1って何？</h4>
<p>実はもう一個解決したい問題があって、これも「返信」を書いてるときなんだけど、「西欧(ISO-8859-1)」で編集が始まります。<br />
それだけなら何の問題もないのだけれど、しばらくすると「UTF-8で送信したほうがいいよ」みたいな警告が出てきます。<br />
警告がじゃまなので、常にUTF-8で編集するように設定したいのだけれど、設定の仕方がわからない。</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2009/05/09/thunderbird-not-html-reply/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>googleでアンケート</title>
		<link>http://akisame.jp/2009/04/07/google-questionnaire</link>
		<comments>http://akisame.jp/2009/04/07/google-questionnaire#comments</comments>
		<pubDate>Tue, 07 Apr 2009 01:37:30 +0000</pubDate>
		<dc:creator>gonishi</dc:creator>
				<category><![CDATA[戯言]]></category>

		<guid isPermaLink="false">http://akisame.jp/?p=124</guid>
		<description><![CDATA[googleドキュメントにフォームの作成機能が便利な件。 イベントを開催して参加者の申し込みを受け付けるときは、たいてい無料フォームメールのサービスを使うのだけれど、googleの「フォーム作成」を使ったら便利そう。 無 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://docs.google.com/">googleドキュメント</a>にフォームの作成機能が便利な件。<br />
イベントを開催して参加者の申し込みを受け付けるときは、たいてい無料フォームメールのサービスを使うのだけれど、googleの「フォーム作成」を使ったら便利そう。</p>
<div id="attachment_127" class="wp-caption aligncenter" style="width: 191px"><a href="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform1.png"><img class="size-medium wp-image-127" title="フォームの作成" src="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform1-181x300.png" alt="フォームの作成" width="181" height="300" /></a><p class="wp-caption-text">フォームの作成</p></div>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 310px"><a href="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform3.png"><img class="size-medium wp-image-132" title="編集画面" src="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform3-300x272.png" alt="編集画面" width="300" height="272" /></a><p class="wp-caption-text">編集画面</p></div>
<div id="attachment_136" class="wp-caption aligncenter" style="width: 310px"><a href="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform4.png"><img class="size-medium wp-image-136" title="アンケート画面" src="http://akisame.jp/wpcore/wp-content/uploads/2008/12/googleform4-300x214.png" alt="アンケート画面" width="300" height="214" /></a><p class="wp-caption-text">アンケート画面</p></div>
<p>無料フォームメールサービス(以下、FMS)とGoogleドキュメントのフォーム作成機能(Google Form)を比較してみた。<br />
まずは申し込みを受け付けるフォームとしての利用。</p>
<table border="0">
<tbody>
<tr>
<td></td>
<td>FMS</td>
<td>Google Form</td>
</tr>
<tr>
<td>見た目</td>
<td>ある程度自由</td>
<td>変更できない。でもシンプルでカッコイイ</td>
</tr>
<tr>
<td>広告</td>
<td>広告が入る</td>
<td>広告なし</td>
</tr>
<tr>
<td>フォームの作成</td>
<td>カッコイイものを作ろうとすると、ある程度HTMLの知識が必要</td>
<td>HTMLの知識必要なし</td>
</tr>
<tr>
<td>集計</td>
<td>一回一回CSV形式でダウンロードして集計</td>
<td>GoogleDocsからすぐに集計可能。概要機能もあり。</td>
</tr>
</tbody>
</table>
<p><a href="http://spreadsheets.google.com/viewform?key=pQ_aCfJvwEkqkxB59xpH_Yg">sample</a></p>
<p>たとえば↓みたいなのがったら騙されそう<br />
読込中&#8230;</p>
<p>↓こういうのも出来る<br />
読込中&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://akisame.jp/2009/04/07/google-questionnaire/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

