html2rss / html2rss-web

🕸 Create custom RSS feeds from any website with ease! Quick setup with Docker. Use built-in configs or tailor your own. Stay updated effortlessly.
https://html2rss.github.io/components/html2rss-web
MIT License
86 stars 11 forks source link

feeds.yml not loaded using docker-compose.yml #618

Closed haayman closed 10 months ago

haayman commented 10 months ago

I'm trying to run html2rss-web from docker using the docker-compose.yml provided, but when I open the web interface I just see the default example.rss, not mine. image

There's not a lot of logging telling me what's going on, so this is also a feature request: display on startup the config that is loaded and how it is interpreted.

This is my feeds.yml, which is mounted to /app/config/feeds.yml. Could it be that this is not the correct location?

stylesheets:
  - href: "/rss.xsl"
    media: "all"
    type: "text/xsl"
headers:
  "User-Agent": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
feeds:
  # your custom feeds go here:
  samengezondindeventer:
    channel:
      url: https://samengezondindeventer.nl/nieuws
      title: "Samen gezond in Deventer"
      ttl: 120
    selectors:
      items:
        selector: "article"
      title:
        selector: "h2 a"
      link:
        selector: "a"
        extractor: "href"
haayman commented 10 months ago

It seems to be possible to have multiple config files on different endpoints? So how should the be set up?

image

haayman commented 10 months ago

never mind, just found out I should use /<feed>.rss as endpoint