',getUrlData($url,10)); } function getRssTagValue($str,$tag) { $str_exp = explode('<'.$tag.'>' , $str); $str_exp = explode('' , $str_exp[1]); $result = getUTFtoUTF($str_exp[0]) == $str_exp[0] ? $str_exp[0] : getKRtoUTF($str_exp[0]); return trim($result); } function getRssPageTitle($str,$tag) { return getRssTagValue($str,$tag); } function getRssContent($str,$tag) { $str = str_replace('>','>',$str); $str = str_replace('<','<',$str); $str = str_replace('"','"',$str); $str = str_replace(''','\'',$str); $str = getRssTagValue($str,$tag); $str = str_replace(']]>','',$str); $str = str_replace('