Ignore:
Timestamp:
2009/11/15 02:07:56 (14 years ago)
Author:
Seasoft
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/rss/index.tpl

    r18254 r18383  
    2222 *}--> 
    2323<rss version="2.0"> 
     24    <channel> 
     25        <title><!--{$site_title|sf_mb_convert_encoding:$encode|escape}--></title> 
     26        <link><!--{$smarty.const.SITE_URL}--></link> 
     27        <description><!--{$description|sf_mb_convert_encoding:$encode|escape}--></description> 
     28        <language>ja</language> 
     29        <managingEditor><!--{$email|escape}--></managingEditor> 
     30        <webMaster><!--{$email|escape}--></webMaster> 
     31        <generator>web shoppings v1.0</generator> 
     32        <copyright>(c) COPYRIGHT</copyright> 
     33        <category>WEB SHOPPING</category> 
     34        <docs>http://backend.userland.com/rss</docs> 
    2435 
    25 <!--{* channel要素 *}--> 
    26 <channel> 
    27 <title> <!--{$site_title|sf_mb_convert_encoding:$encode|escape}--> </title> 
    28 <link> <!--{$smarty.const.URL_SITE_TOP}--> </link> 
    29 <description> <!--{$description|sf_mb_convert_encoding:$encode|escape}--> </description> 
    30 <language>ja</language> 
    31 <managingEditor><!--{$email|escape}--></managingEditor> 
    32 <webMaster><!--{$email|escape}--></webMaster> 
    33 <generator>web shoppings v1.0</generator> 
    34 <copyright>(c) COPYRIGHT</copyright> 
    35 <category>WEB SHOPPING</category> 
    36 <docs>http://backend.userland.com/rss</docs> 
     36        <!--{section name=cnt loop=$arrNews}--> 
     37            <item> 
     38                <!--{if $arrNews[cnt].news_url == '' }--> 
     39                    <link><!--{$smarty.const.SITE_URL}--></link> 
     40                <!--{else}--> 
     41                    <link><!--{$arrNews[cnt].news_url|escape}--></link> 
     42                <!--{/if}--> 
     43                <title><!--{ $arrNews[cnt].news_title|sf_mb_convert_encoding:$encode|escape }--></title> 
     44                <description><!--{$arrNews[cnt].news_comment|truncate:256|sf_mb_convert_encoding:$encode|escape}--></description> 
     45                <pubDate><!--{$arrNews[cnt].news_date|escape}--></pubDate> 
     46            </item> 
     47        <!--{/section}--> 
    3748 
    38     <!--{section name=cnt loop=$arrNews}--> 
    39          
    40         <!--{* 1つのitem要素を出力する *}--> 
    41         <item> 
    42             <!--{if $arrNews[cnt].news_url == '' }--> 
    43                 <link> <!--{$smarty.const.URL_SITE_TOP}--> </link> 
    44             <!--{else}--> 
    45                 <link> <!--{$arrNews[cnt].news_url|escape}--></link> 
    46             <!--{/if}--> 
    47             <title> <!--{ $arrNews[cnt].news_title|sf_mb_convert_encoding:$encode|escape }--> </title> 
    48             <description><!--{$arrNews[cnt].news_comment|truncate:256|sf_mb_convert_encoding:$encode|escape}--></description> 
    49             <pubDate><!--{$arrNews[cnt].news_date|escape}--></pubDate> 
    50         </item> 
    51     <!--{/section}--> 
    52  
    53 </channel> 
    54 </rss > 
     49    </channel> 
     50</rss> 
Note: See TracChangeset for help on using the changeset viewer.