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

Description

The Textile plugin is an implementation of the amazing Textile Humane Web Text Generator. You can see the original at the Textism Textile site.

Installation and Setup

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

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

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

Usage

The following are various ways in which you can tell the Textile plugin that it should process the content of a given blog entry using the Textile engine.

Processing Textile entries by file extension

The textile plugin uses .textile in the post slug to identify blog entries that should be passed through the plugin for processing, so be sure your entries end with this extension if you want this plugin to work correctly.

Processing Textile entries based on blog entry meta-data

The textile plugin can also be run on entries by using the Meta plugin before the textile plugin in one of the flavor-based plugin chains. The metadata key for the textile plugin would be specified as

meta-run-textile=y

on a separate line in your blog entry text.

Processing Textile entries blog properties configuration option

The following properties can be set from Weblog Settings | Properties | Set Property

Property Description Default Value
plugin-textile-process-all-entries Specifies whether or not to process all entries through Textile false

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