russ icon indicating copy to clipboard operation
russ copied to clipboard

support local rss file

Open Cyrix126 opened this issue 1 year ago • 2 comments

Just a proof of concept.

At the moment of fetching the url, it checks if it contains "http" in the url. If it doesn't, it tries to load it as a file.

It's very simple but too rudimentary, a lot of things could go wrong (for example if a file name contain the word http), but it works for me with this small change.

Cyrix126 avatar Apr 14 '23 19:04 Cyrix126

@Cyrix126 thank you very much for the proof of concept, this should absolutely be doable. I just need to figure out the best way to integrate it. Thanks.

ckampfe avatar Apr 15 '23 18:04 ckampfe

@Cyrix126 thank you very much for the proof of concept, this should absolutely be doable. I just need to figure out the best way to integrate it. Thanks.

Hi, Maybe by trying an Url.parse and if it you got an Err as a result, read the file locally?

slundi avatar Apr 04 '24 19:04 slundi