-
Notifications
You must be signed in to change notification settings - Fork 32
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
My feed wont populate #30
Comments
Card config fmdoesnt matter if your sensor is not being populated. Is there data in the feedparser sensor if you look in the Developer Toola > States? |
So each entry only has title and link, so that's the only fields you can use in the card |
I got it to populate but the images for each story are just the hassio icon. I've tried multiple news feeds and it's the same issue.
|
Well is there an image in the feed? Looked like a link to the story itself |
Yes there is I'll take this top story for example: Here is what the feedparser lists as the image: Here is the actual article: Do you by chance have a feed that you know works with images that I can try out? |
Hi, |
After doing some extra research I found that there are two problems: 1.- There are no images (at least article related images) inside the feed. The only solution I can see is modifying the feeder to search for images following the link. I am trying to do this, I will keep you updated. 2.- But also, the feed explorer does not support multiline images and the small images that appear on the feed are written across multiple lines. This can be solved bi adding a re.DOTALL as de last parameter of the re.findall function on line 95. But again the only images there are in the feed are the ones shown in your post. Line 95: |
That is a gross solution (Not your fault, just overall a lot of work). Do you know of a feed that works with this card that I can use without jumping through hoops? |
This is how I did it, first the sensor:
I only take 10 news because mi connection is slow and it has to load all the selected news. Now the card:
Finally the code added at line 99:
I know it is not nice. But you can not do it with just the feed you want. The image information is not there. I can not think of any other way of getting an image for then entities of the feed since there is no image in it. |
I had exactly the same, description was in the feed but somehow renamed to summary |
I have been messing around with my lovelace and I can't get it to work
Here is what the card looks like:
Here is my yaml for that card
Here is my config for feedparser:
The text was updated successfully, but these errors were encountered: