1

Topic: rss

        global $lang_common,$pun_config;
        echo '<'.'?xml version="1.0" encoding="'.$lang_common['lang_encoding'].'"?'.'>'."\n";
        echo "<rss version=\"2.0\">\n";
        echo "<channel>\n";
        echo "<title>".entity_to_decimal_value(htmlspecialchars($pun_config['o_board_title'].$title))."</title>\n";
        echo "<link>".$pun_config['o_base_url']."</link>\n";
        echo "<description>".entity_to_decimal_value(htmlspecialchars($rss_description.' '.$pun_config['o_board_title']))."</description>\n";        
}

function putPost($cur) {
        global $pun_config;
        echo "<item>\n";
        echo "<title>".entity_to_decimal_value(htmlspecialchars($cur['subject'].' :: '.$cur['forum_name']))."</title>\n";
        echo "<pubDate>".strval(date("r",$cur['postposted']))."</pubDate>\n";
        $link = $pun_config['o_base_url'].'/viewtopic.php?pid='.strval($cur['id']).'#'.strval($cur['id']);
        echo "<link>".entity_to_decimal_value(htmlspecialchars($link))."</link>\n";
//        echo '<guid isPermaLink="false">'.strval($cur['id']).'@'.$pun_config['o_base_url'].'</guid>'."\n";
        $data = parse_message($cur['message'],0);
        echo "<description>".encode_xml($data)."</description>\n";
//        echo "<content:encoded><![CDATA[".$data."]]></content:encoded>\n";
        echo "</item>\n";

??????????, ??? ???????? ??????? ???? ????? ??????????

2

Re: rss

? ??? ??????? ???? $cur['poster'] ???????? ????-?? ????

$data = parse_message($cur['message'],0);
 echo "<description>".encode_xml($data)."</description>\n";

3

Re: rss

?? ? ???????? ????????, ???? ?? ?????????, ?????? ??? ?? ??????????, ????? ????? ?????? ?????????.

Big Brother is not watching you, Big Brother is testing you

4

Re: rss

????-?? ??? ?? ???????????. ???? ?????? ?????? ??????, ????? ??? ??????????