Hi,
DOMIT! RSS didn't make any problem until i met this RSS feed.
openapi.naver.com/sample/kin.xml
The code, i wrote is here:
================================ Code =============================
$url = "http://openapi.naver.com/sample/kin.xml";
$cacheDir = $SystemRoot . "domitCache/";
$cacheTime = 3600;
$rss =& new xml_domit_rss_document($url, $cacheDir, $cacheTime);
function printResult($rss)
{
$nChannels = $rss->getChannelCount();
echo "Channels : " . $nChannels . "<br>";
for ($i = 0; $i < $nChannels ; $i++)
{
$currChannel =& $rss->getChannel($i);
$nItems = $currChannel->getItemCount();
for ($j = 0 ; $j < $nItems ; $j++)
{
$currItem =& $currChannel->getItem($j);
echo "<tr>";
echo " <td colspan='2'><a href='" . $currItem->getLink() . "'><font color='#990000'>" . strip_tags($currItem->getTitle()) . "</font></a></td>";
echo "</tr>";
echo "<tr>";
echo " <td colspan='2' height='5'></td>";
echo "</tr>";
}
}
}
==================================================================
It shows "Channel : 0"