source: branches/comu-ver2/data/Smarty/templates/default/rss/index.tpl @ 17921

Revision 17921, 2.0 KB checked in by Seasoft, 13 years ago (diff)

新着情報に関する改修
・初期登録データの日付を時刻切捨て(管理機能の仕様に合わせた)
・RSS 出力に関わる不具合修正

 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=3172&forum=8

※ DBバージョン依存に不安あり。

  • 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.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>
37
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 >
Note: See TracBrowser for help on using the repository browser.