Widget, Wordpress and...

Sort:
Mizranumides

I found the badge of Chess.com and I thought I was a bit lucky because there's no "clear and easy" way to reach them. There's a "Spread the word" on the bottom of the page but IMHO put them in the "RESOURCES" menu on top would be better ;)

Anyway I put the badge on my personal blog (Wordpress based) and it looks fine. I was a bit disappointed in finding that the rating was in plain text so I have to adjust it by hand after every match :(

I've tried to ask for support (Ticket ID: 80081) but the answer was:

"At this time this is not the case, but we will consider making the changes you suggest in the future."

Polite but not very interesting ;) So I do what every healthy chess player will do... I hacked the badge for fun and profit :)

The result is now live and kicking on my blog, a simple widget that retrieve my updated rating and put it in the badge. I don't know if the guys of Chess.com will like my hack... I hope so, after all I'm spreading the word!

Is there anybody who have to do a similar work?

erik

very cool! how did you make this work? :)

GotGoose

I am curious as well.  Is it a PHP script?

Mizranumides

It's a Wordpress Plugin Widget.

Basically a PHP script that fetch my profile page, parse the HTML, extract my rating and build a badge with the adjusted rating.