On Mar 27, 2007, at 11:32 AM, Zeljko Trogrlic wrote:
Sergiu Dumitriu <sergiu.dumitriu@...> writes:
On 3/27/07, Zeljko Trogrlic
<zeljko_t(a)post.htnet.hr>
wrote:
Hi,For our department Wiki, I really needed
automatic links for
acronymsbecause we have a whole bunch for them. So, after
couple of
days
playingwith code and regular expressions I managed to create Radeox
filter,
which converts acronyms to links.
When you finalize it, you can post it in the code zone on
xwiki.org
I think I'm done for now and I will post it ASAP. I'm not sure
where, though.
Maybe under extensions? It doesn't fit into any category.
Basically, it's a
simple Java class and a small configuration change.
I'd put it in the Plugin section. Can you package it as a JAR and
attach it there. Then user drop it in the WEB-INF/lib and make the
config change you'll describe on the plugin form.
The Radeox
team decided that it is perfect some time ago, although
there are
some bugs, filters that should have been written differently,
invalid markup
generated. Because of this, and the problems mentioned above
(finding the right
ordering in order to avoid processing already generated HTML, lack
of a wiki
abstract tree), we decided to move to WikiModel as soon as
possible. But this
"ASAP" is not going to happen soon enough, so any patch you can
provide before
XWiki
1.0 will be much appreciated.Sergiu--
http://purl.org/net/sergiu
OK, but where to put fix for Radeox? Do you keep the copy of their
source tree,
too?
Is that required for your code to work or is it just something nice
to have? If it's required for your code, then you could attach the
patch to the Plugin form and also attach a modified and patched
radeox JAR.
Of course it might be better to implement something like what I
suggested in my earlier email (I'm writing this offline now so you
may have answered to that email already...)
Thanks
-Vincent