The «SQL expression» is added to WHERE clause of
- view feed query. You can match on ttrss_entries table fields
- and even use subselect to query additional information. This
- functionality is considered to be advanced and requires basic
- understanding of SQL.
+
Labels are generated by using SQL expressions. The «SQL expression» is added to WHERE clause of view feed query. You can match on ttrss_entries table fields and even use subselect to query additional information. This functionality is considered to be advanced and requires some understanding of SQL.
Examples
diff --git a/help/2.php b/help/2.php
new file mode 100644
index 00000000..83cf5d4d
--- /dev/null
+++ b/help/2.php
@@ -0,0 +1,10 @@
+
Content filters
+
+
TT-RSS has support for filtering (or processing) articles. Filtering is done once, when new article is imported to the database from the newsfeed, specified field is matched against regular expression and some action is taken. Regular expression matching is case-insensitive.
+
+
Supported actions: filter (do not import) article, mark article as read, set starred, assign tag(s). Filters can be defined globally and for some specific feed.
+
+
Multiple and inverse matching are supported. All matching filters are considered when article is being imported and all actions executed in sequence. Inverse matching reverts matching result, e.g. filter matching XYZZY in title with inverse flag will match all articles, except those containing string XYZZY in title.
+
+
See this page for additional information on filtering.
+
diff --git a/images/sign_excl.png b/images/sign_excl.png
new file mode 100644
index 00000000..c20b0cb3
Binary files /dev/null and b/images/sign_excl.png differ
diff --git a/images/sign_info.png b/images/sign_info.png
new file mode 100644
index 00000000..bfd27595
Binary files /dev/null and b/images/sign_info.png differ
diff --git a/images/sign_quest.png b/images/sign_quest.png
new file mode 100644
index 00000000..d26e577e
Binary files /dev/null and b/images/sign_quest.png differ
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 3b5ed89d..d1ef0eae 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -35,14 +35,15 @@
}
if (count($subscribed) > 0) {
- print "