Render shadow on transparent background with Blender Render
On the shadow catcher object, add a material and enable Shadows only in Material > Shadow:



This will make it so that only the shadows cast on the object are shown, the rest of the surface will be invisible, showing the sky behind it.

If you set the alpha to Transparent in Render settings > Shading, the sky will be rendered as image transparency.