fossar / selfoss

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

Spout transformers #858

Open jtojnar opened 7 years ago

jtojnar commented 7 years ago

Currently there are some derived spouts like “RSS (with Readability)“ or “RSS (with FullTextRss)“. It would be nice if there were spout transformers that could modify the output of the spouts. Then it would be possible to fix #705 simply by applying FullTextRss transformer to Reddit spout.

Additionally, instead of just map, the transformers could implement filterMap thus allowing smarter filters for spouts.

lyda commented 7 years ago

Would this relate to #606?

jtojnar commented 6 years ago

@lyda Yes. The current filters only use a single regex. Spout transformers would allow setting multiple filters. Something like this:

screenshot-2017-9-15 selfoss 2637

jtojnar commented 5 years ago

I initially wanted to add advanced filters as part of this but since it is a feature many people including me want, I decided to split it out into #1125.