« A Rebel Cavalryman. | Main | Credit where credit... »

Experimenting with a Roller Wiki plugin.

I spent some time today hooking the Radeox Wiki engine into Roller so that weblog entries may be authored using Wiki syntax. This was amazingly easy to do, but I've got a ways to go before it is really useful. For example, I'd like to be able to tell the plugin where my Wiki is and then have it treat all CamelCase words in my posts as links into that Wiki. Since my Wiki is JSPWiki-based, I guess I'd have to do more than just telling the plugin where my Wiki is located. I'd also have to tell it how to form Wiki page URLs.

As a JSPWiki user, I prefer the JSPWiki syntax. JSPWiki syntax appears to be much more powerful than the Radeox Wiki syntax, but I'm pretty new to Radeox so I could be wrong about this.

Comments:

Radeox already comes with a LinkTestFilter to handle [link]-style wiki references. It also has camelcased filters, but hey - you use the one you want.

Posted by Joseph Ottinger on May 27, 2003 at 09:32 AM EDT #

That sounds perfect. I can live with the syntax if the engine is easy to plugin, and Radeox certainly is easy to plugin.

Posted by Dave Johnson on May 27, 2003 at 10:33 AM EDT #

I (JSPWiki author) exchanged some email about this with the SnipSnap folks a while ago. It does not seem to be at all impossible to make a Radeox renderer from the JSPWiki TranslatorReader. In fact, it would probably be quite easy, but you would need to take some of the JSPWiki baggage with you, or provide some dummy implementations for some classes.

Posted by Janne Jalkanen on May 27, 2003 at 12:54 PM EDT #

A little baggage is fine, but I'd like to be able to host JSPWiki in different servlet contexts and even on different machines altogether. Sounds like an interesting project.

Posted by Dave Johnson on May 27, 2003 at 01:03 PM EDT #

Can you detail a bit what you mean when you say "different servlet contexts"? Do you mean multiple Wikis on the same WikiPages, or something else?

Posted by Janne Jalkanen on May 27, 2003 at 03:25 PM EDT #

Here's what I mean: I'd like to be able to have Roller on one server and JSPWiki on a separate and remote server. I'd like to be able to incorporate a Wiki renderer into Roller so that, whenever a CamelCase word appears in a weblog entry, a link is created to the corresponding JSPWiki page in the JSPWiki instance that is running on that separate server. If the page does not exist in the Wiki, then the link will lead the user to the " This page does not exist - why don't you go and create it?" page.

Posted by Dave Johnson on May 27, 2003 at 04:10 PM EDT #

Yeah, I think you could do it nicely by writing a XMLRPCPageProvider for JSPWiki, then using a JSPWiki renderer inside Roller.

Posted by Janne Jalkanen on May 27, 2003 at 06:38 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« A Rebel Cavalryman. | Main | Credit where credit... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Roller, some may be related to this entry.