From: Andrew Dolgov Date: Sat, 3 Sep 2005 08:03:06 +0000 (+0100) Subject: sanity checking in filter editor, updated NEWS, changed prefs UI a bit more X-Git-Tag: 1.0.3~59 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ea6774cf1d4bfc4fae156198dcffa709c8367785;p=tt-rss.git sanity checking in filter editor, updated NEWS, changed prefs UI a bit more --- diff --git a/NEWS b/NEWS index beb5f59c..5ba79b61 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 2c87cb7c..20847f00 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 73526355..974101b1 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