Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more than one feed_url #102

Closed
1mfaasj opened this issue Sep 13, 2023 · 2 comments
Closed

more than one feed_url #102

1mfaasj opened this issue Sep 13, 2023 · 2 comments

Comments

@1mfaasj
Copy link

1mfaasj commented Sep 13, 2023

A quick question.
If I want to use multiple sources (feed_url), how do I add this in the configuration? It might also be useful for other people to include this on the homepage of your GitHub.

Thanks!

@ogajduse
Copy link
Collaborator

Thank you for your feedback. I will document it in README as a part of #90.

Here is an example of how you can configure two feeds (sources). Each RSS feed is a separate sensor entry. The configuration below is overly big and not all options are required.

- date_format: '%a, %d %b %Y %H:%M:%S UTC%z'
  exclusions: []
  feed_url: https://www.nu.nl/rss
  inclusions:
  - image
  - title
  - link
  - published
  local_time: false
  name: nu_nl
  platform: feedparser
  scan_interval:
    seconds: 3600
  show_topn: 9999
- date_format: '%a, %d %b %Y %H:%M:%S UTC%z'
  exclusions: []
  feed_url: https://www.nu.nl/rss/Algemeen
  inclusions:
  - image
  - title
  - link
  - published
  local_time: false
  name: nu_nl_algemeen
  platform: feedparser
  scan_interval:
    seconds: 3600
  show_topn: 9999

@1mfaasj
Copy link
Author

1mfaasj commented Sep 15, 2023

it's working now thanks

@1mfaasj 1mfaasj closed this as completed Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants