]> git.wh0rd.org - tt-rss.git/blobdiff - classes/opml.php
implement multiple rule/action filters
[tt-rss.git] / classes / opml.php
index 8683fb73a33a86b7a70fb8c6681d781ae4480a6f..60d0d40e07fa129e5a597e9a62cd108d031fe3b5 100644 (file)
@@ -159,7 +159,7 @@ class Opml extends Handler_Protected {
 
                        $out .= "</outline>";
 
-                       $out .= "<outline title=\"tt-rss-filters\" schema-version=\"".SCHEMA_VERSION."\">";
+/*                     $out .= "<outline title=\"tt-rss-filters\" schema-version=\"".SCHEMA_VERSION."\">";
 
                        $result = db_query($this->link, "SELECT filter_type,
                                        reg_exp,
@@ -191,7 +191,7 @@ class Opml extends Handler_Protected {
                        }
 
 
-                       $out .= "</outline>";
+                       $out .= "</outline>"; */
                }
 
                $out .= "</body></opml>";
@@ -287,7 +287,7 @@ class Opml extends Handler_Protected {
                }
        }
 
-       private function opml_import_filter($doc, $node, $owner_uid) {
+       /* private function opml_import_filter($doc, $node, $owner_uid) {
                $attrs = $node->attributes;
 
                $filter_name = db_escape_string($attrs->getNamedItem('filter-name')->nodeValue);
@@ -355,7 +355,7 @@ class Opml extends Handler_Protected {
                                }
                        }
                }
-       }
+       } */
 
        private function opml_import_category($doc, $root_node, $owner_uid, $parent_id) {
                $body = $doc->getElementsByTagName('body');
@@ -413,7 +413,7 @@ class Opml extends Handler_Protected {
                                                $this->opml_import_label($doc, $node, $owner_uid);
                                                break;
                                        case "tt-rss-filters":
-                                               $this->opml_import_filter($doc, $node, $owner_uid);
+                                               //$this->opml_import_filter($doc, $node, $owner_uid);
                                                break;
                                        default:
                                                $this->opml_import_feed($doc, $node, $dst_cat_id, $owner_uid);