Aside from cleaning up a bit of the internals to my filemanager; I’ve extended it just a bit more. Observe, for example, Bliss:
Download: Bliss-1.6.1.pkg.sit [379.6k] · GPG SIG MD5: 800c6be363db1238057637318221d54a Version: 1.6.1 · Uploaded on 25.10.03/4:12pm. Stats: 150 downloads, last: 23.04.04/2:01am.Now the filemanager records the number of downloads, and the time of the last download.
Sure, it was trivial to add, but I think it makes it look a bit more professional.
The way it works is quite simple. When you click a download link to my files, it is transparently sent through my file manager, which then executes an SQL query to update the tally of downloads, as well as the current time. No other things, such as IP address, is saved, as I don’t believe in any real form of user tracking (aside from a valid email address to signup for my forums), and those metrics are quite useless to me.
What happens, is I have specific keywords translated through the magic of Apache’s mod_rewrite, which forwards information about your download query to my filemanager, which then checks the validity of the file, compares it to my stored information, then sends you the file, after updating the download and time numerics. Pretty neat, huh?
Of course, I’ve also added the ability to store information on when I uploaded the file, so you may now how ‘fresh’ it is, if you are so inclined. A few of my older software ports have similar timestamps due to the fact that I moved servers last year, and I used the localized numerics from this server. There is no ‘last download’ for software which is officially deprecated. It’s unnecessary.