As the update on my last post indicated, I sorted out the problems with Zach’s function. However, while the post went up without error and was posted to Twitter, it never made it to Identi.ca. I am trying one more tweak, with this post, then I am going to revert if that does not solve the problem.
Kind of obvious in retrospect, but with the ur1shorten function calling through curl to ur1.ca, the get_file_contents call is no longer needed. Give it the shortened URL is going to do something very weird, probably the reason the last post never made it to Identi.ca.