Automated script to add YouTube Videos as WordPress Posts

Automated script to add YouTube Videos as WordPress Posts

I built this automated script that pulls YouTube videos and create WordPress posts. Utilized for the Node theme, but can be used in many different ways.

To expand my Coderman YouTube channel reach, help more people and have an offsite archive of my YouTube videos content, I ventured into creating a WordPress website. Originally I was copying URLs and making WordPress posts each time I uploaded a new video, which meant my website was behind on the video content, from forgetting or not linking properly. I decided to create this script to automate the process. You can see its lightweight, no libraries or fluff. All it needs is WordPress path for wp-load.php and a YouTube API Key.

Get code on GitHub

No Comments

Post a Comment