When subscribing to a RSS feed with URL like this: http://rsshub_service.rsshub_1/blogs/blablabla, I got an error Specified URL seems to be invalid.
A brief explaination on the werid URL, I run ttrss in a docker container, and adds it to a network where a custom service rsshub is running. rsshub is a service that scrapes web pages and exported the results in RSS form.
I start getting this error after I upgraded ttrss to the latest version yesterday, it was working fine before.
After looking into the code, I think the function that gives this error was the validate in urlhelper.php. But I don’t know PHP and couldn’t debug exactly why this isn’t a valid URL.,
Could someone help?
Thanks!
…
If possible include steps to reproduce the problem:
…
tt-rss version (including git commit id):
…
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
One use case for ttrss(and other rss clients in general) is to serve as a browser for all kinds of information, not necessarily just news or blogs. I have written some small programs that scrape websites or generating some reports and publish those as RSS feeds. Apparently these small programs are best not exposed to public internet.
In the past it’s very convenient to add such feeds to ttrss by assigning hostnames only resolvable in the local network, which is now forbidden. The most obvious way to get this working is to register public domains for these small programs, and let ttrss subscribe via these public domains. Then, configure nginx to allow only ttrss’s IP to access these services. This seems cumbersome.
I’d be very interested to learn what’s the commended setup for this use case…