Replies: 2 comments 8 replies
-
|
Thanks @aledeg My short-term roadmap (if possible for 1.18.0) is so far only covering automatically marking as read, and automatically applying labels:
I have wanted those features for a long time, very much along the lines of what you wrote @aledeg , and I have thought a lot about how they could actually be done (I thought of e.g. implementing a simple language to express actions, of various UIs with dynamic choices, etc. but discarded those options at this stage). I have come to the conclusion that in order not to be too complicated to use, we should (also) have some quite basic approaches (first). This does not exclude having more powerful approaches at higher level. I do believe that the plan above will cover a good part of the needs with reasonable efforts, relative ease of use, and good performance. Step 1 is (just) a set of basic features, which can also be reused, just like when I introduced #2892 In other words, I would very much support a global "filter/actions" as you propose, but would best like to land the simpler features first. To faster reach this goal, having some help for step 4 (configuration page for the individual labels) in particular would be very much appreciated. To prepare for steps 2 and 3, it would also be nice to do in advance some UI reorganisation of the options that can be at global/category/feed level , so help welcome there as well. See for instance: I hope you will like this plan, @aledeg |
Beta Was this translation helpful? Give feedback.
-
|
A good next goal might be to add a way to specify re-usable filters that can be referenced from labels or feeds. Something like the User Queries, but they would need to be in the PHP syntax instead of the per-database syntax used for Search and User Query. Being able to define a complex set of filters in one global location associated with a name, and then reference it from any number of per-feed or label filters as something like |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
We have a recurring request, the need to filter articles when they are retrieved by FreshRSS. I recently went through all the issues and created a new tag for that matter (
Article filter). At the moment, there is 13 open issues related to that. See here.@Alkarex started to address those issues with the introduction of the
Filter actionson the feed level. It's great but I find it limited and not very practical. Let me explain why.I find it limited, because you can only match the current feed and it has only one action. I am aware that it was only a starter but I cannot foresee how we can improve it.
I find it not very practical, because if I need to make the same action on different feeds, I need to copy and paste over and over. When we will have more actions, we will need to copy and paste on that action as well.
I've been thinking about that for a while now because that's something I need. For instance, the
Reddit Imageextension I wrote could be transformed to be a filter action with the system I have in mind.For me, we shouldn't have the filter actions on the feed level. Actually, I think the filter actions shouldn't be on any level but their own. They should be stored separately so we can create a filter action on a feed on day and decide the next day that we want to expand it to other feeds or categories without changing everything.
I think we should have a filter action chain composed by filter action link. This chain will be created once by reading the configuration and it will be use when inserting new articles. The chain will go through every link until one triggers its action.
For this to work, each link will have a matching rule and an action rule. The matching rule will be a combination of matching condition (ex: title contains xxx, category is xxx, ...). The action rule will be a combination of action (ex: mark as read, tag as xxx, highlight word xxx, ...)
With a system like that, it becomes easy to add new matching rules and new actions. We can start small to mimic what @Alkarex have done, one matching rule for the feed, one matching rule for the content and one mark as read action.
For the filter chain configuration, I can see something that looks like the filter in the webmail (Gmail, ...) that allows to describe every link one by one.
For the storage, I don't know if we need to write that in the database or in the configuration file.
I think that if we do this right, we can add a lot of flexibility in this process and I can even see me changing some part of my extension to fit into that filter action chain.
Let me know what you think!
Let me know if I need to add some clarifications.
Beta Was this translation helpful? Give feedback.
All reactions