<?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>BW-LOG</title>
	<atom:link href="http://blog.bit-works.net/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bit-works.net</link>
	<description>(株)BitWorksのブログです.</description>
	<lastBuildDate>Fri, 16 Apr 2010 02:18:52 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>お問い合わせ</title>
		<link>http://blog.bit-works.net/mail</link>
		<comments>http://blog.bit-works.net/mail#comments</comments>
		<pubDate>Wed, 24 Sep 2008 11:42:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?page_id=13</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[[contact-form]
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/mail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>デベロッパー向けにTwitter APIの技術情報とアプリケーションの開発のヒントを掲載したTwitterのデベロッパー向けサイトがオープン</title>
		<link>http://blog.bit-works.net/archives/244</link>
		<comments>http://blog.bit-works.net/archives/244#comments</comments>
		<pubDate>Fri, 16 Apr 2010 02:18:52 +0000</pubDate>
		<dc:creator>tuti</dc:creator>
				<category><![CDATA[Twitter]]></category>
		<category><![CDATA[WebAPI]]></category>
		<category><![CDATA[サービス]]></category>
		<category><![CDATA[WebService]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?p=244</guid>
		<description><![CDATA[デベロッパー向けにTwitter APIの技術情報とアプリケーションの開発のヒントを掲載したTwitterのデベロッパー向けサイトがオープンしましたね。
dev.twitter.com
[Your apps]から登録中の [...]]]></description>
			<content:encoded><![CDATA[<p>デベロッパー向けにTwitter APIの技術情報とアプリケーションの開発のヒントを掲載したTwitterのデベロッパー向けサイトがオープンしましたね。<br />
<a href="http://bit.ly/clTJOG">dev.twitter.com</a></p>
<div id="attachment_245" class="wp-caption alignright" style="width: 310px"><img src="http://blog.bit-works.net/wp-content/uploads/twitter-api-site-300x199.png" alt="twitter-api-site" title="twitter-api-site" width="300" height="199" class="size-medium wp-image-245" /><p class="wp-caption-text">twitter-api-site</p></div>
<p>[Your apps]から登録中のアプリを確認することができます。</p>
<p>[Register an App]からアプリを登録する事ができます。いままではTwitterアカウントの設定からでしたが、こちらのサイトで管理することができるようです。</p>
<p>[API Status]現在のアプリのステータスを確認することができます。</p>
<div id="attachment_247" class="wp-caption alignright" style="width: 310px"><img src="http://blog.bit-works.net/wp-content/uploads/twitter-api-status-300x164.png" alt="twitter-api-status" title="twitter-api-status" width="300" height="164" class="size-medium wp-image-247" /><p class="wp-caption-text">twitter-api-status</p></div>
<p>これは見やすくてよいですね。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/archives/244/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHPでXMLをパースする</title>
		<link>http://blog.bit-works.net/archives/216</link>
		<comments>http://blog.bit-works.net/archives/216#comments</comments>
		<pubDate>Mon, 15 Mar 2010 06:15:03 +0000</pubDate>
		<dc:creator>tuti</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?p=216</guid>
		<description><![CDATA[PHP5にはSimpleXMLなどがありますが、CakePHPのXMLクラスでも同様に使えます。
ローカルファイルに使ったり、WEBAPIのリクエストURLやRSSを処理したり出来ます。


$xml_rakuten = [...]]]></description>
			<content:encoded><![CDATA[<p>PHP5にはSimpleXMLなどがありますが、CakePHPのXMLクラスでも同様に使えます。<br />
ローカルファイルに使ったり、WEBAPIのリクエストURLやRSSを処理したり出来ます。</p>
<pre class="brush: php;">

$xml_rakuten = &quot;http://api.rakuten.co.jp/rws/2.0/rest?
developerId=[YOUR_developerID]
&amp;operation=ItemSearch
&amp;version=2009-04-15
&amp;keyword=%E7%A6%8F%E8%A2%8B
&amp;sort=%2BitemPrice&quot;;

uses('Xml');
$xml = new Xml($xml_rakuten);
$xml_array = Set::reverse($xml);
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2395691642029212";
/* 728x15, 作成済み 09/06/30 */
google_ad_slot = "5513976068";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/archives/216/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP Viewテンプレートを指定する</title>
		<link>http://blog.bit-works.net/archives/220</link>
		<comments>http://blog.bit-works.net/archives/220#comments</comments>
		<pubDate>Tue, 16 Mar 2010 04:26:12 +0000</pubDate>
		<dc:creator>tuti</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?p=220</guid>
		<description><![CDATA[アクション名ではないViewを使用させたいときは、下記のようにします。

function edit(){
     // renderでテンプレートを指定できます(add.ctpを指定)
     $this-&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>アクション名ではないViewを使用させたいときは、下記のようにします。</p>
<pre class="brush: php;">
function edit(){
     // renderでテンプレートを指定できます(add.ctpを指定)
     $this-&gt;render('add');
}
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2395691642029212";
/* 728x15, 作成済み 09/06/30 */
google_ad_slot = "5513976068";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/archives/220/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP レイアウトの指定</title>
		<link>http://blog.bit-works.net/archives/224</link>
		<comments>http://blog.bit-works.net/archives/224#comments</comments>
		<pubDate>Tue, 16 Mar 2010 04:31:55 +0000</pubDate>
		<dc:creator>tuti</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?p=224</guid>
		<description><![CDATA[/cake/libs/view/layouts/default.ctp
を
/app/views/layouts/default.ctpにコピーして編集して使います。
コントローラーから下記のように指定できます。
(/a [...]]]></description>
			<content:encoded><![CDATA[<p>/cake/libs/view/layouts/default.ctp<br />
を<br />
/app/views/layouts/default.ctpにコピーして編集して使います。</p>
<p>コントローラーから下記のように指定できます。<br />
(/app/views/layouts/admin.ctpを指定する場合)<br />
$this->render($layout=&#8217;admin.ctp&#8217;, $file=&#8217;index.ctp&#8217;);</p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/archives/224/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CakePHP 名前付きパラメーターでの受渡し</title>
		<link>http://blog.bit-works.net/archives/228</link>
		<comments>http://blog.bit-works.net/archives/228#comments</comments>
		<pubDate>Wed, 17 Mar 2010 04:17:25 +0000</pubDate>
		<dc:creator>tuti</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://blog.bit-works.net/?p=228</guid>
		<description><![CDATA[Cakeでlistアクションにcategoryとpageを渡す場合、下記のようなURIになります。
http://localhost/blog/list/3/2
コントローラー側：

    function list( [...]]]></description>
			<content:encoded><![CDATA[<p>Cakeでlistアクションにcategoryとpageを渡す場合、下記のようなURIになります。</p>
<p>http://localhost/blog/list/3/2</p>
<p>コントローラー側：</p>
<pre class="brush: php;">
    function list( $category, $page ){
        //処理
    }
</pre>
<p>listアクションへのパラメーター数が違うパターンがあると面倒です。</p>
<p>下記のように&#8221;URL/パラメーター:値&#8221;の形にするとパラメーター付きで値を<br />
渡せます。</p>
<p>http://localhost/blog/list/category:3/page:2</p>
<p>コントローラー側：</p>
<pre class="brush: php;">
    function list(){
        $this-&gt;params['named']['category'];
        $this-&gt;params['named']['page'];
    }
</pre>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bit-works.net/archives/228/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
