diff --git a/NEWS b/NEWS
index beb5f59cc..5ba79b614 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
v1.0.3 (Sep xx, 2005)
- - OPML export/import.
+ - OPML export/import
+ - Support for simple content filtering (expression should be valid regexp)
+ - Reworked preferences dialog
v1.0.2 (Sep 02, 2005)
diff --git a/backend.php b/backend.php
index 2c87cb7c6..20847f00a 100644
--- a/backend.php
+++ b/backend.php
@@ -646,7 +646,7 @@
}
print "
- Expr:
+
";
print_select("fadd_match", "", $filter_types);
@@ -661,7 +661,7 @@
(SELECT description FROM ttrss_filter_types
WHERE id = filter_type) as filter_type_descr
FROM
- ttrss_filters ORDER by id");
+ ttrss_filters ORDER by regexp");
print "
";
@@ -684,6 +684,9 @@
print "";
+ $line["regexp"] = htmlspecialchars($line["regexp"]);
+ $line["description"] = htmlspecialchars($line["description"]);
+
if (!$edit_filter_id || $subop != "edit") {
if (!$line["description"]) $line["description"] = "[No description]";
diff --git a/prefs.php b/prefs.php
index 735263553..974101b1c 100644
--- a/prefs.php
+++ b/prefs.php
@@ -28,11 +28,12 @@
- Feed Configuration
+ Feed Configuration
OPML Import
@@ -48,10 +49,12 @@
- Content filtering
+ Content Filtering