hugo-PaperMod icon indicating copy to clipboard operation
hugo-PaperMod copied to clipboard

🖼 Cover images in RSS feeds?

Open major opened this issue 3 years ago • 6 comments
trafficstars

Would it be possible to put cover images into RSS feeds?

I love how they look on my site with PaperMod, but then they're missing for my RSS feed consumers when they access the feed.

major avatar Apr 21 '22 12:04 major

@major RSS Spec does not allow an image to be specified inside an item tag. Do you have any references how we can implement this?

adityatelange avatar May 28 '22 16:05 adityatelange

I wish I did. My goal would be to have the cover image appear somewhere in the RSS feed so that someone using an RSS feed reader would see it. If I use a cover image plus a figure shortcode, then the RSS feed has the image but the actual blog post on the website shows the image twice.

major avatar May 30 '22 18:05 major

If that goal is out of reach with RSS/ATOM specs, then let's just close this and I'll find some other workaround.

major avatar May 30 '22 18:05 major

I also would love this feature. From my Wordpress days, featured images seemed to be included in the RSS content without any customization or problem. Would love that to be the case with this theme too

theJoshMuller avatar Jul 20 '22 17:07 theJoshMuller

Hi! I opened a PR which worked for me, based on this post: https://stackoverflow.com/a/63816671

based on how wordpress does it

https://github.com/adityatelange/hugo-PaperMod/pull/1370

vindex10 avatar Jan 03 '24 18:01 vindex10