Mon 8 Jan 2007
Woot! Got the wordpress widget installed with a few problems that I managed to fix.
Problem 1: Widget displays in miles, changed to KM
Problem 2: Somehow the DOCTYPE text is displayed before the white box. (See Screenshot). Fixed by downloading the nplus.xsl from the site, commented it out by hand, and change the script to grab the xsl from the filesystem.
Problem 3: Can’t really fix this one as I don’t have the time . When the plugin has got problems downloading the data from the nike plus website, we get a NaN (Not a Number) as the result. This can be solved by caching IMHO. I believe that caching the data for an hour or a day won’t stress out the data retrieval that the Nike servers sometimes faced.
Anyway, here’s a pat on the back to Chris Bert for writing such a cool utility. I can’t wait for the version 0.2