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

Cant pars rss feed #65

Open
Bram-diederik opened this issue Oct 22, 2022 · 4 comments
Open

Cant pars rss feed #65

Bram-diederik opened this issue Oct 22, 2022 · 4 comments

Comments

@Bram-diederik
Copy link

Bram-diederik commented Oct 22, 2022

I want the news podcast over my speakers but i cant parse the rss feed. Gives a empty result.

 - platform: feedparser
    name: anp nieuws
    feed_url: https://www.omnycontent.com/d/playlist/56ccbbb7-0ff7-4482-9d99-a88800f49f6c/a49c87f6-d567-4189-8692-a8e2009eaf86/9fea2041-fccd-4fcf-8cec-a8e2009eeca2/podcast.rss
    scan_interval:
      hours: 0.5
    show_topn: 1
    inclusions:
    - media
    - title
@Aasikki
Copy link

Aasikki commented Mar 10, 2023

Same, issue with this rss feed:
https://kimmo.suominen.com/stuff/fingerpori.xml

image

Tried with and without filters, nothing.

@ogajduse
Copy link
Collaborator

@Bram-diederik
I have slightly modified your config and I was able to parse the feed using the latest beta release of the feedparser component.

my config:

- date_format: '%a, %d %b %Y %H:%M:%S UTC%z'
  exclusions: []
  feed_url: https://www.omnycontent.com/d/playlist/56ccbbb7-0ff7-4482-9d99-a88800f49f6c/a49c87f6-d567-4189-8692-a8e2009eaf86/9fea2041-fccd-4fcf-8cec-a8e2009eeca2/podcast.rss
  inclusions:
  - title
  - link
  - published
  - summary
  local_time: false
  name: anp_nieuws
  platform: feedparser
  scan_interval:
    seconds: 3600
  show_topn: 9999

Lovelace config:

type: custom:list-card
entity: sensor.anp_nieuws
title: Test feed
feed_attribute: entries
columns:
  - title: Title
    field: title
    style:
      - white-space: wrap
    add_link: link
  - title: Summary
    field: summary
  - title: Published
    field: published

The sensor in UI:
image

How it appears in Lovelace using list-card:
image

If you click on the title, the browser starts downloading the podcast.

I would be grateful if the community tried the beta releases before I release it.
Could you please try installing the 0.2.0b4 release through HACS and let me know if it works for you?

@Bram-diederik
Copy link
Author

Bram-diederik commented Aug 20, 2023 via email

@ogajduse
Copy link
Collaborator

Same, issue with this rss feed: kimmo.suominen.com/stuff/fingerpori.xml

image

Tried with and without filters, nothing.

@Aasikki
I have tested the feed that you provided and it works for me. Here are my configs and screenshots.

configuration.yaml

- date_format: '%a, %d %b %Y %H:%M:%S UTC%z'
  exclusions: []
  feed_url: https://kimmo.suominen.com/stuff/fingerpori.xml
  inclusions:
  - title
  - link
  - published
  - summary
  - image
  local_time: false
  name: kimmo_suominen_fingerpori
  platform: feedparser
  scan_interval:
    seconds: 3600
  show_topn: 9999

lovelace config:

type: custom:list-card
entity: sensor.kimmo_suominen_fingerpori
title: Test feed
feed_attribute: entries
columns:
  - title: Title
    field: title
    style:
      - white-space: wrap
    add_link: link
  - title: ''
    type: image
    add_link: link
    width: 500
    height: null
    field: image
  - title: Published
    field: published

Screen shot from developer tools:
image

Screen shot from Lovelace:

image

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

3 participants