Twitter badge with location
In my job as an elf for Santa, I frequently have to travel back to the North Pole to visit with my fellow elves, so it’s not always easy to tell where I might be. Given that fact, and my desire to procrastinate a bit, I decided to make a handy badge for my blog that tells people where I am. Most twitter clients allow you to throw some location information in your posts, so it’s relatively easy to make it relatively easy for someone to stalk you.
Now that you’ve got that put on your server, you just need to put some code in your blog template (wherever your other badge stuff is) to get your fabulous information to show up. The code for the HTML looks yucky in my post, but you can view source and grab the stuff marked as “TWITTER”.
#twitter_div { border-bottom-style: solid; border-bottom-width: 1px; margin-bottom: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 0.9em; padding-right: 5px; padding-left: 5px; text-decoration: none; } #twitter_location { margin-left: 25px; text-decoration: none; margin-bottom: 10px; } #twitter_div ul li { text-decoration: none; border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 5px; margin-bottom: 5px; } #twitter_div p { text-align: right; padding-right: 6px; margin-bottom: 10px; }
GEEK STUFF
location twitter