YAPMU*
*Yet Another Progress Meter Update.
I thought these looked nicer. :D This weekend, I am going to try to write a parser for the word count api that NaNoWriMo provides so that the progress bars automatically update from the profile page on their website.
I hope these look ok. Seppo said he will make mini participant icons so we can throw them up at the top of the page.
7 Comments:
Uh, I'm working on it...
Yay!! Now they are auto-updating!!!!
Hmm, I've cached the update so we don't slam the wordcount server too much, but I think I need to cache the resultant tables so that it's faster. Will do later.
Ok, now it caches the html code snippet generated from the user wordcount data, instead of caching the user wordcount data, so we don't have to calculate it each time.
Kick ass. I was trying to resize the participant icons last night when my mouse absolutely freaked out. Turned out it just needed new batteries, but there was no indication of that, since the LED was still on on the mouse itself. Maybe tonight, if I can knock down a couple thousand words in a hurry.
Yay! I've been meaning to do this for my operationactive blog. Though my goals are a bit more unstructured, so figured I'd have an xml file somewhere with goal names, targets, and progress that would get parsed.
I was initally caching the xml file, but the parsing time itself was slightly noticeable on my weak server, so I am now caching the html.
But I definitely think it's a better idea to cache the xml in general. I'd never write code for production that interspersed data with content formatting, I swear! :)
Post a Comment
<< Home