You can grab the script here. It runs in vim 6.1 on Windows 2000, but it is trivial to adapt it for unix-like operating systems. The only thing missing is automating the upload(which I could do, if geocities allowed me to use FTP instead of their current upload system).