I keep getting emails from the old Xfire Plus site about this.
Xfire-PHP was an old library I made which was basically a wrapper for the XML feeds Xfire had, it would then parse them for you and put them into an array. I haven’t touched it in maybe 2 years, but I tested it today and it still works fine – and includes a caching feature. So hopefully this blog will show up if you Google “Xfire-PHP”, so you can get it here since the old Xfire Plus site is no longer maintained. It died a long time ago.
If you still want Xfire-PHP, download it here. This link should never go down since it’s on my public DropBox account.
For an interesting little experiment, I decided to make a little web page that counts down the release to Steam games. What makes it that bit more interesting is that it also gives you the option to launch the game as soon as it’s released.
The principle behind it is pretty simple. It gets the countdown from the Steam store page and uses it to calculate the release time, this is then stored in a database so it doesn’t have to scrape the Steam store page again. Then the countdown is calculated client side with Javascript and the page doesn’t need to be refreshed and doesn’t use any AJAX so it’s not constantly sending traffic to my server.
The only disadvantage with the current version of this is that it only uses release dates and app IDs that are accessible from the server’s territory. My server is located in Jacksonville, Florida so it will use the US storefront’s content.
If you want to give this a try you can see the countdown for Borderlands or Left 4 Dead 2. Want to see another game’s countodown? Append ?game=<appid> to the end of the URL.