summaryrefslogtreecommitdiff
path: root/classes/opml.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-30 18:50:56 +0400
committerAndrew Dolgov <[email protected]>2012-08-31 12:13:47 +0400
commit6aff7845751e1671f436da6686209b414fdcfcc4 (patch)
tree412bfad8bdb8d23eebb84ff96ba6077e901f6d8b /classes/opml.php
parentf9ebb32ca0a84ec5553d0494cdfc628753fcb36a (diff)
implement multiple rule/action filters
Diffstat (limited to 'classes/opml.php')
-rw-r--r--classes/opml.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/opml.php b/classes/opml.php
index 8683fb73a..60d0d40e0 100644
--- a/classes/opml.php
+++ b/classes/opml.php
@@ -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);