The custom Velocity template in the Blog category portlet uses the JCR (Java Content Repository, JSR 283) programming model. The SiteVision API is available here
Elements available in the Velocity Context
portlet javax.jcr.Node
This portlet. See properties below
sitevisionUtils senselogic.sitevision.api.Utils Opens in new window.
The main entry point to all utility classes
jcrSession javax.jcr.Session
The JCR Session
request javax.portlet.PortletRequest
The portlet request
Additional properties available for the portlet element ($portlet)
categoryFont javax.jcr.PropertyType.WEAKREFERENCE
A Node that has property selectorText (java.lang.String) - the css class name of the font
.
categories javax.jcr.PropertyType.WEAKREFERENCE
A Node where all categories are available as sub nodes (see documentation of category properties below).
Additional properties available for the categories element
showAllText javax.jcr.PropertyType.STRING
A 'Show all categories' text.
showAllUrl javax.jcr.PropertyType.STRING
An URL that instructs a blog portlet to show all blog entries.
Additional properties available for each category
count javax.jcr.PropertyType.LONG
The number of blog entries where this category is selected.
name javax.jcr.PropertyType.STRING
The name of the category.
url javax.jcr.PropertyType.STRING
An URL that instructs a blog portlet to show blog entries with this category.