source: branches/feature-module-update/data/Smarty/templates/default/rss/index.tpl @ 17005

Revision 17005, 2.2 KB checked in by uehara, 14 years ago (diff)

#231RSSファイル内にエスケープされていない文字が出力されるとエラーになるバグ改修

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<?xml version="1.0" encoding="<!--{$encode}-->"?>
2<!--{*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 *}-->
23<rss version="2.0">
24
25<!--{* channel要素 *}-->
26<channel>
27<title> <!--{$site_title|sf_mb_convert_encoding:$encode|escape}--> </title>
28<link> <!--{$smarty.const.SITE_URL}--> </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>
37
38    <!--{section name=cnt loop=$arrNews}-->
39       
40        <!--{* 1つのitem要素を出力する *}-->
41        <item>
42            <!--{if $arrNews[cnt].news_url == '' }-->
43                <link> <!--{$smarty.const.SITE_URL}--> </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><!--{"r"|sf_mktime:$arrNews[cnt].hour:$arrNews[cnt].minute:$arrNews[cnt].second:$arrNews[cnt].month:$arrNews[cnt].day:$arrNews[cnt].year}--></pubDate> *}-->
50            <pubDate><!--{$timestamp|escape}--></pubDate>
51        </item>
52    <!--{/section}-->
53
54</channel>
55</rss >
Note: See TracBrowser for help on using the repository browser.