Changeset 20474


Ignore:
Timestamp:
2011/03/03 19:29:25 (10 years ago)
Author:
nanasess
bzr:base-revision:
svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:20473
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/default/rss/products.tpl 19795@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Frss%2Fproducts.tpl
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110303102729-mgm9x9ghq0xbf0d8
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110303102914-rhwcfgjgilqvnc83
bzr:revno:
3201
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/Smarty/templates/default/rss/products.tpl ohkouchi@loop-az.jp-20110303102729-mgm9x9ghq0xbf0d8
bzr:timestamp:
2011-03-03 19:29:14.816999912 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-03-03T10:29:14.817000Z
Message:

#352(商品情報RSSが不完全)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/rss/products.tpl

    r20340 r20474  
    2121 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2222 *}--> 
    23 <rss version="2.0"> 
    24  
    25 <!--{* channel要素 *}--> 
     23<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> 
    2624<channel> 
    27 <title><!--{$title|sfMbConvertEncoding:$encode}--></title> 
    28 <shop_name><!--{$arrSiteInfo.shop_name|sfMbConvertEncoding:$encode}--></shop_name> 
    29 <shop_kana><!--{$arrSiteInfo.shop_kana|sfMbConvertEncoding:$encode}--></shop_kana> 
    30 <site_url><!--{$smarty.const.HTTP_URL}--></site_url> 
    31 <description><!--{section name=cnt loop=$arrProduct}--><!--{$arrProduct[cnt].product_id|sfMbConvertEncoding:$encode}-->,<!--{/section}--></description> 
     25<title><!--{$arrSiteInfo.shop_name|sfMbConvertEncoding:$encode}--> : <!--{$title|sfMbConvertEncoding:$encode}--></title> 
     26<link><!--{$smarty.const.HTTP_URL}--></link> 
     27<description><!--{$arrSiteInfo.message|sfMbConvertEncoding:$encode}--></description> 
    3228<language>ja</language> 
    33 <docs>http://backend.userland.com/rss</docs> 
    3429<!--{section name=cnt loop=$arrProduct}--> 
    35     <!--{* 1つのitem要素を出力する *}--> 
    36     <item> 
    37         <link><!--{$smarty.const.HTTP_URL}-->rss/product.php?product_id=<!--{$arrProduct[cnt].product_id}--></link> 
    38         <!--{foreach key=key item=item from=$arrProductKeys}--> 
    39             <<!--{$item}-->><!--{$arrProduct[cnt][$item]|h|sfMbConvertEncoding:$encode}--></<!--{$item}-->> 
    40         <!--{/foreach}--> 
    41     </item> 
     30  <item> 
     31    <title><!--{$arrProduct[cnt].name|h|sfMbConvertEncoding:$encode}--></title> 
     32    <link><!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}--></link> 
     33    <description><![CDATA[ 
     34    <div class="hproduct"> 
     35    <a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}-->" rel="product"> 
     36    <img src="<!--{$arrProduct[cnt].main_list_image}-->" alt="<!--{$arrProduct[cnt].product_name|h|sfMbConvertEncoding:$encode}-->" class="product-thumb" /></div> 
     37    </a> 
     38    <div class="product-title"><a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}-->" rel="product"><!--{$arrProduct[cnt].product_name|h|sfMbConvertEncoding:$encode}--></a></div> 
     39    商品コード:<!--{$arrProduct[cnt].product_code_max|h|sfMbConvertEncoding:$encode}--> 
     40    <div><!--{$smarty.const.SALE_PRICE_TITLE}-->: 
     41      <span class="price"> 
     42        <!--{if $arrProduct[cnt].price02_min == $arrProduct[cnt].price02_max}--> 
     43          <!--{$arrProduct[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     44        <!--{else}--> 
     45          <!--{$arrProduct[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct[cnt].price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     46        <!--{/if}-->円</span> 
     47    </div> 
     48    <div class="description"> 
     49    <!--{$arrProduct[cnt].main_list_comment|h|sfMbConvertEncoding:$encode|nl2br}--> 
     50    </div> 
     51    </div> 
     52    ]]></description> 
     53    <pubDate><!--{$arrProduct[cnt].update_date|date_format:"%Y-%m-%dT%T+09:00"}--></pubDate> 
     54  </item> 
    4255<!--{/section}--> 
    4356</channel> 
Note: See TracChangeset for help on using the changeset viewer.