summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-17 20:09:43 +0400
committerAndrew Dolgov <[email protected]>2013-05-17 20:09:43 +0400
commitd1f3fa9791a48de4991e8eae9e9939afd0316be3 (patch)
tree88b0f6caf070c968c2a16ab447e697ca2e3ef655 /include/rssfuncs.php
parent175dd0794e132180406d008fbb510c4bb53da779 (diff)
try to force-convert feed data to utf8
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r--include/rssfuncs.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 612c914c0..e7c9f57dd 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -291,7 +291,7 @@
_debug("fetch done.", $debug_enabled);
- if ($feed_data) {
+ /* if ($feed_data) {
$error = verify_feed_xml($feed_data);
if ($error) {
@@ -307,7 +307,7 @@
if ($error) $feed_data = '';
}
}
- }
+ } */
}
if (!$feed_data) {
@@ -1349,14 +1349,14 @@
mb_strtolower(strip_tags($title), 'utf-8'));
}
- function verify_feed_xml($feed_data) {
+ /* function verify_feed_xml($feed_data) {
libxml_use_internal_errors(true);
$doc = new DOMDocument();
$doc->loadXML($feed_data);
$error = libxml_get_last_error();
libxml_clear_errors();
return $error;
- }
+ } */
function housekeeping_common($debug) {
expire_cached_files($debug);