Related Categories: ColdFusion, Other, 1ssBlog
And yes, it does use 1ssBlog.
Happy blogging!

Currently 1ssBlog have the following addons available:
More to come with next updaters.
"Smart Caching" is my try to make the caching process a little bit more inteligent and i've made it on the example of 1ssBlog. It allow the entries to be cached and de-cached automatically based on how often they are viewed.
How it work:
We set the period of time (1 day, 1 hour or 1 minute) and the number of unique views that should happen in that period of time in order the entry to get cached automatically.
So, if we set the period to 1 hour and the number of views to 30, then as soon as an entry will be viewd 30 times in a period of the specified length, the entry will get cached. But if after some time the entry will not get enough views in a period of specified length, the entry will de removed from the cache automaticaly.
Nice and easy, huh? But it make the caching process flexible.
I would like to hear of others think about it.
This updater fix some bugs and:
If anyone before had problems with 1ssBlog because it was shipping only with the script for MS SQL 2005, now it ships with the script for MS SQL 2000
It can be downloaded here
1ssBlog hit the 200 downloads frontiere. Hope it will not take TOO much for the 1,000 download to happen. 
This weekend when reading some WordPress blog i noticed that there was used some kind of entry popularity meter. Happens that there exist a special WordPress plugin for that.
And i thought "Wow! That's nice and i think many ColdFusion bloggers would like to have something similar.".
First i tried to find something similar in ColdFusion, but without any luck of course. Then i tried to find the description of the algorythm used, but again no luck.
So, my next thought was.. what a heck! why not just create something similar?
This said, after few minutes of thinking and a couple of other minutes writting the code (thanks to ColdFusion
), i am ready to present what i came to.
NOTE: This is just a prove of concept, so if anyone have ideas how to have it better, please share your thoughts.
Ok. First of all the idea.
As most popular, 100% popularity, is taken the entry with the biggest number of views. The popularity for all other entries is calculated in comparison with the most popular one. So, if the most popular entry have 100 views and other entry have 23 views, the last one will be considered to have 23% popularity.
Same is done based on comments number (100% popularity will have the entry with highest number of comments).
So... the result, for each entry, will look something like: 61% / 36% Popularity. Where 61% is the popularity based on the number of views and 36% is the popularity based on the number of comments.
And now the code based on 1ssBlog.
The following function will return a structure with 2 keys: one with the number of views for the most visited entry and other with the number of comments for the entry with most comments.
<cffunction name="getViewsComments" output="false" returntype="any">
<cfset var views_comments = StructNew()>
<cfset var getmaxviewscomments = "">
<!--- get the Max number of views and comments --->
<cfquery name="getMaxViewsComments" username="#application.dsnUsername#" password="#application.dsnPassword#" datasource="#application.dsn#">
Select Ma<img src="images/smiles/14.gif" border="0">views) as maxView, Ma<img src="images/smiles/14.gif" border="0">commentsNumb) as maxComments
From onessBlog_entries
Where is_active = 1
and posted <= GetDate()
</cfquery>
<cfset views_comments.views = Val(getMaxViewsComments.maxView)>
<cfset views_comments.comments = Val(getMaxViewsComments.maxComments)>
<cfreturn views_comments = "">
</cffunction>
And now the usage.
<!--- first csll the getViewsComments() function --->
<cfset viewscomments = application.funcObj.getViewsComments()>
<!--- and now show the result on the screen --->
#Round(100*Val(viewsNumb)/viewsComments.views)#% / #Round(100*Val(commentsNumb)/viewsComments.comments)#% Popularity
<!--- where viewsNumb is the number of views for the current entry and commentsNumb is the number of comments for the current entry --->
NOTE: The popularity meter will be included in the next 1ssBlog updater.
Please don't hesitate to comment.
Entries rating system added to the blog, so now anyone reading a post may rate it based on how good he thinks the post is.