mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
XmlParser class로 뺌
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3305 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
548c58b30a
commit
190a67301e
2 changed files with 9 additions and 3 deletions
|
|
@ -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"])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue