Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Filter #768

Closed
baracoder opened this issue Apr 18, 2015 · 11 comments
Closed

Filter #768

baracoder opened this issue Apr 18, 2015 · 11 comments

Comments

@baracoder
Copy link

I would like to hide or mark articles as read automatically based on title/description containing or not containing certain text.

@BernhardPosselt
Copy link
Contributor

Can you explain the usecase a bit better?

@BernhardPosselt
Copy link
Contributor

This sounds like a fully fledged rule engine like filters in thunderbird and requires a lot of time and effort to get it right and probably snowballs a huge bunch of enhancement/bugfix requests. You not only need a fully fledged user interface with various drop downs but also needs to be error checked aka duplicates, names etc. Its also much like a flexible programming language, aka if feed x contains y and z then do a, otherwise do b.

As outlined above this is a lot of work, so I want to understand the actual problem. Maybe we can avoid all this work, as in my opinion such a rule engine is a power user feature which applies to 0.1% of the userbase and offers a small return compared to the implementation and maintenance cost. Is this just a single feed that misbehaves and could be fixed on a feed library basis?

ATM I'm leaning towards no.

@cosenal
Copy link
Contributor

cosenal commented Apr 20, 2015

And any implementation (even a perfect one) would be prone to error. We really don't want the reader to mark articles as read by mistake.

@baracoder
Copy link
Author

For example I have this feed http://www.hetzner-status.de/de.atom which contains a lot of entries which do not interest me. So i would like to filter out all entries which contain "Datenbank" or "Webhosting".

Another way would be to use an external service like yahoo pipes to preprocess the feed http://pipes.yahoo.com/pipes/

@BernhardPosselt
Copy link
Contributor

Yep, using an external service like the one you've linked or creating a separate project for this seems like the way to go. You don't want the to be marked read, you want them to be ignored entirely. This should happen on the feed library level or using a proxy

@BernhardPosselt
Copy link
Contributor

Another thing would be to ask hetzner if they can provide extra filter parameters for the atom feed, like ?exclude=database,hosting

@sedrubal
Copy link

I can und er stand your doubt but I'd like this feature too. Using an external service makes owncloud news superfluous and using a proprietary service (e.g. yahoo pipes) gives yahoo the power of cencoring.

Here is a PHP RSS filtering project which might be useful for implementing this feature.

@BernhardPosselt
Copy link
Contributor

@sedrubal great link. Rather than integrating it (it is already a standalone app) we may want to create documentation and quick steps how to use it :)

We should add a Guide section in the wiki https://github.com/owncloud/news/wiki

@sedrubal can you take care of how of writing a step by step guide how to ingegrate this with ownCloud News and why you want to use it?

@sedrubal
Copy link

Unfortunately I don't know this project. I only found it while searching for filtering RSS. Do you think, one can use this in combination with owncloud news?

@BernhardPosselt
Copy link
Contributor

Yes, try it out and please report back if it worked. I've opened a security issue btw which I hope will get resolved quickly bionoren/rssFilter#4

@sedrubal
Copy link

Can't make it run, see bionoren/rssFilter#5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants