rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

[CSS Selector Advanced] URL Remap

Open Explosion-Scratch opened this issue 1 year ago • 1 comments

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 avatar Mar 04 '24 00:03 Explosion-Scratch

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

Explosion-Scratch avatar Mar 04 '24 00:03 Explosion-Scratch