šŸ“° Lovelace: RSS Feed Parser Plugin/List Card

Iā€™m not sure if I messed something but how do I get the info from the attribute area to show in a non-lovelace view?

all I get is this:

ex2

I tried to extract it using a template sensor but I couldnā€™t figure out how to get the template to not complain about the format of the attribute since it doesnā€™t follow the standard attribute format of ā€œkeyā€:ā€œvalueā€.

Unless Iā€™m missing something. which is likely.

And as a second question, I looked at the code and (I thinkā€¦) I saw that the scan interval is every hour. If thatā€™s correct could there be a way to choose a different interval in the config?

Didnā€™t really make this with non-lovelace in mind.

It is set to 1 hour update intervals. Could be added as a config, I welcome PRs :slight_smile:

Ok. thanks for the reply.

Do you know of any way to extract the RSS results from the attributes and be able to use those results in a template?

Should be able to just use a for-loop, I believe: http://jinja.pocoo.org/docs/2.10/templates/

1 Like

@iantrich Thanks for this, it works really well for my use to fetch the latest news from a big news site here. However, it fetches 100 articles, how can I adjust that? I want it to get probably around 10ā€¦

Thanks :slight_smile:

How do you plan to display the news? If doing so in Lovelace, I have developed a card list-card that has limit on how many to display that is referenced in the repo.

1 Like

Thanks - I discussed this on discord and was given a tip bout the list-card. I limited the amount of rows, and it worked out exactly like planned :slight_smile:

Hi, thanks for this. Was looking for something like this.
My purpose using RSS feed parser with list-card is to only get 5 latest headlines from a newspaper.
But the card uses a lot of space for object title and column title. Any way to get rid of it?

07

I ofc removed title: but it added ā€œListā€ as default value it seems

@dan.skiftun
Unable to do so at the moment (at work) but you could submit a PR to update lines 17 and 79 so that a title is not rendered if not defined: https://github.com/custom-cards/list-card/blob/master/list-card.js#L17

@dan.skiftun
I went ahead and made that change. You should be able to update the card and titleā€™s are now truly optional: https://github.com/custom-cards/list-card/pull/3

thank you!

Hi @iantrich ,

Everything is installed and working, but the list is not refreshingā€¦ Only after HA restart the list is updated.

Any suggestions?

Thanks,

Naor

It should update every hour.

Try removing lines 30 and 33 so that the default scan interval is used to see if you can pickup changes more noticeably?

Do you mean to comment out these lines?

DEFAULT_SCAN_INTERVAL = timedelta(hours=1)
SCAN_INTERVAL = timedelta(hours=1)

Update:
Done it, Ill know in a few hours if it worked

I think its started when I limited the rowa to 10. Removed that line and checking if it updates

Hi @iantrich

I found the problemā€¦ it is not purging old messages. They just keep adding up.
Thats why I though it is not updating, because I saw the top of the list all the time.

Only after restarting HA the older post are gone.

Any idea?

Great find! Youā€™re right. I pushed an update to clear the data on each pull.

1 Like

:blush: I need to re-download to whole pack or just the feedparser?

Work like a charm! Thanks!!

what RSS URL feed do you use for Upcoming shows?

thanks