Availability
The Blog Statistics plugin can be downloaded from the blojsom plugins download page
.
Description
Allows a blog owner to embed statistical information about their blog. It provides the author with the following, number of posts for month X, average number of posts per month, average words per post, total number of blog posts, most active time period (with user defined granularity), trackback and comment statistics.
Installation and Setup
Place the blog-statistics-plugin-1.0.jar in blojsom's /WEB-INF/lib directory.
In your global /WEB-INF/plugin.properties file, add the following line:
blog-statistics=com.richardspackmann.blojsom.plugin.statistics.BlogStatisticsPlugin
You may then add "blog-statistics" to one of the flavor-based plugin chains. These plugin chains can be found in the individual user's plugin.properties file. For example:
html.blojsom-plugin-chain=...,blog-statistics,...
The Blog Statistics plugin has its own configuration file, blogstatistics.properties, that is referenced in /WEB-INF/web.xml.
<init-param>
<param-name>plugin-blogstatistics</param-name>
<param-value>blogstatistics.properties</param-value>
</init-param>
The blogstatistics.properties file will be located in the respective /WEB-INF/(blog-id) directories and has a number of configurable parameters:
Usage and URL Parameters
The included "temp-blog-statistics.jsp" illustrates how to use the Blog Statistics plugin.