Skip to content

RSS: Add support for youtube feeds #1291

@SquidXTV

Description

@SquidXTV

About

Add support for YouTube feeds to improve the generated embed for a better user experience. YouTube uses two custom schemas to provide support for media/youtube videos. This is an example entry:

Example Entry
 <entry>
  <id>yt:video:MrrGtcHrqxg</id>
  <yt:videoId>MrrGtcHrqxg</yt:videoId>
  <yt:channelId>UCmRtPmgnQ04CMUpSUqPfhxQ</yt:channelId>
  <title>What is pinning? - Cracking the Java Coding Interview #javalanguage #javacoding #javatips</title>
  <link rel="alternate" href="https://www.youtube.com/shorts/MrrGtcHrqxg"/>
  <author>
   <name>Java</name>
   <uri>https://www.youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ</uri>
  </author>
  <published>2025-07-25T10:00:41+00:00</published>
  <updated>2025-07-26T23:12:46+00:00</updated>
  <media:group>
   <media:title>What is pinning? - Cracking the Java Coding Interview #javalanguage #javacoding #javatips</media:title>
   <media:content url="https://www.youtube.com/v/MrrGtcHrqxg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/MrrGtcHrqxg/hqdefault.jpg" width="480" height="360"/>
   <media:description>Cracking the #Java #Coding #Interview - Question 277: What is pinning?
Watch all the questions here: https://youtube.com/playlist?list=PLzzeuFUy_Cngn3JZEXtu6G923y5v8y-8h</media:description>
   <media:community>
    <media:starRating count="758" average="5.00" min="1" max="5"/>
    <media:statistics views="18460"/>
   </media:community>
  </media:group>
 </entry>

I think its enough if we just use media:title + ref link for the embed title and add the media:thumbnail as the content of the embed.
Optionally we can include stuff like rating and statistics into the footer, but this would need to make sure that it's getting updated.
Here is the full version of the YouTube RSS feed: https://www.youtube.com/feeds/videos.xml?playlist_id=UUSHmRtPmgnQ04CMUpSUqPfhxQ

Current Version

The current version looks like this:

Image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions