Skip to main content
3 of 19
added 446 characters in body
Isaac
  • 665
  • 1
  • 5
  • 16

se-flair: HTML Combined StackExchange-Site Flair

##Screenshots

Screenshots of some samples:

my flair Jeff Atwood John Skeet

Tooltip with total reputation:

total rep tooltip

Tooltip with specific-site reputation:

single-site rep tooltip

##About

se-flair produces combined-account flair in the form of a short HTML document suitable for iframe-embedding that fits with the look of the standard flair on StackExchange sites. Using HTML allows for links to multiple specific-site profiles and tooltips showing total rep and specific-site rep. Totals are calculated across all linked accounts (as opposed to the standard combined StackExchange flair, which only uses sites where the user has at least 200 rep).

Display name and gravatar are taken from the highest-rep associated account. The specific sites shown and linked are in descending-rep order. The number of sites shown and linked can be chosen from 1-8 (with a default of 7, since the 8th just barely doesn't fit).

Data is cached for up to 8 hours.

###se-flair.appspot.com

See http://se-flair.appspot.com/ for instructions. Short version:

http://se-flair.appspot.com/{association-id}/

Note that your association-id is a 36-character-long string (32 hex digits and 4 hyphens).

###Compatibility

Embedding by iframe as suggested on se-flair.appspot.com works in current versions of Chrome, Firefox, Safari, and IE. In at least some versions of IE, the favicons for the sites do not render well and the bounds for the suggested iframe are not quite right.

###Updates

2011-02-26: The "internal server error" issue seems to have been a problem with loading badge counts. Now, in instances where there is a problem loading badge counts for a user on a particular site, it is counted as zero badges from that site to allow loading to complete. Retrieval of the badge count is retried on the next load.

##Contact

Comment here or email ilg at the domain in the website in my profile.

##Code

Written in Python (directly fetching API URLs), running on Google App Engine.

Isaac
  • 665
  • 1
  • 5
  • 16