My blog (http://blog.burneau.com) has been built on the BlogEngine opensource platform (http://www.dotnetblogengine.net/). A wonderful, reliable platform. I created an extension and adapted another one.
Downloadable source files here.
Based on a part of CommentorBlacklist source code, CountVisitors has the following goals :
CountVisitors is based on an extension. Counting is threaded (in order not to slow down posts displaying) and mutex-protected (because the data file visitors.xml is a critical resource). All the visitor's ip are kept. The day data is cleared every day ; month data and total data are kept for later analysis, but could easily be purged (replacing false by true in lines 324-325 of the extension).
The widget only accesses the data file in read mode and displays informations.
Downloadable source files here.
The original extension needed to store audio files in /audio. However, my blog customer did not have access to this directory. I modified the extension in order to :
And I modified the Add_entry.aspx form to allow the user to download mp3 files in /app_data/files/audio