3 ms·
For some reason this misses out a point that I personally find deeply annoying. I’d like the ability to share an image for the RSS feed for my site. This is usu
by lloydatkinson 4y ago
For some reason this misses out a point that I personally find deeply annoying. I’d like the ability to share an image for the RSS feed for my site. This is usually some horrific mix of nested html or xml cdata and no one can agree on how to put an image in a RSS feed item. Different readers and platforms seem to just make it up on a whim.
Podcast RSS has the fortune of being pretty consistent and contains an image for the podcast.
- mdp2021 4y ago> how to put an image I do not get it: an <img> tag? If you mean "embed it": people in general would not want to receive it!...
- derekzhouzhen 4y ago> no one can agree on how to put an image in a RSS feed item There is, if you put a image at the enclosure tag, most feed readers will recognize that. https://validator.w3.org/feed/docs/rss2.html#ltenclosuregtSubelementOfLtitemgt https://validator.w3.org/feed/docs/rss2.html#ltenclosuregtSu...
- lloydatkinson 4y agoTried it and it didn't seem to work. I will try it again though. Again most SO answers and articles I saw have some terrible CDATA thing going on.
- derekzhouzhen 4y agoSee my blog's feed as an example on how to use enclosure: https://blog.3qin.us/feed.xml https://blog.3qin.us/feed.xml W3C has a RSS validator that you can use to validate the RSS file. I also have a blog linter that cross check the consistency between the metadata from the feed and the metadata from the blog posts https://roastidio.us/lint https://roastidio.us/lint Hint: very few blogs pass without warning.