include_once 'Snoopy.class.php'; $snoopy = new snoopy; $snoopy->fetch("http://www.ntis.go.kr/rndgate/unRndRss.xml?prt=30"); $xml = @simplexml_load_string($snoopy->results); ?>