FredJul / Flym

Flym News Reader is a light Android feed reader (RSS/Atom)
Other
952 stars 405 forks source link

Filter double items #589

Open M1Aston opened 4 years ago

M1Aston commented 4 years ago

Would it be possible to extend the filter for double items a bit. At the moment it only deals with titles that are exactly the same. But sometimes they are very similar (but not identical). Could you add a filter for these situations as well? Here are two examples: https://ibb.co/tQGkCgt

lavendthomas commented 4 years ago

I agree it would be really useful. Do you have an idea on how to write this filter? It is dangerous if the filter is not strict enough.

Off the top of my head, I can find two ways to do it:

Or maybe combine both ?

M1Aston commented 4 years ago

Well, you're probably asking too much for me to be able to answer. :-) I don't know. Perhaps filtering based on a similar word count?

A minimum number of x identical words (x is determined by the user) would be seen as identical feeds. Perhaps combined with an exclusion for (too) short words (a, it, the...).

M1Aston commented 4 years ago

It appears that the even the filter as it is now doesn't work properly. Take a look at these two screenshots. One with a double\identical feed and one with three identical feeds(!). https://ibb.co/RhMZJVD