<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>プレゼン資料 &#187; ウェブテコ第5回</title>
	<atom:link href="http://presen.php-web.net/category/webteko5/feed/" rel="self" type="application/rss+xml" />
	<link>http://presen.php-web.net</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sat, 04 Dec 2010 12:41:36 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/category/webteko5/feed/" />
		<item>
		<title>携帯シミュレータ</title>
		<link>http://presen.php-web.net/2009/simulator/</link>
		<comments>http://presen.php-web.net/2009/simulator/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 03:58:23 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=27</guid>
		<description><![CDATA[DoCoMo FireMobileSimulator 実機でチェック DoCoMo は Vista 対応。AU、Softbank もシミュレータを配布しているが、Vista に対応していないらしい。 FireMobile &#8230; <a href="http://presen.php-web.net/2009/simulator/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.nttdocomo.co.jp/service/imode/make/content/html/tool2/">DoCoMo</a></li>
<li><a href="http://firemobilesimulator.org/">FireMobileSimulator</a></li>
<li>実機でチェック</li>
</ul>
<p><a href="http://presen.php-web.net/wp-content/uploads/2009/03/mobilesimulator.jpg" rel="lightbox[1]"><img src="http://presen.php-web.net/wp-content/uploads/2009/03/mobilesimulator-200x200.jpg" alt="mobilesimulator" /></a><a href="http://presen.php-web.net/wp-content/uploads/2009/02/keitai1.jpg"  rel="lightbox[1]"><img src="http://presen.php-web.net/wp-content/uploads/2009/02/keitai1-200x200.jpg" /></a><br />
<span id="more-27"></span></p>
<hr />
<p>DoCoMo は Vista 対応。AU、Softbank もシミュレータを配布しているが、Vista に対応していないらしい。</p>
<p>FireMobileSimulator (Firefox プラグイン) は各社の端末をエミュレート可能。</p>
<p>シミュレータで確認できるのは、ユーザーエージェントで携帯振り分けしているサイトのみ。IP で制限されていれば閲覧不可。</p>
<p>最終チェックは携帯で。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/simulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/simulator/" />
	</item>
		<item>
		<title>プラグイン for WP</title>
		<link>http://presen.php-web.net/2009/sourcecode/</link>
		<comments>http://presen.php-web.net/2009/sourcecode/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:01:38 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=25</guid>
		<description><![CDATA[function the_qrcode( $data = "" , $width_height = 150 , $chld = "L" ) { if ( "" == $data ) { $data = get_blogi &#8230; <a href="http://presen.php-web.net/2009/sourcecode/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<pre><code>
function the_qrcode( $data = "" , $width_height = 150 , $chld = "L" ) {
	if ( "" == $data ) {
		$data = get_bloginfo('url');
	}
	return '&lt;img src="http://chart.apis.google.com/chart?chs=' . $width_height . 'x' . $width_height . '&#038;cht=qr&#038;chld=' . $chld . '&#038;chl=' . rawurlencode($data) . '"&gt;';
}

function qrcode_output_func( $atts , $content = null ) {
	extract( shortcode_atts( array(
					'size' => '150',
					'errorlv' => 'L',
					), $atts ));

	if ( "" == $content ) {
		$content = get_permalink();
	}
	return the_qrcode( $content , $size , $errorlv );
}

add_shortcode( 'qrcode' , 'qrcode_output_func' );

</code></pre>
<p><span id="more-25"></span></p>
<hr />
<p><a href="http://plugin.php-web.net/wp/qrcode">http://plugin.php-web.net/wp/qrcode</a> からダウンロード可能。</p>
<p><code>get_bloginfo('url')</code>, <code>get_permalink()</code> はワードプレスの関数。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/sourcecode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/sourcecode/" />
	</item>
		<item>
		<title>記事に挿入</title>
		<link>http://presen.php-web.net/2009/insert/</link>
		<comments>http://presen.php-web.net/2009/insert/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 00:38:46 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=19</guid>
		<description><![CDATA[本文で &#91;qrcode&#93; 記事 URL 自動取得 大きさ変更可能&#91;qrcode size=200&#93; QR コード(http://plugin.php-web.net/wp/qrcode)  &#8230; <a href="http://presen.php-web.net/2009/insert/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>本文で &#91;qrcode&#93;</li>
<li>記事 URL 自動取得</li>
<li>大きさ変更可能<br />&#91;qrcode size=200&#93;</li>
</ul>
<p><span id="more-19"></span><br />
<a href="http://presen.php-web.net/wp-content/uploads/2009/03/qrcode.jpg" rel="lightbox[19]"><img src="http://presen.php-web.net/wp-content/uploads/2009/03/qrcode-200x200.jpg"></a></p>
<hr />
<p><a href="http://plugin.php-web.net/wp/qrcode">QR コード</a>(http://plugin.php-web.net/wp/qrcode) からダウンロード可能。</p>
<p>記事 URL 以外のデータを QR コード化する時は、&#91;qrcode&#93;データ&#91;/qrcode&#93;。</p>
<p>オプションパラメータで size と errorlv が設定可能。<code>&#91;qrcode size=200 errorlv=H&#93;データ&#91;/qrcode&#93;</code></p>
<p>テンプレートで記述するときは、<code>the_qrcode(データ、大きさ、エラー訂正レベル)</code></p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/insert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/insert/" />
	</item>
		<item>
		<title>WordPress プラグイン</title>
		<link>http://presen.php-web.net/2009/wordpress-plugin/</link>
		<comments>http://presen.php-web.net/2009/wordpress-plugin/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 11:30:52 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=18</guid>
		<description><![CDATA[Google Chart 利用 URL 自動抽出 パラメータにデフォルト値 記事中に挿入 (ショートコード) ワードプレスプラグインは QR コード(http://plugin.php-web.net/wp/qrcode &#8230; <a href="http://presen.php-web.net/2009/wordpress-plugin/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>Google Chart 利用</li>
<li>URL 自動抽出</li>
<li>パラメータにデフォルト値</li>
<li>記事中に挿入 (ショートコード)</li>
</ul>
<p><span id="more-18"></span></p>
<hr />
ワードプレスプラグインは <a href="http://plugin.php-web.net/wp/qrcode">QR コード</a>(http://plugin.php-web.net/wp/qrcode) からダウンロード可能。</p>
<p>データ (URL) を省略した場合、記事中ではその記事の URL、テンプレートではトップページの URL を取得して QR コード作成。</p>
<p>高さと幅は 150、エラー訂正レベルは L(ow) がデフォルト。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/wordpress-plugin/" />
	</item>
		<item>
		<title>作ってみる</title>
		<link>http://presen.php-web.net/2009/create/</link>
		<comments>http://presen.php-web.net/2009/create/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 04:07:59 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=15</guid>
		<description><![CDATA[http://chart.apis.google.com/chart?chs=150&#215;150&#038;cht=qr&#038;chl=&#60;?php echo rawurlencode($url) ; ?&#038; &#8230; <a href="http://presen.php-web.net/2009/create/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>http://chart.apis.google.com/chart?chs=150&#215;150&#038;cht=qr&#038;chl=&lt;?php echo rawurlencode($url) ; ?&gt;</li>
<li>↑ 改行しない</li>
</ul>
<p><span id="more-15"></span></p>
<hr />
[qrcode]</p>
<p>ページ内の img タグで呼び出すと、画像が表示される。</p>
<p>ワードプレスなら、テンプレートに下のように記述すれば OK。</p>
<pre>
&lt;img src="http://chart.apis.google.com/chart?chs=150x150&#038;cht=qr&#038;chl=&lt;?php echo rawurlencode(get_permalink()) ; ?&gt;"&gt;
</pre>
<p><code>get_permalink()</code> はワードプレスの関数。他の CMS ツールの場合は適宜変更して利用。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/create/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/create/" />
	</item>
		<item>
		<title>Google Chart へのクエリ</title>
		<link>http://presen.php-web.net/2009/google-chart-query/</link>
		<comments>http://presen.php-web.net/2009/google-chart-query/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 00:01:23 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=14</guid>
		<description><![CDATA[chs=幅x高さ cht=qr (種別の指定) chl=データ (URL エンコード) choe=出力エンコード chld=エラー訂正 &#124; 余白 引数は chs、cht と chl が必須。後はオプション。 例:http &#8230; <a href="http://presen.php-web.net/2009/google-chart-query/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>chs=幅x高さ</li>
<li>cht=qr (種別の指定)</li>
<li>chl=データ (URL エンコード)</li>
<li>choe=出力エンコード</li>
<li>chld=エラー訂正 | 余白</li>
</ul>
<p><span id="more-14"></span></p>
<hr />
<p>引数は chs、cht と chl が必須。後はオプション。<br />
例:http://chart.apis.google.com/chart?chs=150&#215;150&#038;cht=qr&#038;chld=L&#038;chl=http%3A%2F%2Fpresen.php-web.net%2F2009%2Fwebteko5%2Fqrcode01%2F</p>
<p>chs(幅と高さ)は異なる数を指定すると、小さい方になる (QR コードは正方形なので)。</p>
<p>cht(種別)は QR コードの qr 。他のグラフやチャート等も作成できる。</p>
<p>chl(データ)は URL エンコードしておく。</p>
<p>choe(エンコード)は、入力は UTF-8 のみで、出力は、Shift_JIS、UTF-8、ISO-8859-1 が可能。デフォルトは UTF-8。</p>
<p>chld(エラー訂正)は、L,M,Q,H。L 7%, M 15%, Q 25%, H 30% でデフォルトは L。</p>
<p>余白は QR コードの周囲の空きの行(列)数を整数で指定。デフォルトは 4。</p>
<p>バージョンは、データ量とエラー訂正レベルから自動選択される。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/google-chart-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/google-chart-query/" />
	</item>
		<item>
		<title>Google Chart</title>
		<link>http://presen.php-web.net/2009/google_chart/</link>
		<comments>http://presen.php-web.net/2009/google_chart/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 04:10:08 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=11</guid>
		<description><![CDATA[グラフ作成サービス QR コード作成可能 API でクエリ送信 登録申請不要 (2009/02) 折れ線グラフ、スパークライン、棒グラフ、円グラフ、ベン図、散布図、レーダー チャート、地図、Google-o-meter、 &#8230; <a href="http://presen.php-web.net/2009/google_chart/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>グラフ作成サービス</li>
<li>QR コード作成可能</li>
<li>API でクエリ送信</li>
<li>登録申請不要 (2009/02)</li>
</ul>
<p><span id="more-11"></span></p>
<hr />
<p>折れ線グラフ、スパークライン、棒グラフ、円グラフ、ベン図、散布図、レーダー チャート、地図、Google-o-meter、QR コード が作成できる。</p>
<p>Google にクエリを投げると画像データが返ってくる。サーバー等にセットアップする手間が不要。</p>
<p>2009 年 2 月時点では、登録申請や API キー取得等は不要。ただし一日数十万クエリぐらい使う場合は、予め連絡する必要がある。</p>
<p>詳細は<a href="http://code.google.com/intl/ja/apis/chart/#qrcodes">http://code.google.com/intl/ja/apis/chart/#qrcodes</a>を参照。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/google_chart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/google_chart/" />
	</item>
		<item>
		<title>qr_img.php へのクエリ</title>
		<link>http://presen.php-web.net/2009/qr_imgphp-query/</link>
		<comments>http://presen.php-web.net/2009/qr_imgphp-query/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 02:04:55 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=10</guid>
		<description><![CDATA[d=データ (URL エンコード) e=エラー訂正レベル s=モジュールサイズ v=バージョン t=画像の種類 引数はデータのみ必須。その他はオプション。 d=データ: rawurlencode() でエンコードしておく &#8230; <a href="http://presen.php-web.net/2009/qr_imgphp-query/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>d=データ (URL エンコード)</li>
<li>e=エラー訂正レベル</li>
<li>s=モジュールサイズ</li>
<li>v=バージョン</li>
<li>t=画像の種類</li>
</ul>
<p><span id="more-53"></span></p>
<hr />
<p>引数はデータのみ必須。その他はオプション。</p>
<p>d=データ: <tt>rawurlencode()</tt> でエンコードしておく。</p>
<p>e=エラー訂正レベル: L,M,Q,H から選択。省略した場合は M。</p>
<p>s=モジュールサイズ: 1 以上の整数。省略した場合 4(png) または 8(jpeg)</p>
<p>v=バージョン: 1〜40 で指定。省略するとプログラムが自動選択。</p>
<p>t=画像の種類: デフォルトは png。j で jpeg。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/qr_imgphp-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/qr_imgphp-query/" />
	</item>
		<item>
		<title>サーバーへアップロード</title>
		<link>http://presen.php-web.net/2009/upload/</link>
		<comments>http://presen.php-web.net/2009/upload/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 02:00:20 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=52</guid>
		<description><![CDATA[フォルダ php, data, image を転送 php/qr_img.php を呼び出す qr_img.php?d=データ 解凍してできる qr_img0.50g フォルダ内の perl. php, data, im &#8230; <a href="http://presen.php-web.net/2009/upload/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>フォルダ php, data, image を転送</li>
<li>php/qr_img.php を呼び出す</li>
<li>qr_img.php?d=データ</li>
</ul>
<p><span id="more-52"></span></p>
<hr />
<p>解凍してできる <tt>qr_img0.50g</tt> フォルダ内の perl. php, data, image のうち、php, data, image を転送する。<br />
GD ライブラリが使える環境が条件。</p>
<p>サーバー負荷に注意する。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/upload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/upload/" />
	</item>
		<item>
		<title>QRcode Perl CGI &amp; PHP scripts ver. 0.50</title>
		<link>http://presen.php-web.net/2009/qrcode-perl-cgi-php-scripts-ver-050/</link>
		<comments>http://presen.php-web.net/2009/qrcode-perl-cgi-php-scripts-ver-050/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 01:35:48 +0000</pubDate>
		<dc:creator>presenadmin</dc:creator>
				<category><![CDATA[ウェブテコ第5回]]></category>

		<guid isPermaLink="false">http://presen.php-web.net/?p=8</guid>
		<description><![CDATA[サーバー上にスクリプト設置 要 GD ライブラリ サーバー負荷に注意する www.swetake.com/qr/qr_cgi.html スクリプト本体が古い (2005 年)。速度が遅く、負荷も高い。自分のサーバースペー &#8230; <a href="http://presen.php-web.net/2009/qrcode-perl-cgi-php-scripts-ver-050/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>サーバー上にスクリプト設置</li>
<li>要 GD ライブラリ</li>
<li>サーバー負荷に注意する</li>
<li>www.swetake.com/qr/qr_cgi.html</li>
</ul>
<p><span id="more-10"></span></p>
<hr />
<p>スクリプト本体が古い (2005 年)。速度が遅く、負荷も高い。自分のサーバースペース上なので、負荷の問題をクリアすれば自由に使える。</p>
<p>ダウンロード先は<a href="http://www.swetake.com/qr/qr_cgi.html">http://www.swetake.com/qr/qr_cgi.html</a></p>
<p><code><br />
tar -xvzf qr_img0.50g.tar.gz<br />
</code><br />
で解凍できる。Win の方は適当な圧縮解凍ソフトで。</p>
]]></content:encoded>
			<wfw:commentRss>http://presen.php-web.net/2009/qrcode-perl-cgi-php-scripts-ver-050/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://presen.php-web.net/2009/qrcode-perl-cgi-php-scripts-ver-050/" />
	</item>
	</channel>
</rss>

