indicating category in blog post autotweet

I’ve been using the Twitter Tools plugin to automatically post tweets whenever I publish a post here. Scott mentioned that with my recent consolidation, there are a fair number of tweets coming through the blog, and it’d be handy to have some indicator if it’s a tweet about a blog post (which he might bother to read) or a bit of ephemeral media (which he likely wouldn’t).

Nessmantweet

I couldn’t see a way to do that within Twitter Tools directly, so I wrote a VERY simple (and horribly ugly hackish) plugin to add that functionality. If it works (and I’m not anywhere near 100% confident that it will), then this post should show up on Twitter with a ” (blog)” appended to the tweet. Ephemeral media posts have ” (media)” appended. The ephemeral-appending-bit worked, but I’m not sure if it’s doing that for all posts, or behaving as intended. Only one way to find out…

Update: Well, whaddayaknow? It worked. Actual PHP code that executes without barfing out errors, and does what I intended. The wonders never cease…

Blogtweet

2 thoughts on “indicating category in blog post autotweet”

  1. Personally, I think that horribly ugly hackish code is the best kind – has more geek-cred. Maybe next time you could write the plugin in perl code so obscure that even you can’t support your own work.

Comments are closed.


The spammers win. I've disabled comments. Again. It's just not worth having to deworm my site from the inane autospam jabber that trickles through the spam filters. Sorry. I can be contacted via the Contact form here on the site, or out on the internets (I'm @dlnorman on twittar).

BUT I WANT TO POST A COMMENT HERE. WITNESS THE OPPRESSION INHERENT IN THE SYSTEM.

If you need to post a response, trackbacks are enabled and will be displayed normally.

The Trackback URL for this post is:
http://darcynorman.net/2011/09/06/indicating-category-in-blog-post-autotweet/trackback/