Michaelbox's site feed

Tag: twitter

Do You Think You Know Emma Taylor?

by on Jun.10, 2010, under Creativity, Web Design-Development

Emma TaylorI will be the first to admit here, that think­ing of unique and cre­ative ques­tions every cou­ple weeks can be a bit dif­fi­cult. How­ever, some­times they just flow out of me. It’s even eas­ier when I can play off char­ac­ter­is­tics of the inter­vie­wee. I do what I can to frame my ques­tions in ways that show that I’ve done my research and show that I had each inter­vie­wee specif­i­cally in mind for that ques­tion. I am proud to say that I was able to do that a num­ber of times with Emtay­lor (Twit­ter). Shall we get started and get to know Emma a bit better?

(con­tinue reading…)
3 Comments :, , , more...

Do you think you know Grace Smith?

by on Apr.27, 2010, under Creativity, Web Design-Development

I mean really know her? Grace Smith

I really can’t say how much you know her, how could I? The best I can really do besides rec­om­mend­ing that you go get to know her your­self at grace­smith (Twit­ter), would be to read the fol­low­ing ques­tions posed to her recently, so lets get to it.

Obvi­ously, you are a twit­ter­holic who absolutely refuses (con­tinue reading…)

5 Comments :, , , more...

Just a simple twitter/identica shortcode

by on Apr.22, 2010, under Freedom, Ideas, Passions

I real­ized that I will likely ref­er­ence many twit­ter peo­ple in posts and I think it is com­mon cour­tesy to link to their pro­file so that you can go check them out if you want. How­ever, I also want to be lazy and not have to type out their full twit­ter url all the time. Thus I decided that a short­code would be nice and efficient.

With the fol­low­ing code, <?php function twitter_shortcode( $atts, $content = null ) { return '<a href="http://twitter.com/' . $content . '" title="' . $content . '\'s Twitter Profile">' . $content . '</a>'; } add_shortcode('twitter', 'twitter_shortcode'); ?> I can wrap a user­name in [twit­ter] [/twitter] and have it out­put the full link, like this (Twitter)

Edit

I have since real­ized that this is per­fectly capa­ble of work­ing with identi.ca as well. For word­press users of Identi.ca, copy/paste the fol­low­ing code into your functions.php file. It will work the exact same way regard­ing wrap­ping the user ID <?php function identica_shortcode( $atts, $content = null ) { return '<a href="http://identi.ca/' . $content . '" title="' . $content . '\'s Identi.ca Profile">' . $content . '</a>'; } add_shortcode('identica', 'identica_shortcode'); ?>

Like so: (Identica)

2 Comments :, , , more...

My Latest Tweets

MDN is Developer Powered for Web docs, demos and more.