More Info

Found routine to create short URLs

Yesterday, I was trying to play around with the function in the beta of Trillian to shorten URLs when I post an article to the Erie Gay News site. Whenever I post an article, I try to come up with a for the Erie Gay News account on Twitter so that folks know that we have new content.

I had been using a separate Twitter client before, but it was acting a tad wonky after I reloaded the OS on my PC, so I wondered if I could just use the Trillian interface and handle it that way,

Normally, I copy the article title, copy the URL and paste it into a portion of the client to generate the smaller URL and then put in some hash tags. Since Trillian wasn’t generating the smaller URL, I was sort of resigned to pasting the URL into a web site and generating it.

Then I found a function to generate the shortened URL, which I put onto the page I edit articles so that it is already generated for me to copy and paste. Problem solved! I am debating whether I want to include the short URL anywhere on the article page that displays publicly, as opposed to the administration page that basically only I ever see.

So, I should be able to just copy and paste a few things for the tweet and my only real work is trying to come up with hash tags. I am not sure if I have the best method for hash tags, but it does seem like we have gotten new followers or retweets soon after publishing with hash tags that I don’t think we might otherwise have gotten.

  • http://marketingtechblog.com Douglas Karr

    Thanks for the mention, Michael! Best of luck with the code and the site!

  • http://www.eriegaynews.com/mahlerblog Michael Mahler

    Thanks, Doug! Code is in place and working fine. Very helpful! I added the snippet to the include file at the bottom of the Erie Gay News site, and now all pages automatically have the shortened URL. Thanks!