Dashboard > blojsom 3.0 > ... > Plugins > Excerpt Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Excerpt Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 09, 2007
Labels: 
(None)

Description

The Excerpt plugin looks for a <div class="excerpt"></div> in your blog entry and replaces the description with a link to the excerpt and a link to view the full text of the entry.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="excerpt" class="org.blojsom.plugin.excerpt.ExcerptPlugin" init-method="init" destroy-method="destroy"/>

You may then add "excerpt" to one of the flavor-based plugin chains.

Usage and URL Parameters

Usage

In your blog entries, simply include the excerpt text within the following block.

<div class="excerpt">
This is the text that will be used for the excerpt of this blog entry.
</div>

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators