diff options
| author | 2018-11-11 17:31:50 +0100 | |
|---|---|---|
| committer | 2018-11-11 17:31:50 +0100 | |
| commit | b672fc190d7df163449e91400c6d6a08a3775835 (patch) | |
| tree | ddb616efd040ba67783665a4f4372afd43e3b23d /app/Models/BooleanSearch.php | |
| parent | 55992d454811f49fedc157854a6bb068c0f8c74c (diff) | |
Tweaks for Vienna RSS (#2093)
* Tweaks for Vienna RSS
https://github.com/FreshRSS/FreshRSS/issues/2091
https://github.com/ViennaRSS/vienna-rss/issues/1197
* Fix get feed by URL
* Fix get item ids returning starred elements
* API add item ids by feed URL
* Add API filter `it`
https://feedhq.readthedocs.io/en/latest/api/reference.html#stream-items-ids
* API add `nt=` filter + refactoring
* No ; prefix for author
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-435562495
* Add id long form prefix and accept short id form
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-435631259
* Fix quote problem
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-435683930
* Isolate bug fix for News+
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-435687041
* Rework encoding conventions
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-437441834
* Unicode escaping alternative
Alternative approach to encode XML special characters and other
problematic characters into their Unicode fullwidth version when we
cannot use HTML-encoding because clients disagree wether they should
HTML-decode or not.
https://github.com/FreshRSS/FreshRSS/issues/2091#issuecomment-436059559
Diffstat (limited to 'app/Models/BooleanSearch.php')
| -rw-r--r-- | app/Models/BooleanSearch.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php index 6e016f7e9..88eeea73c 100644 --- a/app/Models/BooleanSearch.php +++ b/app/Models/BooleanSearch.php @@ -45,6 +45,14 @@ class FreshRSS_BooleanSearch { return $this->searches; } + public function add($search) { + if ($search instanceof FreshRSS_Search) { + $this->searches[] = $search; + return $search; + } + return null; + } + public function __toString() { return $this->getRawInput(); } |
