Use Doxia as CMS Rendering Engine?

View: New views
3 Messages — Rating Filter:   Alert me  

Use Doxia as CMS Rendering Engine?

by mstralka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'd like to use Doxia (specifically Confluence Module) as an HTML-rendering engine in my CMS but I didn't see any code examples showing how to use it from regular java code.  Could someone please show me, or point me to an example of how to use Doxia to convert a string of text into HTML using the Confluence module, for example?

Thank you

Re: Use Doxia as CMS Rendering Engine?

by mstralka :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nevermind - I found an example at the bottom of this page:
http://maven.apache.org/doxia/modules/index.html

mstralka wrote:
Hi,

I'd like to use Doxia (specifically Confluence Module) as an HTML-rendering engine in my CMS but I didn't see any code examples showing how to use it from regular java code.  Could someone please show me, or point me to an example of how to use Doxia to convert a string of text into HTML using the Confluence module, for example?

Thank you

Re: Use Doxia as CMS Rendering Engine?

by Jason van Zyl-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There a couple other things you might want to look at.

Inside XWiki, Vincent Massol has created a wrapper around Doxia and  
WikiModel. Vincent has also added a lot more events which would be  
useful in a CMS where Doxia is deficient. I would also like something  
that is fully capable of producing a book. The the Maven definitive  
guide we had to revert to docbook source because Doxia didn't have  
what we needed. So I know right now if you want something for a full-
powered CMS Doxia isn't there right now. WikiModel also uses JavaCC to  
create real parsers for many of the wiki markups which makes the  
system a little more robust. If you want something for a CMS I would  
look at XWiki's wrapper around Doxia and WikiModel.

On 27-Dec-08, at 2:24 PM, mstralka wrote:

>
> Nevermind - I found an example at the bottom of this page:
> http://maven.apache.org/doxia/modules/index.html
>
>
> mstralka wrote:
>>
>> Hi,
>>
>> I'd like to use Doxia (specifically Confluence Module) as an
>> HTML-rendering engine in my CMS but I didn't see any code examples  
>> showing
>> how to use it from regular java code.  Could someone please show  
>> me, or
>> point me to an example of how to use Doxia to convert a string of  
>> text
>> into HTML using the Confluence module, for example?
>>
>> Thank you
>>
>
> --
> View this message in context: http://www.nabble.com/Use-Doxia-as-CMS-Rendering-Engine--tp21186122p21186865.html
> Sent from the Doxia - Users mailing list archive at Nabble.com.
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

   -- Jacques Ellul, The Technological Society