With Xbox Live, you can get yourself a snazzy little “gamercard” for your website/whatnot by inserting a little html. XFire has the same kindof thing with their “miniprofiles”, but i like the look of the live version better, so i did a little hackery.
|XBox Live version||My Xfire version|
Specifics after the jump! bonus points if you know what “famous person” HiroProtagonist is. :p
XBox Live Gamercard
XFire Standard Gamercard
Custom Avatar, custom link for avatar, silver style
See CXS Custom Xfire Sigs for the official source and README
username– xfire username
style– either “gold” (default) or “silver”. this goes with the gold/silver status of live members and changes the color of the top.
avatar– url to image to use as avatar. note that this is in a url, so special chars should be url encoded.
the code sets this image to 64×64, so smaller images are scaled up by the browser(like your xfire standard avatar, game icons) or large images scaled down to fit.
css– url to cascading style sheet to use. by default, uses microsoft’s standard gamercard css. again note urlencoding
link– url to where you want clicks on your avatar to go.
- Make the script output as an image. Many people have complained about live’s iframe gamercard,
and many online solutions exist to get image versions or flash versions to embed into websites, sigs.
This is probably pretty easy, as the background is an image in the css, all that is required is drawing the text parts.
Images remove most hyperlinking, so that’s a downside there. I think thats why the flash versions exist.
- Make more things clickable. right now clicking goes to your xfire profile, but externalizing the link would be trivial.
- get xfire to publish this stuff through xml or soap or something so we don’t have to parse html. thats
just wasting bandwidth for us AND for xfire.
- get xfire to use bigger images for games. the 16×16’s are getting scaled up and look goofy.
alternately, write a small script in php/etc that would smooth scale on the fly and cached the scaled versions
alternately, get bigger/custom images for all the games, and use those instead of xfire’s