A free, self-hostable news aggregator…
OPML compatibility PHP 5.3
Alexandre Alapetite40f1873de790
diff --git a/lib/lib_opml.php b/lib/lib_opml.phpindex a3af54596..b89e92977 100644--- a/lib/lib_opml.php+++ b/lib/lib_opml.php@@ -128,7 +128,7 @@ function libopml_parse_outline($outline_xml, $strict = true) {* the OPML 2.0 category attribute is used*/function preprocessing_categories($doc) {- $outline_categories = [];+ $outline_categories = array();$body = $doc->getElementsByTagName('body')->item(0);$xpath = new DOMXpath($doc);$outlines = $xpath->query('/opml/body/outline[@category]');