RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
6.99k stars 1.02k forks source link

[CSS Selector Advanced] URL Remap #3993

Open Explosion-Scratch opened 3 months ago

Explosion-Scratch commented 3 months ago

It would be great to have a field which lets us remap the URL of the feed, this would be something like:

https://webcache.googleusercontent.com/search?q=cache:{{URL}}

By default it would be: {{URL}} (I don't care if it's {{URL}}, $URL, [URL] or even {URL})

This would be super cool - Love the project. I don't know php but I can try to make a PR

Explosion-Scratch commented 3 months ago

Yeah, it's here: https://github.com/RSS-Bridge/rss-bridge/blob/683c968d646dbaf9719a1ef7b59797240fec7617/bridges/CssSelectorComplexBridge.php#L194

I just don't know how to find and replace a string in php or iterate over an array