Description
This plugin allows you to pull entries from the configured blogs that have opted-in for aggregation. The list of entries is sorted in reverse chronological order (most-recent entry first).
Installation and Setup
In your global /WEB-INF/plugin.properties file, add the following line:
internal-aggregator=org.blojsom.plugin.aggregator.InternalAggregatorPlugin
You may then add "internal-aggregator" 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=...,internal-aggregator
Usage and URL Parameters
Usage
The plugin will pull the 3 most recent entries from the blogs that have opted-in for aggregator. Blogs can opt-out of aggregator by including the following in their blog.properties file.
blojsom-plugin-internal-aggegator-opt-out=true
This property can be configured through the weblog settings in the administration console.
Context Attributes and Types
The following table describes the context attributes that are available and their associated type.
| Context key |
Input or Output |
Type |
Description |
| BLOJSOM_PLUGIN_INTERNAL_AGGREGATOR_ENTRIES |
Output |
Array of org.blojsom.blog.BlogEntry objects: BlogEntry[] |
The blog entry objects have the following meta-data populated for each entry.
BLOJSOM_PLUGIN_INTERNAL_AGGREGATOR_BLOG_NAME, the name of the blog associated with the entry.
BLOJSOM_PLUGIN_INTERNAL_AGGREGATOR_BLOG_URL the URL of the blog associated with the entry. |