This is a bit off the beaten track for me, but what the heck – if it helps just one person, I’ll be pleased.
I manage a Twitter account for NYU prof Mark Crispin Miller (@mcrispinmiller), which I have set up so that his WordPress RSS feed is pushed to Twitter via Twitterfeed. I noticed early on that quotes and apostrophes in the titles and descriptions weren’t being parsed correctly in Tweetdeck but I ignored it, thinking maybe it was a Tweetdeck issue.
Mark’s tweets looked like this:
I received a few complaints from one of Mark’s followers who thought the UTF-8 codes were hashtags, “Mark, one tag is enough…” (everyone is a Twitter “expert” these days, le sigh) … so instead of rebelling through inaction, I spent some time today looking for a solution and I’m happy to report I found one.
Two things you can try:
1) The easy way if it works – if you only care about single and double quotation marks, try the wpuntexturize plugin which prevents “WordPress from displaying single and double quotation marks as their curly alternatives”;
2) Or the more intensive solution, which I found worked the best, create a Yahoo Pipe and strip out the html using MyridoM’s instructions here.
One modification I made: I repeated the operator instructions for item.title in addition to item.description. After you’ve saved your Pipe, go to Twitterfeed and replace the WordPress RSS feed with your new Yahoo Pipe RSS feed. Problem solved.
So far so good, the tweets have displayed correctly.
By the way, on another WordPress tip, if you haven’t installed the Backtype Connect plugin yet, omg – it kicks serious ass! Basically it allows you to integrate tweets, comments and conversations from other sources like other blogs, Twitter, FriendFeed, Digg, Reddit. I’ve installed it on four blogs now and it works amazingly well. Remember, it requires PHP 5.