XmlParser class로 뺌

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3305 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2007-12-11 10:59:06 +00:00
parent 548c58b30a
commit 190a67301e
2 changed files with 9 additions and 3 deletions

View file

@ -8,7 +8,7 @@
set_include_path("./modules/springnote/lib/PEAR");
require_once('PEAR.php');
require_once('HTTP/Request.php');
require_once('me2dayXmlParser.class.php');
require_once('./classes/xml/GeneralXmlParser.class.php');
class lifepodModel extends lifepod {
@ -64,7 +64,7 @@
$body = $oReqeust->getResponseBody();
$oXmlParser = new Me2DayXmlParser();
$oXmlParser = new GeneralXmlParser();
$xmldoc = $oXmlParser->parse($body);
if(!$xmldoc->childNodes["feed"]->childNodes["entry"])
{