'), array('&', '<', '>'), $str); /* $str = preg_replace("/&/", "&", $str); $str = preg_replace("//", ">", $str); */ return $str; } header('Content-type: text/xml'); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); echo "\n"; echo "\n"; echo "\n"; echo "".specialchars_replace("{$config['cf_title']} > 에서 최근에 올라온 콘텐츠 입니다")."\n"; echo "".specialchars_replace(G5_URL)."\n"; echo "버전 0.2 - 2004-04-26\n"; echo "ko\n"; ?> \n"; echo "".specialchars_replace($row['wr_subject'])."\n"; echo "".specialchars_replace(G5_BBS_URL."/board.php?bo_table={$rows['bo_table']}&wr_id={$row['wr_id']}")."\n"; echo "\n"; echo "".specialchars_replace($row['wr_name'])."\n"; $date = $row['wr_datetime']; // rss 리더 스킨으로 호출하면 날짜가 제대로 표시되지 않음 //$date = substr($date,0,10) . "T" . substr($date,11,8) . "+09:00"; $date = date('r', strtotime($date)); echo "$date\n"; echo "\n"; } } echo "\n"; echo "\n"; ?>