Rss不能正常显示问题

#1 skyzong

http://www.shtan.org/index.php/main/rss
帮我看一下代码哪里有问题,不能显示文章标题,源代码中是有标题调出来的,前台就是不显示???
下面的模板文件 main_rss.html


  
    上海滩 | 引领上海女性时尚生活潮流
        http://www.shtan.org
        上海滩shtan.org是上海地区专业女性网站,为女性朋友们提供健康,美容,服饰,亲子教育,婚姻情感,时尚购物等方面的信息.上海滩,引领上海女性时尚生活潮流!
    zh-cn
       
      上海滩 | 引领上海女性时尚生活潮流
          http://www.shtan.org
          http://www.shtan.org/images/rss.gif   
   
        Copyright 2010 - 2012 Shtan.Org Inc. All Rights Reserved
   
        <{foreach from=$rssout item=one}>
       
      <{$one.title}>
      http://www.shtan.org<{spUrl c=quan a=view arid=$one.arid}>
          <{$one.flist.classname}>
          <{$one.homelist.niname}>
      <{$one.intime|date_format:'%m-%d %H:%M'}>
   

        <{/foreach}>
  

2010-06-18 15:34:03

#2 jake

对比一下,看看有什么不同:

http://bbs.speedphp.com/rss.php

2010-06-18 15:43:02

#3 skyzong

没看出什么不同呀, 我是用模板输出,是不是不支持呀,我把你给的那个地址中的原代码直接复制下来都不能正常显示???

2010-06-18 15:52:01

#4 skyzong

搞定了,要加一段代码;
header("Content-type:application/rss+xml");

2010-06-18 16:17:09

#5 jake

搞定了,要加一段代码;
header("Content-type:application/rss+xml");
skyzong 发表于 2010-6-18 16:17
很好,支持一下

2010-06-18 16:35:49