As you may be aware I enjoy looking at the stats that GamerDNA captures for XFire usage, it is a simple yet effective method of showing how much time was spent and what percentage was spent on each game. I’m truely suprised that XFire doesn’t capture such data already.
At the start of January I reviewed my XFire data for the month of December, I wanted to see how frequently I played certain games. I pumped the data into the handy Google Chart API which then displays an image based on the information provided.
When February came around I wanted to do a similar task but rather than having to trawl through the data and craft the url to generate the Chart I decided to automate the process. So in a frenzied weekend of wracking my brain into remembering PHP, I created a page that automatically reads the RSS feed of my gamerDNA experiences and uses the XFire data held within to generate the URL for the Google Chart.
After a few hours cursing at stupid errors I finally created a fully working tool that achieved the result I was aimming for. Once this had been tested a few dozen times it suddenly occurred to me that It would be easy enough to allow other GamerDNA members with XFire experiences to generate their own charts.
It’s not all that pretty but providing the username entered has XFire experiences on GamerDNA in the last 30 days it will “hopefully” generate a nice little chart. I’m hoping to enhance the functionality to include the ammount of time played as well, but that can wait for now, small steps to start.