recently became apparent that letters ‘T’ & ‘G’ R far 2 close tgthr on a keyboard. ths is y I’ll nevr end e-mail w/phrase “Regards” again (via @BrokerSaunders)
I felt this was a appropriate given Twitter’s issues today. Make me laugh every time. Downfall is a GREAT movie BTW.
From status.twitter.com:
We are currently investigating a problem causing many users’ timelines to be delayed. We will update with status here shortly.
How to Get Spaces out of Your “Tweet This” Status Links
So, I’ve had woes trying to figure out a way to “Tweet This” using straight HTML. Well, that’s simple, you just add “home?status=” to the end of the twitter link and it’ll put the code in your status input box.
But, if you put a bunch of spaces in there, you’ll get %20 and a host of other unescaped text. That’s not good. So… here’s what I could figure out on this.
You need to escape your href links for any run-of-the-mill <a tag> hrefs you use to point people back to their own status updates with (was that a run-on or what?).
Otherwise, you get lots of %20 signs for spaces in the status box. I tried countless things and finally got this to work.
Escaping Your “Link to Twitter” Href Links
Your HTML code will look like this:
<a href=”#” onClick=”location=’http://m.twitter.com/home?status=’ + escape(‘Point your browser here to learn how to Tweet This from any plain old HTML link: http://bit.ly/14vRN2” />Tweet This</a>
Remember that you should put your own code in the escaped text.
Yes, I know that Facebook and Twitter are two different beasts that have...
GPOYW : Armed with my blazer and my resume, I’m ready to kick ass at this afternoon’s job fair. (but crossed fingers are always welcome…)
The client calls around 9 PM on a Saturday evening. When I don’t answer, he calls back 8 more...
Google Chrome became my primary web browser ever...
A visit to the magazine rack at the book store stirs thoughts that are part amazement, part...
©2010. Postage by Greg Cooper. Icons by P.J. Onori. Thanks to Jamie Cassidy & Panic.
*Unlikely to find your lost post using this but you can try...
Comments