Year based stats
I wanted to see some stats based on the past year, so I recently built a script up for my blog:
Stats for 2008
I've included the CFM as an attachment to this blog entry. Note - I simply copied stats.cfm from my blog, and my blog is rather old (5.8 ort so).
p.s. I should add - the code is dynamic of course. It will use the current year. I should maybe set it up so that you can pass in a year as a URL variable so you can do some comparisons.
I'm a bit confused, though, because visiting your stats page (http://www.blogcfc.com/stats.cfm) says you've had only 199 entries, while this year-end version shows 601. Am I misunderstanding something?
And to be anal, the stats are for the _current_ year, not the past year. And yep - all I did was modify stats.cfm, hence my warning that my stats.cfm ("my" as in coldfusionjedi.com) is not as current as the stats.cfm you get in the current build of blogcfc.
http://trajiklyhip.com/blog/statsByYear.cfm?statsY...