Description
The meta plugin works by looking for a specific prefix "meta-" at the beginning of lines in your blog entry. If it finds an "=" sign on that line, it will use the text between the "meta-" prefix and the "=" sign as the meta-data key and the text between the "=" sign and the end of the line as the meta-data value.
Installation and Setup
In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:
<bean id="meta" class="org.blojsom.plugin.meta.MetaPlugin" init-method="init" destroy-method="destroy"/>
You may then add "meta" to one of the flavor-based plugin chains.
Usage and URL Parameters
Usage
The following is a sample blog entry:
This is my entry title
meta-key=value
meta-key2=value2
This is the body of my blog entry
This will populate the meta-data for this blog entry with key/value pairs of "key/value" and "key2/value2", respectively.