Skip directly to content

api

YouTube CFC Temp File Fix

on Tue, 08/23/2011 - 19:01

As detailed in my last post, we've been using YouTube CFC to communicate metadata changes between our admin and YouTube.  This morning, I discovered that the stock code was creating temp XML files to send to YouTube, then deleting them right away.  (Clearly, I hadn't looked at the underlying code very hard before now.)  

This caused a problem for us because of the way our FTP mirroring works between our development and production servers.  Essentially, the FTP software was getting confused by all the little vanishing XML files, so it was locking up and refusing to transfer any files at all.

YouTube Video Workflow Using the API

on Fri, 08/19/2011 - 16:31

This week has been completely consumed with getting video from the Iowa State Fair processed and up on our website.  On an average week, we process 2 or 3 videos.  This week, it's been 12-15 videos a day. We normally host our online video on an external CDN, serving it up on our site via a custom implementation of JW Player.  For Fair, we publish the videos to YouTube, to maximize the exposure they can get that way (we also process the stills and upload them to Flickr with links back to the video).  Unfortunately, publishing videos to YouTube adds a couple of steps to our process, which is

Easy Google Maps Mashup

on Mon, 07/25/2011 - 11:26

I had a request yesterday to mashup several of our Google Maps into one map, so that we could have a comprehensive view of things we do across the state.  This seemed like it should be ridiculously simple, but Googling didn't really turn up anything.  After a few more variants on the search, I came across this code snippet, which I adapted into the following:

Example Google Maps mashup (demo with source code)

This version uses jQuery to automatically generate the toggle buttons, but it should work just fine without them.