In Twitter parlance, a “badge” is a compact status indicator you can insert into your own web site to display your latest tweets. For this blog, I took the HTML/JavaScript badge code offered by Twitter, added a modification from Jon Aquino, and tweaked the display.
I enhanced it so that if a tweet is a reply (beginning with a username, like “@allenhuffman Hi, Allen!”), the addressee is indicated more formally (“To allenhuffman: Hi, Allen!”).
Then I added some fancy JavaScript and DHTML to display the tweet with a sliding-open motion. There’s some neat math involved in making the animation look smooth.
Just a short while ago, I added more content parsing: Any username within the tweet is linked to the user’s Twitter page, URLs are linked, and any hashtag (a word starting with “#”, signifying a specific topic, like “#olympics”) is linked to a Twitter.com search for that tag.
The London Times sub-editorial staff removes the word “a” from a review by restaurant critic Giles Coren; Giles Coren writes a thousand words in response. Warning: Liberally peppered with obscenities.
I’ve added a sidebar item to the Idiozeitgeist home page that displays my latest Twitter update. You can click the text to go to my Twitter user page, where you’ll see my older entries as well.
For those of you unfamiliar with Twitter: It’s an easy-to-use micro-blog web site. You can post an entry (“tweet”) using your computer or a cell phone text message. Because many wireless text services limit their messages to 140 characters, that’s the maximum length of a tweet—an often frustrating limit, but it forces you to pare your message down to its concise essence.
You can also “follow” other Twitter users, either by having their tweets show up on your home page or by having their tweets texted directly to your cell phone. Me, I don’t have time for that—dear god, I sure do have the attention span for it, but that’s exactly why I don’t enable it.
Anyway, perhaps this will slightly compensate for the paucity of updatingness I’ve been inflicting on all six of you.
Update, 16 August: The text of the tweet is no longer a link to my Twitter user page. Instead, I’ve added a bullet-item link (St. Chris), plus links to other users I regularly read. Within the tweet text, however, I have added some fancy parsing to automatically link any @references to Twitter users, plus search links for #hashtag items.
Kels turned 10 on June 7, but I didn’t have a good recent picture, so I didn’t post an entry at the time. Well, that won’t do, so I dug through my latest photos and I’ve added a backdated item for Kels’s birthday.
Don’t read reviews (which are almost uniformly glowing, but reveal way too much), don’t watch trailers or commercials (ditto on the too much), don’t go to the movie web site (which has some neato stuff)…not before you see it.