Print This Page

Pagecount Widgets

I've been hacking at the code from one of the NaNoWriMo word count widgets to create a page count widget for Script Frenzy.  Feel free to use/modify the code, but do know that as with most opensource code there is neitheer an explicit nor implicit warranty, etc. 


Currently it's not much use unless you have a dedicated server with PHP, the GD image manipulation library, and mod_rewrite or the equivalent if you want it to display in forum or email signatures.  If anyone wants to host the widget that would be great; I would appreciate it if you contacted me via FrenzyMail (sibilatorix). 

As of this writing the code for the widget itself is nearly complete.  There are a few bugs to be fixed and a few features I would like to add, and the code needs to be cleaned up.  It also needs some editing if it is to work with mod_rewrite. 

I know someone who may be able and willing to host the script.  I think there will be more news on that next week. 

Features:
  • Displays username and title as defined on lines 35 and 36
  • Shows progress numerically and graphically
  • Color of progress bar indicates how far behind you are

This is what the widget looks like:


And here are the files: 
http://kg6gfq.awardspace.com/uploads/pagewidget.tar.gz


Features for future versions: Word wars, regional word wars...  basically everything the counters created by the NaNo techies could do.  And if I'm feeling artistic I might make it look a bit less utilitarian and a bit more aesthetically pleasing. 

Previous page: Programming/Development
Next page: Links