Friday, November 6, 2009

Twitter Integration

Here’s a small Twitter integration showcase. The idea behind it is that it’s much easier to leave a simple note or observation through one of the numerous Twitter applications available than to make a blog post. And I tend to leave such simple notes during vacations, when we’re away from any computers, through iPhone.

Single PostI used a slightly modified1 version of Alex King’s Twitter Tools. Now this plug-in is actually a bit of an overkill for what I needed it to do, but nobody is forced to use more than needed. I also put together an ugly hack to force this thing to import tweets from both myself and Alena. It runs every 10 minutes and imports all the new stuff it finds.

Multiple PostsI’ve modified Rubinary template and devised a new way to display this type of posts. One special thing about it is that it groups consecutive tweets into a single post. The time “sticker” on my posts shows up in blue and on Alena’s in green — as all other things on the blog.

Tweet ReplyIf you mouse-over over a “sticker” you will see a reply option. By clicking it, you indeed, can reply. But there is a catch — you need to have a Twitter account to do so.

That’s pretty much it. For those who care — I personally use a free version of Twitterrific on the iPhone. And of course no post of this kind would be complete without a mandatory “I hate IE” conclusion.

  1. Modification allowed me to pull and import our older tweets. []

Leave a comment

O.o teeth mrgreen neutral -) roll twisted evil crycry cry oops razz mad lol cool -? shock eek sad smile grin

Tuesday, March 25, 2008

Pingbacks

Problematic and Good PingbacksArtem has made a post with a pingback to our blog today. When I saw it appear in the comments section looking all nice and clean I remembered that for some reason my pingbacks always come out completely screwed up.

I started digging the WP code to see how it grabs the excerpt. Turns out that you need to have some kind of important tag separating your actual post text with your header and comment sections, so it wouldn’t grab those. Also it turned out that DIV is not one of those important tags. P however is.

It took me a while to realize that, but I must say that I impressed myself. All should be well now.
In: Software   Tags: , ,
Time: 23:33   Comments: No Comments   Post a Comment  

Leave a comment

O.o teeth mrgreen neutral -) roll twisted evil crycry cry oops razz mad lol cool -? shock eek sad smile grin