|
|
@ -27,6 +27,7 @@ class FeedParser {
|
|
|
|
libxml_use_internal_errors(true);
|
|
|
|
libxml_use_internal_errors(true);
|
|
|
|
libxml_clear_errors();
|
|
|
|
libxml_clear_errors();
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
|
|
|
|
$this->doc->preserveWhiteSpace = false;
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
|
|
|
|
|
|
|
|
mb_substitute_character("none");
|
|
|
|
mb_substitute_character("none");
|
|
|
@ -41,6 +42,7 @@ class FeedParser {
|
|
|
|
libxml_clear_errors();
|
|
|
|
libxml_clear_errors();
|
|
|
|
|
|
|
|
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
|
|
|
|
$this->doc->preserveWhiteSpace = false;
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
|
|
|
|
|
|
|
|
$error = libxml_get_last_error();
|
|
|
|
$error = libxml_get_last_error();
|
|
|
@ -64,6 +66,7 @@ class FeedParser {
|
|
|
|
libxml_clear_errors();
|
|
|
|
libxml_clear_errors();
|
|
|
|
|
|
|
|
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
$this->doc = new DOMDocument();
|
|
|
|
|
|
|
|
$this->doc->preserveWhiteSpace = false;
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
$this->doc->loadXML($data);
|
|
|
|
|
|
|
|
|
|
|
|
$error = libxml_get_last_error();
|
|
|
|
$error = libxml_get_last_error();
|
|
|
|