RSS Feed for YouTube channel

So I didn't know you can actually get an RSS feed for a given YouTube channel.

At the time of this writing if you open the source code of the channel you'll find:

"externalId":"UCoLrcjPV5PbUrUyXq5mjc_A"Code language: JavaScript (javascript)

Feed url

Then use that ID with this URL. language: JavaScript (javascript)


Feed parser with PHP and WordPress

So I built this small PHP script to fetch the RSS feed. It is tailored for my needs:

  • Find the Boston Red Sox game recaps
  • Post it in my WordPress as a post
  • Send me an email if new videos are found

You can find the source code on Github

Leave a Reply

Your email address will not be published. Required fields are marked *