fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.35k stars 343 forks source link

Improve filter support #1423

Closed jtojnar closed 1 year ago

jtojnar commented 1 year ago

The filter expression can take one of the following forms:

  1. An atomic filter: a Perl-compatible regular expression, as accepted by PHP, between forward slashes (/). For example, /reg(ular expression|ex)/ will keep only items whose title or content matches the regular expression between the slashes (i.e. contain the phrase “regular expression” or “regex”). Learn more about regular expressions on https://www.regular-expressions.info/.
  2. A field-specific filter: an atomic filter preceded by one of the field names below and a colon:
    • title:/regex/ will keep only items whose title matches the regular expression between the slashes.
    • content:/regex/ will keep only items whose content matches the regular expression between the slashes.
    • author:/regex/ will keep only items which have an author that matches the regular expression between the slashes.
    • category:/regex/ will keep only items which have a category that matches the regular expression between the slashes.
  3. A negated filter is either an atomic filter or a field-specific filter preceded by an exclamation mark (!). It will only keep items would not be kept by the filter after the exclamation mark.
netlify[bot] commented 1 year ago

Deploy Preview for selfoss ready!

Name Link
Latest commit 12a32ccfad099a476650c5cae583e85a408d1e0c
Latest deploy log https://app.netlify.com/sites/selfoss/deploys/642368620e3d1e0008055d42
Deploy Preview https://deploy-preview-1423--selfoss.netlify.app/docs/usage/filters
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

GutHib commented 1 year ago

Wow, that is truely amazing. Does the project accept donations or should that go towards a charity?

jtojnar commented 1 year ago

I can send you an IBAN number if you want to do a bank account transfer. But donating to Internet Archive or Wikimedia Foundation is also fine.

GutHib commented 1 year ago

Mail sent to your gmail address, you can find it in your spam folder.

jtojnar commented 1 year ago

@GutHib Thank you for your donation :heart: