<?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; EC-CUBE</title>
	<atom:link href="http://zerothree.info/category/ec-cube/feed/" rel="self" type="application/rss+xml" />
	<link>http://zerothree.info</link>
	<description>ウェブサイト制作やインターネット、デザイン、東京都立川市、多摩地域についての情報など</description>
	<lastBuildDate>Tue, 08 Oct 2013 00:50:00 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://zerothree.info/category/ec-cube/feed/" />
	<item>
		<title>EC-CUBEの商品登録ページの「一覧-メインコメント」をmeta要素（タグ）のdescriptionに表示する方法</title>
		<link>http://zerothree.info/2012/12/26/1262/</link>
		<comments>http://zerothree.info/2012/12/26/1262/#comments</comments>
		<pubDate>Wed, 26 Dec 2012 08:43:45 +0000</pubDate>
		<dc:creator><![CDATA[zerothree]]></dc:creator>
				<category><![CDATA[EC-CUBE]]></category>

		<guid isPermaLink="false">http://zerothree.info/?p=1262</guid>
		<description><![CDATA[前回の「EC-CUBEの商品登録ページの「検索ワード」をmeta要素（タグ）のkeywordsに表示する方法」に続き、今回はmeta要素（タグ）「description」を設定する方法です。 EC-CUBEは、各商品ごと [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>前回の「<a href="http://zerothree.info/2012/12/18/1249/">EC-CUBEの商品登録ページの「検索ワード」をmeta要素（タグ）のkeywordsに表示する方法</a>」に続き、今回はmeta要素（タグ）「description」を設定する方法です。</p>
<p>EC-CUBEは、各商品ごとにmeta要素（タグ）「description」の設定ができません。<br />
そこで、商品登録ページの「一覧-メインコメント」に設定した情報をmeta要素の「description」へ表示する方法です。</p>
<p>data/Smarty/templates/編集するテンプレートディレクトリ/<br />
にある<br />
site_frame.tpl<br />
の下記部分を</p>
<blockquote>
<pre class="brush: php; title: ; notranslate">
&amp;lt;!--{if $arrPageLayout.description|strlen &amp;gt;= 1}--&amp;gt;
    &amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;&amp;lt;!--{$arrPageLayout.description|h}--&amp;gt;&amp;quot; /&amp;gt;
&amp;lt;!--{/if}--&amp;gt;
</pre>
</blockquote>
<p>下記へ書き換えるだけです。</p>
<blockquote>
<pre class="brush: xml; title: ; notranslate">
    &amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;&amp;lt;!--{if $arrProduct.main_list_comment}--&amp;gt;&amp;lt;!--{$arrProduct.main_list_comment|escape|regex_replace:&amp;quot;/[\r\t\n]/&amp;quot;}--&amp;gt;&amp;lt;!--{/if}--&amp;gt;&amp;lt;!--{$arrPageLayout.description|h}--&amp;gt;&amp;quot; /&amp;gt;
</pre>
</blockquote>
<p>管理画面の「基本情報管理＞SEO管理」で登録した情報（Description）の前に、「一覧-メインコメント」で登録した情報（description）が追加される形で表示されます。</p>
<p>これで各商品ごとに「description」を設定・表示できます。</p>
]]></content:encoded>
			<wfw:commentRss>http://zerothree.info/2012/12/26/1262/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://zerothree.info/2012/12/26/1262/" />
	</item>
		<item>
		<title>EC-CUBEの商品登録ページの「検索ワード」をmeta要素（タグ）のkeywordsに表示する方法</title>
		<link>http://zerothree.info/2012/12/18/1249/</link>
		<comments>http://zerothree.info/2012/12/18/1249/#comments</comments>
		<pubDate>Tue, 18 Dec 2012 09:28:12 +0000</pubDate>
		<dc:creator><![CDATA[zerothree]]></dc:creator>
				<category><![CDATA[EC-CUBE]]></category>

		<guid isPermaLink="false">http://zerothree.info/?p=1249</guid>
		<description><![CDATA[EC-CUBEは、各商品ごとにmeta要素（タグ）「keywords」の設定ができません。 そこで、商品登録ページの「検索ワード」に設定した情報をmeta要素の「keywords」へ表示する方法です。 data/Smar [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>EC-CUBEは、各商品ごとにmeta要素（タグ）「keywords」の設定ができません。<br />
そこで、商品登録ページの「検索ワード」に設定した情報をmeta要素の「keywords」へ表示する方法です。</p>
<p>data/Smarty/templates/編集するテンプレートディレクトリ/<br />
にある<br />
site_frame.tpl<br />
の下記部分を</p>
<blockquote>
<pre class="brush: php; title: ; notranslate">
&lt;!--{if $arrPageLayout.keyword|strlen &gt;= 1}--&gt;
    &lt;meta name=&quot;keywords&quot; content=&quot;&lt;!--{$arrPageLayout.keyword|h}--&gt;&quot; /&gt;
&lt;!--{/if}--&gt;
</pre>
</blockquote>
<p>下記へ書き換えるだけです。</p>
<blockquote>
<pre class="brush: xml; title: ; notranslate">
    &lt;meta name=&quot;keywords&quot; content=&quot;&lt;!--{$arrPageLayout.keyword|escape}--&gt;&lt;!--{if $arrProduct.comment3}--&gt;,&lt;!--{$arrProduct.comment3|escape}--&gt;&lt;!--{/if}--&gt;&quot; /&gt;
</pre>
</blockquote>
<p>管理画面の「基本情報管理＞SEO管理」で登録した情報（keywords）の後ろに、「検索ワード」で登録した情報（keywords）が追加される形で表示されます。</p>
<p>少しでもSEOを考えるならば、このやり方でキーワードを入れてあげた方が、検索ロボットにやさしいですね。</p>
]]></content:encoded>
			<wfw:commentRss>http://zerothree.info/2012/12/18/1249/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://zerothree.info/2012/12/18/1249/" />
	</item>
		<item>
		<title>EC-CUBEのモバイル版にGoogle Analytics携帯用コードを設置する方法</title>
		<link>http://zerothree.info/2012/05/21/867/</link>
		<comments>http://zerothree.info/2012/05/21/867/#comments</comments>
		<pubDate>Mon, 21 May 2012 11:52:49 +0000</pubDate>
		<dc:creator><![CDATA[zerothree]]></dc:creator>
				<category><![CDATA[EC-CUBE]]></category>

		<guid isPermaLink="false">http://zerothree.info/?p=867</guid>
		<description><![CDATA[EC-CUBEのモバイル版に、Google Analytics携帯用コードを設置する方法をご紹介します。 EC-CUBEにGoogle Analyticsを導入する場合は、PC版とスマートフォン版への導入は、指定のトラッ [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>EC-CUBEのモバイル版に、Google Analytics携帯用コードを設置する方法をご紹介します。</p>
<p><img src="http://zerothree.info/wp-content/uploads/2012/05/eccube_googleanalytics.jpg" alt="EC-CUBE Google Analytics" title="eccube_googleanalytics" width="400" height="300" class="alignnone size-full wp-image-868" /></p>
<p>EC-CUBEにGoogle Analyticsを導入する場合は、PC版とスマートフォン版への導入は、指定のトラッキングコードを「デザイン管理」→「PC or スマートフォン」→「ヘッダー/フッター設定」のフッターあたりに入れればOKです。</p>
<p>問題になるのがモバイル版に設置する場合です。<br />
今回は、２つの方法（ウェブサイト）をご紹介します。</p>
<p>■「<a href="http://nob-log.info/2011/06/09/google-analytics-mobile/" rel="nofollow">Google Analytics 携帯用コードをEC-CUBEに埋め込む方法</a>」<br />
ほとんどのサイトが、この方法で動くと思います。<br />
説明も順を追って解りやすいです。</p>
<p>ただし今回、当方環境にて設置したところ「&lt;!&#8211;No image&#8211;&gt;（HTMLソース内）」が表示されてしまい、動作しませんでした。<br />
そこで、下記サイトの設置方法を試したところ、うまく動作しました。</p>
<p>■「<a href="http://www.cyber-will.co.jp/blog/2010/02/08/77" rel="nofollow">Google Analytics 携帯用コードをEC-CUBEに埋め込む方法</a>」<br />
解説が少し解りづらいかもしれませんが、落ち着いてよく読めば、こちらも問題なく設置できると思います。<br />
もし先の方法で、動かなかった場合は、この方法を試してみてください。</p>
<div class="amazlet-box" style="margin-bottom:15px;">
<div class="amazlet-image" style="float:left;margin:0px 12px 1px 0px;"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/479803200X/zerothreeinfo-22/ref=nosim/" name="amazletlink" target="_blank"><img src="http://ecx.images-amazon.com/images/I/41XXo9tdINL._SL160_.jpg" alt="オープンソースECサイト構築ソフトEC‐CUBE Ver2.11対応公式ガイドブック 応用編" style="border: none;" /></a></div>
<div class="amazlet-info" style="line-height:120%; margin-bottom: 10px">
<div class="amazlet-name" style="margin-bottom:10px;line-height:120%"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/479803200X/zerothreeinfo-22/ref=nosim/" name="amazletlink" target="_blank">オープンソースECサイト構築ソフトEC‐CUBE Ver2.11対応公式ガイドブック 応用編</a>
<div class="amazlet-powered-date" style="font-size:80%;margin-top:5px;line-height:120%">posted with <a href="http://www.amazlet.com/browse/ASIN/479803200X/zerothreeinfo-22/ref=nosim/" title="オープンソースECサイト構築ソフトEC‐CUBE Ver2.11対応公式ガイドブック 応用編" target="_blank">amazlet</a> at 12.05.21</div>
</div>
<div class="amazlet-detail">ピンポン小林 エスキュービズム <br />秀和システム <br />売り上げランキング: 56909</div>
<div class="amazlet-sub-info" style="float: left;">
<div class="amazlet-link" style="margin-top: 5px"><a href="http://www.amazon.co.jp/exec/obidos/ASIN/479803200X/zerothreeinfo-22/ref=nosim/" name="amazletlink" target="_blank">Amazon.co.jp で詳細を見る</a></div>
</div>
</div>
<div class="amazlet-footer" style="clear: left"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://zerothree.info/2012/05/21/867/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://zerothree.info/2012/05/21/867/" />
	</item>
	</channel>
</rss>
