Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Miniflux filters?

Scheduled Pinned Locked Moved Solved Miniflux
10 Posts 3 Posters 695 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    odie
    wrote on last edited by
    #1

    I like that Miniflux is now available on Cloudron. However, there's something about this app that I'm struggling a little bit with. The filters; especially the syntax of block and keep rules. I am at a loss on how to implement such filters effectively. The documentation is a stub (for me), but probably more than enough for some of you guys with a better understanding.

    Could anyone be so kind as to give an example on how to write multiple filters for a feed? I would be very grateful for such assistance.

    Example - say I have a newspaper feed I subscribe to, but I am not interested in reading articles with the following characteristics:

    • I want to filter out articles with the word "fashion"
    • I also want to filter out articles with the word "car"
    • Same with articles with the letters "holidayfu" in the headline (to filter out articles holidayfun, holidayfuture etc)
    • I also want to filter out all articles with the numbers between 231-355 in the title
    • And I would love to filter out articles with the words "foo" and "bar" in the subject, even if they don't appear immediately after each other

    I have some (limited) experience with regex filters in TTRSS, and in TTRSS, I would write this as one (or more) filters like this:

    (fashion|car|holidayfu|[2][3-5][1-5]|foo.*bar)

    But I am struggling to understand how to implement such a rule set in Miniflux. Could anyone please give an example? I'd be really grateful.

    Thanks a lot for any and all help, and once again, thanks for what looks like a really cool app!

    Odie

    nebulonN 1 Reply Last reply
    1
  • nebulonN nebulon marked this topic as a question on
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #0

    You can use this format: (?i)miniflux|mini|flux

    To play with and learn new ones with explanations, use https://regex101.com

    Life of sky tech

    1 Reply Last reply
    3
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to odie on last edited by
    #2

    @odie have you seen https://miniflux.app/docs/rules.html yet?

    O 1 Reply Last reply
    0
  • O Offline
    O Offline
    odie
    replied to nebulon on last edited by
    #3

    @nebulon Thanks, nebulon. Yes I have seen it, this is the documentation that was really confusing for me (but, as I said, I don't really understand how to write regex-filters, I just learned how to do it in TTRSS).

    To illustrate, I understand that (?i)miniflux tells miniflux to ignore (delete, if in the "block rules" part) all articles containing the word minflux (case insensitive). But I struggle with the implications for more rules. And I struggle to understnad why the "?" character is used.

    In my example above, would I be right in assuming that I could add this example to my filters like this?

    ((?i)miniflux|fashion|car|holidayfu|[2][3-5][1-5]|foo.*bar)

    Also, does this mean that in Miniflux, the regex expressions are case sensitive by default? (they aren't in TTRSS).

    Sorry for being a newbie... 🙂

    Odie

    O 1 Reply Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #4

    You can use this format: (?i)miniflux|mini|flux

    To play with and learn new ones with explanations, use https://regex101.com

    Life of sky tech

    1 Reply Last reply
    3
  • O Offline
    O Offline
    odie
    replied to odie on last edited by
    #5

    @odie Thanks. So basically, the same filtering as TTRSS, except everything is one line. Appreciate it!

    nebulonN 1 Reply Last reply
    1
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to odie on last edited by
    #6

    @odie did this solve your issue in the end?

    O 1 Reply Last reply
    0
  • O Offline
    O Offline
    odie
    replied to nebulon on last edited by
    #7

    @nebulon Thanks for following up - hopefully, it will. I haven't had the time to add feeds and test yet. Will report back 🙂

    O 1 Reply Last reply
    1
  • O Offline
    O Offline
    odie
    replied to odie on last edited by
    #8

    @odie said in Miniflux filters?:

    @nebulon Thanks for following up - hopefully, it will. I haven't had the time to add feeds and test yet. Will report back 🙂

    It seems filters are working as expected. Thanks a lot! One thing I'd love to see, though... (in Miniflux, not a Cloudron issue). It'd be great to be able to test the filters before turning them on. In TTRS, you can. I experienced how useful that was one time where I forgot to remove a trailing pipe symbol (|)... If I had implemented that filter, all articles would have been deleted...

    I will post back here if I run into issues.

    Thanks again.

    robiR 1 Reply Last reply
    1
  • girishG girish has marked this topic as solved on
  • robiR Offline
    robiR Offline
    robi
    replied to odie on last edited by
    #9

    @odie that's a suggestions you can make upstream at the miniflux github repo.

    Life of sky tech

    O 1 Reply Last reply
    0
  • O Offline
    O Offline
    odie
    replied to robi on last edited by
    #10

    @robi said in Miniflux filters?:

    @odie that's a suggestions you can make upstream at the miniflux github repo.

    Good idea. I just did that!

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks