バグ RSS動かない

RSSが、動かない・・表示しない(汗

Internet Explorer ではこのページは表示できません  またかよ..

うーん、文字化けしてる。で FIXしました。 マルチバイト文字列圏だからしかたないか・・ 

2010/01/25 改定~ マルチバイトに特化するとシングルバイトの本家が組込んでくれないので両方対応にしました。

2010/02/01 pubDateを追加

################################################
#
# Method Correspond to Single/Multi byte String
#  AND add "pubDate" ,reverse order
#
################################################
#
# LightNEasy 2.3 Flat(no database)
# Lightneasy 3.1 SQLite/MySQL
#
################################################
#
####--[OPEN]-------------------------------------
#
   LightNEasy/rss.php

#
##----[FIND]------------------------------------
#

header('Content-type: application/rss+xml; charset=utf-8');

#
#-----[ BEFORE ADD ]--------------------------------
#


//
// Correspond to Single/Multi byte String
//
$lne_substr = "substr"; // variable functions
if(extension_loaded("mbstring")
    && function_exists('mb_internal_encoding')
    && function_exists('mb_substr')
){
        mb_internal_encoding("utf-8");
        $lne_substr = "mb_substr";
}
$aa= array_reverse($aa); //reverse order


#
##----[FIND]------------------------------------
#

        $descr=str_replace("&","&", substr(strip_tags(stripslashes(decode($aaa[4]))),0,120));

#
#-----[REPLACE WITH]-----------------------------
#

        $descr=str_replace("&","&", $lne_substr(strip_tags(stripslashes(decode($aaa[4]))),0,120));
        $publishe= date('D, d M Y H:i:s', $aaa[5]) ." +$fuso_s";
        $out.="<pubDate>". $publishe."</pubDate>\n";


#
#----[Save AS UTF-8 CODE / UP LOAD]-------------------
#

 本家に投稿 http://www.lightneasy.org/punbb/viewtopic.php?id=914