Description
The Days Since Posted plugin adds meta-data to a blog entry to indicated how many days have passed since the entry was posted.
Installation and Setup
In your global /WEB-INF/plugin.properties file, add the following line:
days-since-posted=org.blojsom.plugin.statistics.DaysSincePostedPlugin
You may then add "days-since-posted" 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=meta, days-since-posted, ...
Usage and URL Parameters
There are no URL parameters to control the operation of the Days Since Posted plugin.
Usage
The plugin will add meta-data to the blog entry which can be retrieved in your template. The key to retrieve the word count meta-data is blojsom-plugin-days-since-posted.
Meta-Data Attributes and Types
The following table describes the meta-data attributes that are available and their associated type.
| Meta-data key |
Type |
Description |
| blojsom-plugin-days-since-posted |
java.lang.Integer |
Indication of how many days have passed since the entry was posted. |