One of the render engines of wiki syntax in Liferay Portal, is the JSPwiki engine (with its creole
syntax). JSPWiki is also an opensource project and therefore i exists
a lot of community plugins for extending its wiki funcionality. Some
examples could be, plugins for inserting flash content or for
generating PDF’s. For using these JSPWiki
plugins in Liferay Portal 6, you have to:
- Modify
(wiki.formats.configuration.main[creole]=jspwiki-ext.properties)
property in the portal-ext.properties. Note that
jspwiki-ext.properties is loaded in the classpath. - Download the corresponding jar for the plugin and copy to ROOT/WEB-INF/lib
- Modify jspwiki-ext.properties (hint: start from an existing one)
- Reboot the portal
The probe of concept was to add the JSP flash plugin and the
wiki now can render the following instruction:
[{Flash src=’
http://bytescout.com/demo/swfscout_VideoSample.swf
‘ width=’800′ height=’600’}]
for visualizing flash content. The result is:
Links:
- Liferay – http://www.liferay.com
- JSPwiki – http://www.jspwiki.org/
- JSPwiki plugins – http://www.jspwiki.org/wiki/JSPWikiPlugins
To add a plugin modify the jspwiki.plugin.searchPath propertie
jspwiki.plugin.searchPath = org.myorganisation.jspwiki.myplugins,com.foobar.myplugins