5 ms·
> 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:/
by 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.