You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Kevin Françoisse <kf...@gmail.com> on 2010/07/08 11:28:03 UTC

Default plugin for a new page

Hi everyone,

I'm new to JSPWiki and I'm developping a plugin to use JSPWiki as a UI to
display ontologies.  Currently, I have to manually write the syntax markup
"{[MyPlugIn"  and "}]" at the begining and at the end of every page to allow
the plugin to be applied to that page.  What I want to do is to write those
two lines of text into every new page that are created from the Wiki, in
order for my plugin to be launched whenever a new page is created.

Thanks a lot for your help.

Kevin

Re: Default plugin for a new page

Posted by Florian Holeczek <fl...@holeczek.de>.
Hi Kevin,

I guess you didn't get an answer yet because of the nice wheather and
the world cup ;-) So, this is not my special subject, but I try to give
some hints.

JSPWiki supports usage of page templates. See e.g. [1] on that topic.
However, if really _every_ page in your wiki should process your plugin
code, you may want to think whether a plugin is really the best solution
for your problem.
@Dirk: You may want to correct or complete that.
Regarding semantic wikis with JSPWiki, there has already been done some
work, see [2].

Best regards
 Florian

[1] http://markmail.org/thread/tdejc26heivc6sfd
[2]
http://www.jspwiki.org/wiki/JSPWikiApplications#section-JSPWikiApplications-SemanticWikiAsKnowledgeEngineeringToolKnowWE.ASemanticWikiPluginForJSPWiki


Am 08.07.2010 11:28, schrieb Kevin Françoisse:
> Hi everyone,
> 
> I'm new to JSPWiki and I'm developping a plugin to use JSPWiki as a UI to
> display ontologies.  Currently, I have to manually write the syntax markup
> "{[MyPlugIn"  and "}]" at the begining and at the end of every page to allow
> the plugin to be applied to that page.  What I want to do is to write those
> two lines of text into every new page that are created from the Wiki, in
> order for my plugin to be launched whenever a new page is created.
> 
> Thanks a lot for your help.
> 
> Kevin
>