<?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>へっぽこ開発室</title>
	<atom:link href="http://wp.foliz.net/feed" rel="self" type="application/rss+xml" />
	<link>http://wp.foliz.net</link>
	<description>webプログラム　php,Smarty,Zend Framework,ajax,pearネタなど～</description>
	<lastBuildDate>Mon, 26 Mar 2012 13:32:50 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>mysql 再帰呼び出し　クエリー数を減らす</title>
		<link>http://wp.foliz.net/archives/469</link>
		<comments>http://wp.foliz.net/archives/469#comments</comments>
		<pubDate>Mon, 26 Mar 2012 13:31:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[ZendFramework]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=469</guid>
		<description><![CDATA[よくある階層型カテゴリのmysqlにて 再帰を行うとクエリー数がとっても増える。 なんとか減らそうと工夫してみました。 Zend_Db_Tableを使って書くと 普通はだいたいこんな感じになると思われ /** * 再起呼 [...]]]></description>
			<content:encoded><![CDATA[<p>よくある階層型カテゴリのmysqlにて<br />
再帰を行うとクエリー数がとっても増える。</p>
<p>なんとか減らそうと工夫してみました。</p>
<p><span id="more-469"></span></p>
<p>Zend_Db_Tableを使って書くと<br />
普通はだいたいこんな感じになると思われ</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #009933; font-style: italic;">/**
     * 再起呼び出し
     *
     * @param int $parent
     * @return array
     */</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> _reflection<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$res</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: #000088;">$select</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_dbCategory<span style="color: #339933;">-&gt;</span><span style="color: #004000;">select</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">where</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category_parent =?'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$parent</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">order</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category_sort ASC'</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;">$this</span><span style="color: #339933;">-&gt;</span>_dbCategory<span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetchAll</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$select</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <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: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_id</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_code</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_name</span><span style="color: #339933;">;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$sub</span> <span style="color: #339933;">=</span>  <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_reflection<span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_id</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sub'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$sub</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000088;">$res</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$res</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></div></div>

<p>この場合、子カテゴリがあるかどうかに関わらず<br />
かならず再帰されクエリーが投げられる。</p>
<p>で、考えた、<br />
クエリーを投げて確かめるのは最初に行ってしまおうと。<br />
で、その結果</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #009933; font-style: italic;">/**
     * 再起呼び出し
     *
     * @param int $parent
     * @return array
     */</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">function</span> _reflection<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$res</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: #000088;">$select</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_dbCategory<span style="color: #339933;">-&gt;</span><span style="color: #004000;">select</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">setIntegrityCheck</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">from</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_dbCategory<span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">joinLeft</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category AS t2'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'category.category_id=t2.category_parent'</span><span style="color: #339933;">,</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'child'</span><span style="color: #339933;">=&gt;</span><span style="color: #0000ff;">'count(t2.category_id)'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">where</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category.category_parent =?'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$parent</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">order</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category.category_sort ASC'</span><span style="color: #009900;">&#41;</span>
            <span style="color: #339933;">-&gt;</span><span style="color: #004000;">group</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category.category_id'</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;">$this</span><span style="color: #339933;">-&gt;</span>_dbCategory<span style="color: #339933;">-&gt;</span><span style="color: #004000;">fetchAll</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$select</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <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: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_id</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_code</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_name</span><span style="color: #339933;">;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">child</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sub'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_reflection<span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">category_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000088;">$res</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$res</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></div></div>

<p>最初から子カテゴリを結合し、結合数をグループ化しカウント。<br />
countが存在したら再帰する。ってな感じ。<br />
count数は$row->childで取得できる。</p>
<p>ちなみに・・深さが有限で再帰しなくて良い場合は<br />
カウント処理はせずにmysqlでt2,t3と深さを<br />
掘り下げていけば、深さ分だけは取れる。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/469/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeansでPhpDocを作成</title>
		<link>http://wp.foliz.net/archives/463</link>
		<comments>http://wp.foliz.net/archives/463#comments</comments>
		<pubDate>Sat, 21 Jan 2012 06:32:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[phpDocumentor]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=463</guid>
		<description><![CDATA[NetBeans7.1でPhpDocumentorを使うのに苦戦したのでメモ。 まずは、PhpDocumentor本体をローカルで動くように設定。 xamppには標準装備されてるらしいですが、 新たに取得して動かすように [...]]]></description>
			<content:encoded><![CDATA[<p>NetBeans7.1でPhpDocumentorを使うのに苦戦したのでメモ。</p>
<p><span id="more-463"></span></p>
<p>まずは、PhpDocumentor本体をローカルで動くように設定。<br />
xamppには標準装備されてるらしいですが、<br />
新たに取得して動かすようにしてみた。</p>
<p>PhpDocumentor：<a href="http://www.phpdoc.org/" title="http://www.phpdoc.org/">http://www.phpdoc.org/</a></p>
<p>解凍した中身を自分の場合は<br />
C:\xampp\htdocs\PhpDocumentor-1.4.4<br />
に配置することにした。</p>
<p>NetBeans側ではphpdoc.batのパスを設定<br />
<a href="http://wp.foliz.net/wp-content/uploads/2012/01/option.jpg"><img src="http://wp.foliz.net/wp-content/uploads/2012/01/option-300x167.jpg" alt="" title="option" width="300" height="167" class="aligncenter size-medium wp-image-464" /></a><br />
オプションに -o HTML:Smarty:PHP　を指定して<br />
テンプレートをデフォルトから変更。</p>
<p>せっかちな僕はさっそく実行してみると・・<br />
<code><br />
** ERROR *****************************************************************<br />
* Sorry, can't find the php.exe file.<br />
* You must edit this file to point to your php.exe (CLI version!)<br />
*    [Currently set to C:\_xampp\php\php.exe]<br />
*<br />
* NOTE: In PHP 4.2.x the PHP-CLI used to be named php-cli.exe.<br />
*       PHP 4.3.x renamed it php.exe but stores it in a subdir<br />
*       called /cli/php.exe<br />
*       E.g. for PHP 4.2 C:\phpdev\php-4.2-Win32\php-cli.exe<br />
*            for PHP 4.3 C:\phpdev\php-4.3-Win32\cli\php.exe<br />
**************************************************************************<br />
続行するには何かキーを押してください . . . .<br />
</code></p>
<p>ふふふ・・<br />
ここからけっこー動くまで長い旅になった。</p>
<p>phpdoc.batを右クリックから編集をして<br />
ファイルの中身を書き換えます。</p>
<p><code><br />
::----------------------------------------------------------------------------------<br />
:: Please set following to PHP's CLI<br />
:: NOTE: In PHP 4.2.x the PHP-CLI used to be named php-cli.exe.<br />
::       PHP 4.3.x names it php.exe but stores it in a subdir called /cli/php.exe<br />
::       E.g. for PHP 4.2 C:\phpdev\php-4.2-Win32\php-cli.exe<br />
::            for PHP 4.3 C:\phpdev\php-4.3-Win32\cli\php.exe</p>
<p>SET phpCli=C:\_xampp\php\php.exe<br />
cd C:\xampp\htdocs\PhpDocumentor-1.4.4<br />
</code><br />
↑のようにphp.exeのパスを換えてPhpDocumentorのパスに変更。</p>
<p>SET phpCli= ローカルphp.exeのパス<br />
を変更しただけだと、<br />
NetBeansコンソールには<code>Could not open input file: phpdoc</code><br />
ってエラーがでたので<br />
きっとphpdocコマンドが通る状態になってなかったと。</p>
<p>解決策としてよくわからんけどcdでフォルダの移動・・。</p>
<p>とりあえずこれで動いたっぽい。</p>
<p>・・・だだし、対象フォルダの指定ができないようなので<br />
プロジェクトから全て検索されるようだ。<br />
ターゲットディレクトイは対象を指すのではなくて出力の保存先。</p>
<p>プロジェクトファイルが多いとphpのメモリーオーバーで<br />
ドキュメント化できない。<br />
php.iniでmemory_limit増やす必要があるようです。</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/463/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend_Db_Table スキーマバグ</title>
		<link>http://wp.foliz.net/archives/459</link>
		<comments>http://wp.foliz.net/archives/459#comments</comments>
		<pubDate>Thu, 17 Nov 2011 03:58:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ZendFramework]]></category>
		<category><![CDATA[Zend_Db_Table]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=459</guid>
		<description><![CDATA[Zend_Db_Tableで1つのデフォルトスキーマを使ったDbアダプタで スキーマを設定したときfindManyToManyRowset()、findDependantRowset()がどうしても適切なスキーマを実行し [...]]]></description>
			<content:encoded><![CDATA[<p>Zend_Db_Tableで1つのデフォルトスキーマを使ったDbアダプタで<br />
スキーマを設定したときfindManyToManyRowset()、findDependantRowset()がどうしても適切なスキーマを実行してくれない。悩んだあげくバグだということが判明。</p>
<p><span id="more-459"></span></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> TableA <span style="color: #000000; font-weight: bold;">extends</span> Zend_Db_Table_Abstract 
<span style="color: #009900;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_schema</span>          <span style="color: #339933;">=</span> <span style="color: #0000ff;">'schema1'</span><span style="color: #339933;">;</span> 
    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_name</span>            <span style="color: #339933;">=</span> <span style="color: #0000ff;">'tablea'</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span> 
<span style="color: #000000; font-weight: bold;">class</span> TableB <span style="color: #000000; font-weight: bold;">extends</span> Zend_Db_Table_Abstract 
<span style="color: #009900;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_schema</span>          <span style="color: #339933;">=</span> <span style="color: #0000ff;">'schema2'</span><span style="color: #339933;">;</span> 
    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_name</span>            <span style="color: #339933;">=</span> <span style="color: #0000ff;">'tableb'</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>このバグは1.7.3で修正されたようです。<br />
こら～～　時間返せ～～；</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/459/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thumbnail for Excerpts で画像が全部同じになっちゃう</title>
		<link>http://wp.foliz.net/archives/454</link>
		<comments>http://wp.foliz.net/archives/454#comments</comments>
		<pubDate>Wed, 06 Jul 2011 07:01:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=454</guid>
		<description><![CDATA[先日メモしたwordpressプラグイン「Thumbnail for Excerpts」ですが、 get_posts()をつかったループ内だと画像が変わらないので 試行錯誤とりあえずの対処をメモします。 最初に行ったge [...]]]></description>
			<content:encoded><![CDATA[<p>先日メモしたwordpressプラグイン「<a href="http://www.cnet.ro/wordpress/thumbnailforexcerpts/">Thumbnail for Excerpts</a>」ですが、<br />
<a href="http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/get_posts">get_posts()</a>をつかったループ内だと画像が変わらないので<br />
試行錯誤とりあえずの対処をメモします。<br />
<span id="more-454"></span></p>
<p>最初に行ったget_posts()</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: #000088;">$myposts</span> <span style="color: #339933;">=</span> get_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'numberposts=5&amp;category=4'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myposts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
    setup_postdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;div class=&quot;dotline clearfix&quot;&gt;
    &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;
    &lt;p&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/p&gt;
&lt;/div&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>get_postsで読み込みたいカテゴリ記事を指定して<br />
ループで出力してます。<br />
この場合、バグなのだろうか、ループ内の画像が全て同じになってしまいます。</p>
<p><strong>対処後</strong></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> query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cat=3&amp;limit=5'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span>
  <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;div class=&quot;dotline clearfix&quot;&gt;
 &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permaLink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #339933;">.</span>the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/p&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>
 <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span>
wp_reset_query<span style="color: #009900;">&#40;</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><a href="http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/query_posts">query_posts()</a>にて拾うように変更しました。<br />
これでなんとか表示されましたけどー・・</p>
<p>なにか納得いかない。。（笑）</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/454/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP トップページをサムネイル+文字数制限+モアリンクの設置</title>
		<link>http://wp.foliz.net/archives/441</link>
		<comments>http://wp.foliz.net/archives/441#comments</comments>
		<pubDate>Wed, 29 Jun 2011 05:02:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=441</guid>
		<description><![CDATA[wordpressのカスタマイズのお仕事があったのでメモメモ トップページの表示は、挿入された画像を左に並べて・・テキストを詰めて・・ との要望があったので実装したメモ。 まずは、画像を抜き出し、テキストと画像を成形する [...]]]></description>
			<content:encoded><![CDATA[<p>wordpressのカスタマイズのお仕事があったのでメモメモ<br />
<span id="more-441"></span></p>
<p>トップページの表示は、挿入された画像を左に並べて・・テキストを詰めて・・<br />
との要望があったので実装したメモ。</p>
<p>まずは、画像を抜き出し、テキストと画像を成形するプラグインをインストール。<br />
<a href="http://www.cnet.ro/wordpress/thumbnailforexcerpts/">Thumbnail for Excerpts</a><br />
ダウンロードしたバージョンは2.1でした。</p>
<div id="attachment_442" class="wp-caption aligncenter" style="width: 274px"><a href="http://wp.foliz.net/wp-content/uploads/2011/06/screenshot-1.jpg"><img src="http://wp.foliz.net/wp-content/uploads/2011/06/screenshot-1-264x300.jpg" alt="Thumbnail for Excerpts　プラグイン" title="screenshot-1" width="264" height="300" class="size-medium wp-image-442" /></a><p class="wp-caption-text">Thumbnail for Excerptsプラグインに含まれてたサンプルイメージ</p></div>
<p>プラグインのインストールが完了すると、wp-adminで、設定の中に「Thumbnail Excerpts」が追加されます。<br />
今回はトップページだけの有効なのでApply on homeを「yes」にして保存。<br />
Width、Heightはデフォルト150pxから小さくしました。</p>
<p>これで登録されてる画像が抜かれ、キレイに成形されます。</p>
<p>続きまして、<br />
テキストの文字数制限をかけます。</p>
<p>標準でインストールされてる「WP Multibyte Patch」プラグインを有効にしておきます。</p>
<p>細かな設定は直接ファイルに書き込む仕様のようなので<br />
インストールされてるフォルダ（wp-content/plugins/wp-multibyte-patch）の「wpmp-config-sample.php」をコピーして「wpmp-config.php」の名前でアップロードします。<br />
「wpmp-config.php」に細かな設定があるのですがよくわからんのでとりあえずそのまま。</p>
<p>テンプレート側でhome.phpを以下に変更。</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;entry-content&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'続きを読む'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;
↓↓↓
&lt;div class=&quot;entry-content&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/div&gt;</pre></div></div>

<p>これで文字数制限ができました。<br />
標準設定で日本語110文字で表示されます。</p>
<p>このままだと、 省略されたテキストが[...]と表示されるだけなので<br />
これにリンクを掛けます。</p>
<p>テンプレート側のテーマ関数に以下を追加</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * 続きを読むリンクフィルター
**/</span>
<span style="color: #000000; font-weight: bold;">function</span> new_excerpt_more<span style="color: #009900;">&#40;</span><span style="color: #000088;">$more</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'……&lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'[続きを読む]'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'excerpt_more'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'new_excerpt_more'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>ふ・・・これでばっちりｗ</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/441/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smarty getTemplateTimestampTypeName()エラー</title>
		<link>http://wp.foliz.net/archives/368</link>
		<comments>http://wp.foliz.net/archives/368#comments</comments>
		<pubDate>Thu, 16 Dec 2010 01:55:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=368</guid>
		<description><![CDATA[Smarty3rcから3.0.6 最新版にアップデートしたら以下のエラーが出たのでその対応策 Fatal error: Call to undefined method Smarty_Internal_Resource_ [...]]]></description>
			<content:encoded><![CDATA[<p>Smarty3rcから3.0.6 最新版にアップデートしたら以下のエラーが出たのでその対応策</p>
<p><strong>Fatal error</strong>: Call to undefined method Smarty_Internal_Resource_File::getTemplateTimestampTypeName() in <strong>/var/www/&#8230;</strong></p>
<p><span id="more-368"></span></p>
<p>&#8230;<br />
templates_cに作られてるコンパイル済みphpを削除すると治った（笑）</p>
<p><a href="http://www.smarty.net/">http://www.smarty.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/368/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend_Form デコレータの設定についての色々</title>
		<link>http://wp.foliz.net/archives/364</link>
		<comments>http://wp.foliz.net/archives/364#comments</comments>
		<pubDate>Fri, 10 Dec 2010 04:22:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ZendFramework]]></category>
		<category><![CDATA[Zend_Form]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=364</guid>
		<description><![CDATA[Zend_Form デコレータに関しては全くもって よくわからない。。 色々検索したらサンプルソースを含めて 詳しい説明をされている方がいたのでメモしておきます。 [ZF] Zend_Form 要素に対するデコレータの設 [...]]]></description>
			<content:encoded><![CDATA[<p>Zend_Form デコレータに関しては全くもって<br />
よくわからない。。</p>
<p>色々検索したらサンプルソースを含めて<br />
詳しい説明をされている方がいたのでメモしておきます。</p>
<p><span id="more-364"></span></p>
<p><a href="http://tenderfeel.xsrv.jp/php/zend-framework/1031/">[ZF] Zend_Form 要素に対するデコレータの設定についての色々</a></p>
<p>素晴らしい・・。<br />
テーブルタグでフォームを整え、<br />
最後の送信ボタン・リセットボタンを横並びに<br />
配置するなどやりたかったことがほぼ出来上がっています。</p>
<p>僕の場合わからなったので・・<br />
横並びボタンのビューヘルパーを作って対応したということは<br />
内緒にしておきましょう。。</p>
<p>Fileエレメントを使用するとデコレーターエラーが起こるのですが<br />
その対応策も書かれています。<br />
・・・よくわからんけど参考になる＞＜</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/364/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>array_combine rangeを使って配列を自動作成</title>
		<link>http://wp.foliz.net/archives/353</link>
		<comments>http://wp.foliz.net/archives/353#comments</comments>
		<pubDate>Fri, 29 Oct 2010 05:12:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[array_combine]]></category>
		<category><![CDATA[range]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=353</guid>
		<description><![CDATA[セレクトボックスなどで年数などを自動で配列を作りたい場合 array_combineとrangeを使うと簡単にできる。 1950年～現在までの配列 $year = array_combine&#40;range&#40; [...]]]></description>
			<content:encoded><![CDATA[<p>セレクトボックスなどで年数などを自動で配列を作りたい場合<br />
array_combineとrangeを使うと簡単にできる。</p>
<p><span id="more-353"></span><br />
1950年～現在までの配列</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$year</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array_combine</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">range</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1950</span><span style="color: #339933;">,</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">range</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1950</span><span style="color: #339933;">,</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>print_r($year);<br />
Array<br />
(<br />
    [1950] => 1950<br />
    [1951] => 1952<br />
    [1952] => 1953<br />
    [1953] => 1954<br />
・・・<br />
    [今年] => 今年<br />
)</p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/353/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>prototype.js Ajax.PeriodicalUpdaterのIE対応策</title>
		<link>http://wp.foliz.net/archives/349</link>
		<comments>http://wp.foliz.net/archives/349#comments</comments>
		<pubDate>Fri, 10 Sep 2010 06:27:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[prototype]]></category>
		<category><![CDATA[PeriodicalUpdate]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=349</guid>
		<description><![CDATA[prototype.jsのAjax.PeriodicalUpdaterがIEで正しく動かなかったので対応メモ。 Ajax.PeriodicalUpdateは定期的に実行する関数ですが JSONPを定期的に投げて更新してい [...]]]></description>
			<content:encoded><![CDATA[<p>prototype.jsのAjax.PeriodicalUpdaterがIEで正しく動かなかったので対応メモ。</p>
<p>Ajax.PeriodicalUpdateは定期的に実行する関数ですが<br />
JSONPを定期的に投げて更新していくプログラム中、<br />
更新がなかったときに止まってしまって非常に悩んだ。</p>
<p><span id="more-349"></span></p>
<p>null値などの判別で止まるのかと思いきや<br />
ブラウザがキャッシュをしてリクエストをしてくれなくなるらしいことが判明。</p>
<p>対応策として以下のサイトのように<br />
クエリーパラメーターにランダム要素を加えて対応した。</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">dummy <span style="color: #339933;">:</span> Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>参考：<br />
<a href="http://phpspot.org/blog/archives/2006/12/prototypejsajax.html">prototype.jsのAjax.PeriodicalUpdaterをIEでも正しく動かす方法:phpspot開発日誌</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/349/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>フラッシュマーケティングのまとめ</title>
		<link>http://wp.foliz.net/archives/311</link>
		<comments>http://wp.foliz.net/archives/311#comments</comments>
		<pubDate>Thu, 02 Sep 2010 09:11:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[webサービス]]></category>
		<category><![CDATA[フラッシュマーケティング]]></category>
		<category><![CDATA[共同購入割引サービス]]></category>

		<guid isPermaLink="false">http://wp.foliz.net/?p=311</guid>
		<description><![CDATA[最近流行のフラッシュマーケティング。 社内でも話題がチラホラ。 まずは「フラッシュマーケティング」の説明から。 ソーシャルメディアなどを活用して、共同購入をさせる。 ユーザーは欲しい商品があると、落札決定人数に達するまで [...]]]></description>
			<content:encoded><![CDATA[<p>最近流行のフラッシュマーケティング。<br />
社内でも話題がチラホラ。</p>
<p>まずは「フラッシュマーケティング」の説明から。<br />
<span id="more-311"></span><br />
ソーシャルメディアなどを活用して、共同購入をさせる。<br />
ユーザーは欲しい商品があると、落札決定人数に達するまで<br />
自らが宣伝Twitterなどで宣伝するので波及力がある。</p>
<p>アメリカの「Groupon（グルーポン）」社が、この手法の共同購入割引サービスを開始したところ、１年で黒字化、2年足らずで300億円以上の売上を達成したことで注目を集め、<br />
今年に入ってこぞってサイトが立ち上がってる。</p>
<p>調べるといっぱいあるので、暇なときにでも追加していくとするか。</p>

<a href='http://wp.foliz.net/archives/311/%e6%9c%ac%e6%97%a5%e3%81%ae%e3%83%81%e3%82%b1%e3%83%83%e3%83%88-%e3%82%b0%e3%83%9f%e3%83%81%e3%82%b1-%e6%9d%b1%e4%ba%ac-%ef%bd%9e-%e3%81%8a%e4%bb%95%e4%ba%8b%e5%b8%b0%e3%82%8a%e3%81%ab%e6%89%8b' title='グミチケ'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/322885c74c84d395ffff347c5b9b017c-150x150.png" class="attachment-thumbnail" alt="グミチケ" title="グミチケ" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%82%a4%e3%82%a4%e5%80%a4%e3%83%83%e3%82%b0%e3%83%ab%e3%83%a1-%e3%81%8a%e5%be%97%e3%81%aa%e3%83%81%e3%82%b1%e3%83%83%e3%83%88%e6%83%85%e5%a0%b1%e6%af%8e%e6%97%a5%e6%97%a5%e6%9b%bf%e3%82%8f' title='イイ値ッ!グルメ - お得なチケット情報毎日日替わりで'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/20bb039293210eb5928da1f58ea0465d-150x150.png" class="attachment-thumbnail" alt="イイ値ッ!グルメ" title="イイ値ッ!グルメ - お得なチケット情報毎日日替わりで" /></a>
<a href='http://wp.foliz.net/archives/311/1%e6%b3%8a109%e5%86%86%ef%bd%9e%e3%80%81%e6%97%85%e9%a4%a8%e3%83%9b%e3%83%86%e3%83%ab%e3%80%81%e7%9b%b4%e5%89%8d%e4%ba%88%e7%b4%84%e3%81%aa%e3%82%89%e4%bc%9a%e5%93%a1%e5%88%b6%e3%81%ae%e3%83%88' title='1泊109円～、旅館ホテル、直前予約なら会員制のトクー！'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/ca9568b9992d4a8cc68cd912c8ccfb6b-150x150.png" class="attachment-thumbnail" alt="トクー！トラベル" title="1泊109円～、旅館ホテル、直前予約なら会員制のトクー！" /></a>
<a href='http://wp.foliz.net/archives/311/shareee-%e3%81%bf%e3%82%93%e3%81%aa%e3%81%a7%e4%bd%bf%e3%81%8a%e3%81%86%e3%80%81%e3%81%8a%e5%be%97%e3%81%aa%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3%ef%bc%81%ef%bc%81%ef%bc%81' title='Shareee - みんなで使おう、お得なクーポン！！！'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/8640ee0ecb0fef4027b2a865f62d753b-150x150.png" class="attachment-thumbnail" alt="Shareee" title="Shareee - みんなで使おう、お得なクーポン！！！" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%83%8a%e3%82%b4%e3%81%bd%e3%82%93%e3%81%af%e5%90%8d%e5%8f%a4%e5%b1%8b%e3%81%ae%e3%81%8a%e5%be%97%e3%81%aa%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3%e3%82%b5%e3%82%a4%e3%83%88%ef%bd%9c%e6%84%9b%e7%9f%a5' title='ナゴぽんは名古屋のお得なクーポンサイト｜愛知、名古屋'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/b63c486e720a186836ff1edd25c24bd0-150x150.png" class="attachment-thumbnail" alt="ナゴぽん" title="ナゴぽんは名古屋のお得なクーポンサイト｜愛知、名古屋" /></a>
<a href='http://wp.foliz.net/archives/311/goti-%e3%83%97%e3%83%ac%e3%83%9f%e3%82%a2%e3%83%a0%e3%83%81%e3%82%b1%e3%83%83%e3%83%88-%e3%82%b4%e3%83%bc%e3%83%81%e3%81%af%e3%82%b0%e3%83%ab%e3%83%a1%e3%83%bb%e3%82%b7%e3%83%a7%e3%83%83%e3%83%94' title='GOTi プレミアムチケット  ゴーチはグルメ・ショッピング・エステなど特別チケットをご提供'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/8654d78b6f95aff6a4b6263bebea38f7-150x150.png" class="attachment-thumbnail" alt="GOTi プレミアムチケット" title="GOTi プレミアムチケット  ゴーチはグルメ・ショッピング・エステなど特別チケットをご提供" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%82%b0%e3%83%ab%e3%83%94-%e3%81%bf%e3%82%93%e3%81%aa%e3%81%a7%e8%b3%bc%e5%85%a5%e3%81%99%e3%82%8b%e3%83%97%e3%83%ac%e3%83%9f%e3%82%a2%e3%83%a0%e3%83%81%e3%82%b1%e3%83%83%e3%83%88' title='グルピ みんなで購入するプレミアムチケット'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/ae9edb774314c75825db312657cdeb34-150x150.png" class="attachment-thumbnail" alt="グルピ" title="グルピ みんなで購入するプレミアムチケット" /></a>
<a href='http://wp.foliz.net/archives/311/pita-ticket%e3%83%94%e3%82%bf%e3%83%81%e3%82%b1%e3%83%83%e3%83%88%e3%80%8c%e3%81%bf%e3%82%93%e3%81%aa%e3%81%a7%e8%b2%b7%e3%81%88%e3%82%8b%e3%80%81%e7%89%b9%e5%88%a5%e3%81%aa%e6%97%a5%e3%80%82' title='Pita Ticket[ピタチケット]「みんなで買える、特別な日。」 - 東京エリアの本日のクーポン'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/60dc50fcfc25dddee2b30c3b6a46f469-150x150.png" class="attachment-thumbnail" alt="Pita Ticket[ピタチケット]" title="Pita Ticket[ピタチケット]「みんなで買える、特別な日。」 - 東京エリアの本日のクーポン" /></a>
<a href='http://wp.foliz.net/archives/311/groupmall-%e3%81%bf%e3%82%93%e3%81%aa%e3%81%a7%e5%be%97%e3%81%99%e3%82%8b%e3%82%b0%e3%83%ab%e3%83%bc%e3%83%97%e3%82%b7%e3%83%a7%e3%83%83%e3%83%94%e3%83%b3%e3%82%b0%ef%bc%81%e6%97%a5%e6%9b%bf' title='GroupMall - みんなで得するグループショッピング！日替わりで割引クーポン販売！'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/3e51110bc883bc48c46f90374aedf2b8-150x150.png" class="attachment-thumbnail" alt="GroupMall" title="GroupMall - みんなで得するグループショッピング！日替わりで割引クーポン販売！" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%82%b0%e3%83%ab%e3%83%bc%e3%83%9d%e3%83%b3%e3%81%aa%e3%81%86-%e3%82%b0%e3%83%ab%e3%83%bc%e3%83%9d%e3%83%b3%e7%b3%bb%e5%85%b1%e5%90%8c%e8%b3%bc%e5%85%a5%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3' title='グルーポンなう - グルーポン系共同購入クーポン情報まとめサイト'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/b6f76617393381864f4625ed7b455dee-150x150.png" class="attachment-thumbnail" alt="グルーポンなう" title="グルーポンなう - グルーポン系共同購入クーポン情報まとめサイト" /></a>
<a href='http://wp.foliz.net/archives/311/%e6%97%a5%e6%9c%ac%e5%88%9d%e3%80%81%e6%97%a5%e6%9b%bf%e3%82%8a%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cpiku%ef%bc%88%e3%83%94%e3%82%af%ef%bc%89%e3%80%8d' title='日本初、日替りクーポンサイト「Piku（ピク）」'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/7342419f132e0c76f6fa527c137d9aac-150x150.png" class="attachment-thumbnail" alt="日本初、日替りクーポンサイト「Piku（ピク）」" title="日本初、日替りクーポンサイト「Piku（ピク）」" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%81%84%e3%81%84%e3%83%a2%e3%83%8e%e3%80%81%e6%a5%bd%e3%81%97%e3%81%84%e3%82%b3%e3%83%88%e3%80%81%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%8b-%e3%83%9d%e3%83%b3%e3%83%91%e3%83%ac%e3%83%bc%e3%83%89-pomparade' title='いいモノ、楽しいコト、見つかる ポンパレード Pomparade　東京版'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/0c66fd5705a9679bff326e47541b2d51-150x150.png" class="attachment-thumbnail" alt="Pomparade　東京版" title="いいモノ、楽しいコト、見つかる ポンパレード Pomparade　東京版" /></a>
<a href='http://wp.foliz.net/archives/311/coopa%e3%80%90%e3%82%af%e3%83%bc%e3%83%91%e3%80%91%e3%81%93%e3%81%93%e3%81%a0%e3%81%91%e3%81%ae%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3%e3%83%81%e3%82%b1%e3%83%83%e3%83%88%e3%82%92%e3%81%bf%e3%82%93' title='CooPa【クーパ】ここだけのクーポンチケットをみんなでお得に共同購入'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/9822fc715e974f2f72097d1575d1e55c-150x150.png" class="attachment-thumbnail" alt="CooPa【クーパ】" title="CooPa【クーパ】ここだけのクーポンチケットをみんなでお得に共同購入" /></a>
<a href='http://wp.foliz.net/archives/311/qpod%e3%82%af%e3%83%bc%e3%83%9d%e3%83%83%e3%83%89-by-groupon-%e9%b9%bf%e5%85%90%e5%b3%b6%e7%94%a3%e9%bb%92%e8%b1%9a%e3%81%97%e3%82%83%e3%81%b6%e3%81%97%e3%82%83%e3%81%b6%e3%81%8c%e3%80%81%e3%81%aa' title='Qpod(クーポッド) by GROUPON'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/8be42313db7f3da53ce7f665d472751b-150x150.png" class="attachment-thumbnail" alt="Qpod(クーポッド)" title="Qpod(クーポッド) by GROUPON" /></a>
<a href='http://wp.foliz.net/archives/311/qpon%e3%80%90%e3%82%ad%e3%83%a5%e3%83%bc%e3%83%9d%e3%83%b3%e3%80%91%e3%81%8a%e5%be%97%e3%81%af%e3%81%bf%e3%82%93%e3%81%aa%e3%81%a7%e3%81%a4%e3%81%8f%e3%82%8b%e3%80%82%e3%82%ae%e3%83%a3%e3%82%b6-2' title='Qpon【キューポン】お得はみんなでつくる。ギャザリング®クーポンサイト'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/902d77177f411c0da55b3b72aee266161-150x150.png" class="attachment-thumbnail" alt="Qpon【キューポン】" title="Qpon【キューポン】お得はみんなでつくる。ギャザリング®クーポンサイト" /></a>
<a href='http://wp.foliz.net/archives/311/%e3%81%a1%e3%82%87%e3%81%a3%e3%81%a8%e3%82%aa%e3%82%bf%e3%82%af%e3%81%aa%e3%83%97%e3%83%ac%e3%83%9f%e3%82%a2%e3%83%a0%e3%82%af%e3%83%bc%e3%83%9d%e3%83%b3%e3%82%b5%e3%82%a4%e3%83%88-%e3%83%b2%e3%82%bf' title='ちょっとオタクなプレミアムクーポンサイト  ヲタぽん'><img width="150" height="150" src="http://wp.foliz.net/wp-content/uploads/2010/09/0494f3d058870541dce12d491c49eb8a-150x150.png" class="attachment-thumbnail" alt="ヲタぽん" title="ちょっとオタクなプレミアムクーポンサイト  ヲタぽん" /></a>

]]></content:encoded>
			<wfw:commentRss>http://wp.foliz.net/archives/311/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

