source: branches/beta/data/Smarty/templates/rss/index.tpl @ 17004

Revision 17004, 1.5 KB checked in by uehara, 16 years ago (diff)

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

Line 
1<?xml version="1.0" encoding="<!--{$encode}-->"?>
2<!--{*
3 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 *}-->
7<rss version="2.0">
8
9<!--{* channelÍ×ÁÇ *}-->
10<channel>
11<title> <!--{$site_title|sf_mb_convert_encoding:$encode|escape}--> </title>
12<link> <!--{$smarty.const.SITE_URL}--> </link>
13<description> <!--{$description|sf_mb_convert_encoding:$encode|escape}--> </description>
14<language>ja</language>
15<managingEditor><!--{$email|escape}--></managingEditor>
16<webMaster><!--{$email|escape}--></webMaster>
17<generator>web shoppings v1.0</generator>
18<copyright>(c) COPYRIGHT</copyright>
19<category>WEB SHOPPING</category>
20<docs>http://backend.userland.com/rss</docs>
21
22    <!--{section name=cnt loop=$arrNews}-->
23       
24        <!--{* £±¤Ä¤ÎitemÍ×ÁǤò½ÐÎϤ¹¤ë *}-->
25        <item>
26            <!--{if $arrNews[cnt].news_url == '' }-->
27                <link> <!--{$smarty.const.SITE_URL}--> </link>
28            <!--{else}-->
29                <link> <!--{$arrNews[cnt].news_url|escape}--></link>
30            <!--{/if}-->
31            <title> <!--{ $arrNews[cnt].news_title|sf_mb_convert_encoding:$encode|escape }--> </title>
32            <description><!--{$arrNews[cnt].news_comment|truncate:256|sf_mb_convert_encoding:$encode|escape}--></description>
33            <!--{* <pubDate><!--{"r"|sf_mktime:$arrNews[cnt].hour:$arrNews[cnt].minute:$arrNews[cnt].second:$arrNews[cnt].month:$arrNews[cnt].day:$arrNews[cnt].year}--></pubDate> *}-->
34            <pubDate><!--{$timestamp|escape}--></pubDate>
35        </item>
36    <!--{/section}-->
37
38</channel>
39</rss >
Note: See TracBrowser for help on using the repository browser.