<[EMAIL PROTECTED]> writes:

> Hi folks,
>
> I wonder if anyone is actually reading stuff posted on the doxia
> developer mailing list. I posted 3 mail there about 2 weeks ago and have
> not yet received any response :-(
>
> http://www.nabble.com/Doxia-f14482.html
>
> Could someone skilled in doxia have a look or should I repost here?
>

Hello Minto,
I have already written a custom module for doxia and maybe my
experience could help you. You can find some information at
http://jira.codehaus.org/browse/DOXIA-74 and some more at
http://www.oqube.com/projects/muse-java. 

In principles, you could provide a separate module as an extension
that would be dynamically linked to doxia modules manager at runtime,
but this does not work (lack of support in maven ?).

As for the architecture of the module, I believe that if you want to take
profit of doxia and of automatic decoration of the pages generated,
you need to use Sink API. The parser I wrote for the emacs-muse
format already has the concept of sink builtin (I cheated on that
because I knew in advance that I would use doxia :-)) so I simply
wrapped a doxia sink in a muse sink. I do not know how asciidoc is
built but may be you could use another trick: 
 - calle jython to parse your source file into a bytearraystream
 - retrieve the byte array and write it as raw data into the sink
 (using Sink#rawText())

If you want to discuss this some more, feel free to email me. 

HTH
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to