Automatically Post Your YouTube Videos to Your Website

YouTube Logo

Automatically Post Your YouTube Videos to Your Website

by
Harry Bartlett

youtube play icon_0.png

Integrating the video listings with the visual styling of this site was essential, which ruled out the branded YouTube widgets. There was also a very small budget, which eliminated custom coding a feed parser to display the information exactly as we wanted.

Our middle of the road solution delivers a lot of functionality, with a minimal investment. You’ll have an automatically updating feed of video on your site in no time. Here’s how:

  1. Download the files (Courtesy of Feed for All)
  2. Edit the following code to use your website urls

    <?php
    = "http://gdata.youtube.com/feeds/base/users/youryoutubeusernamehere/uploads?alt=rss&v=2&client=ytapi-youtube-profile";
    = "http://www.yourwebsitehere.com/sample-template.html";
    = "50";
    include("/rss2html.php");
    ?>

  3. Paste the script above anywhere on your php enabled website
  4. Upload the files to the base (root) folder of your website.

If you’d like to learn more about what this script can do, including many customization options, check out the full documentation.

Learn more about social media marketing strategies or contact Bartlett Interactive with any questions!

Related Topics

About the author

Harry started Bartlett Interactive in 1998 and focuses on integrating best practices in branding, user experience design, Internet marketing and technology to increase the value of an online presence.
Read full bio »

Free Audit

Want to boost your website's performance? Submit the form below for a detailed report that evaluates the design, marketing, and functionality of your website.