Dashboard > blojsom > ... > Available Plugins > Excerpt Plugin
  blojsom Log In   View a printable version of the current page.  
  Excerpt Plugin
Added by David Czarnecki, last edited by David Czarnecki on Oct 21, 2004  (view change)
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 global /WEB-INF/plugin.properties file, add the following line:

excerpt=org.blojsom.plugin.excerpt.ExcerptPlugin

You may then add "excerpt" 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=...,excerpt,...

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