Tuesday, November 08, 2005

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:

At 12:57 PM, November 09, 2005, ei-nyung said...

Uh, I'm working on it...

 
At 4:37 PM, November 09, 2005, ei-nyung said...

Yay!! Now they are auto-updating!!!!

 
At 4:39 PM, November 09, 2005, ei-nyung said...

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.

 
At 5:08 PM, November 09, 2005, ei-nyung said...

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.

 
At 5:44 PM, November 09, 2005, Seppo said...

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.

 
At 2:45 PM, November 10, 2005, h said...

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.

 
At 3:01 PM, November 10, 2005, ei-nyung said...

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