Using audio tag elements within RSS description > item


#1

Has anyone had success getting non-embedded iframe media to render correctly in RSS feed items?

For example, say you modify rss.xml from: <description>{{ .Summary | html }}</description> to <description>{{ .Content | html }}</description>. In a particular post/page, you have multiple HTML5 audio/video elements. However, when previewing the feed items in RSS readers (e.g. inoreader, feedly), those elements do not populate in the preview. I’m not convinced this is entirely a Hugo issue, but I’m not sure where else to ask/start? NOTE: this is not about creating an “audio feed” (e.g. podcast) – rather I have posts with multiple audio snippets that I would like to have available in RSS readers.

Links: GitHub repo. WIP site.


Pictures can be helpful. See this post preview (from inoreader) and notice how embedded iframe elements (i.e., SoundCloud) render just fine:




But regular <audio> tag elements and/or fancier audio elements provided by plyr.io are missing from the preview:


#2

Have you confirmed the feed is what you expect? If the feed has the elements you want to publish, then you should follow up with a given reader if the preview isn’t working. It is just a static file. So you can verify your feed on the Hugo side really easily. :slight_smile: