Technorati RRD

Bort is in to graphs and stats these days, so he was interested in my little Technorati hack.

Lots of us bloggers are using Technorati to track who's joining the discussion on articles we posts. Technorati gives you details on how many blogs link to you, and how much they link to you and translate that into an Authority rank. Now what they don't give you is an idea on how that rank evolves.

Technorati also as an API which allows you to get that same information.
As I was explaining the concept of RRDTool to someone a couple of months ago I thought it was a good idea to track a Technorati rank and grab that with RRDTool.

So I wrote a small script that gets the bloginfo data for my blog from Technorati,
parses out the number of inboundblogs , writes that info to an RRD file and creates a graph from it

  1. wget -O $NOW.html "http://api.technorati.com/bloginfo?key=getyourown&url=www.krisbuytaert.be/blog/"
  2. VALUE=`cat $NOW.html | grep inboundblogs | head -n 1 | sed -e "s/<//g" | sed -e "s/inboundblogs//g" | sed -e "s/\///g" | sed -e "s/>//g" | sed -e "s/ //g" `
  3. rrdtool update technorati.rrd $UNIXNOW:$VALUE
  4. rrdtool graph ../public_html/images/technorati.png --start 1218548820 --vertical-label TechnoratiRank DEF
  5. :myrank=technorati.rrd:rank:AVERAGE LINE2:myrank#FF0000 -m 2

The result looks like

As you can see somewhere in week 37 Technorati was pretty much not working. And 180 days before week 42 my blog got a lot of fresh , but non recurring inbound links.

Now I have a couple of more ideas to build on this.. just no time.. but if you are interested lemme know ..

Anyhow it's all lies, damn lies and statistics ;)