[FeedMergeBridge] Add new bridge#1385
Conversation
Here is a bridge that basically merge two feeds in one. I'm not sure it's the best way, but it works for me.
|
What is the use case for the bridge? |
|
Some usecases:
|
|
I second this. Some widgets accept only one rss feed. |
I don't think it's possible with the current parameters system to add dynamically more text fields... |
|
I suggest to fork rss-bridge and implement feed merging as a separate project. Reasons:
|
|
As is it just a bridge, I'll keep it under a personal repository. |
|
Some Use Cases:
As for the goals of this bridge versus the projects being different,,, I'd personally see it as equivalent to the existing "filter" bridge. |
|
I am OK with this, as we already have multiple bridges that are not just transforming content, but I am listening if anyone is disagreeing, |
|
This looks like a really nice addition, I was looking for something like this 👍 |
|
In my opinion we should try to keep this project pure with mostly bridges. We are not a feed reader. |
|
Let's revisit this topic. I understand the scenarios where this is useful. And it doesn't hurt much to add one bridge that is a little bit special. |
|
Limiting the use of feeds by disallowing multiple feeds in a feed aggregator clearly defeats the purpose of an aggregator... In my opinion this falls under the category of crippled APIs that rss-bridge is aimed at. |
|
@AntoineTurmel I'm fine with merging this. Can you add proper example values and fix all linting issues etc? |
examplevalue 1
examplevalue 2
Pull request artifacts
|
|
There are some errors in the preview about the feedname. It looks like you want to merge the feednames but it's not doing it. Can you take a look at that? Thanks |
|
@AntoineTurmel Ping |
…p -p ............................................................ 60 / 372 (16%) ............................................................ 120 / 372 (32%) ............................................................ 180 / 372 (48%) ............................................................ 240 / 372 (65%) ............................................................ 300 / 372 (81%) ..............................................E............. 360 / 372 (97%) ............ 372 / 372 (100%) FILE: ...me/runner/work/rss-bridge/rss-bridge/bridges/FeedMergeBridge.php ---------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ---------------------------------------------------------------------- 8 | ERROR | String concat is not required here; use a single string | | instead
|
I fixed it up and merged it. |
|
@dvikan I was busy with other things, thanks for fixing it :) |
* [FeedMergeBridge] Add new bridge Here is a bridge that merges two or more feeds into one. Co-authored-by: Bocki <henning@bocklage.com> Co-authored-by: Dag <me@dvikan.no>
Here is a bridge that basically merge two feeds in one.
I'm not sure it's the best way, but it works for me.