I've considering a small project to publish a usenet newsgroup using Cocoon 2. I've used Cocoon for a couple of months, for publishing static xml source (DocBook) as PDF and HTML, but now I have to write some Java! ;-)
I think my options are either to write a NewsGroupGenerator in the Cocoon framework, or a URLStreamHandler (and URLStreamHandlerFactory) in the Java URL framework. With a URL-handler I could just use the standard FileGenerator like so: <map:match pattern="news/*"> <map:generate src="news:{1}" /> <map:transform src="news2xhtml"/> <map:serialize type="html"/> </map:match> I am intending to use the URL framework, but can anyone suggest why a Generator might be better? Conal --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>