On 3/24/07, Gilles Scokart <[EMAIL PROTECTED]> wrote:
If I understand correctly, his idea is to generate static pages for the online doc. And he will do that by reusing the javascript code already used in the dynamic version.
Exactly. In a few more words, xooki currently works as an in browser page generator. This means that if you disable javascript in your browser you don't see anything relevant, and that you need xooki to be distributed with the doc. I was already thinking that we'd need a mean to do off browser generation so that we could serve purely static html pages with no javascript at all (or only basic one for the menu), so that we improve accessibility and web crawler compatibility. The distribution is one more argument in favor of this feature in xooki, so I decided to work on it. But to avoid rewriting a separate generation framework, I thought it may be a good idea to reuse the existing javascript and adapt it to be able to generate the same page but outside the browser. That's why I need a command line javascript engine, and rhino is very well suited for this kind of use. And since sun java 6 jdk embed a rhino version, a sun java 6 jdk is enough to to this batch generation. - Xavier Gilles
2007/3/23, Maarten Coene <[EMAIL PROTECTED]>: > Xavier, > > could you explain to me why you need rhino or java 6? > It's probably me, but I don't understand what you are doing here... > > Maarten > > ----- Original Message ---- > From: Xavier Hanin <[EMAIL PROTECTED]> > To: [email protected] > Sent: Friday, March 23, 2007 6:49:14 PM > Subject: release preparation: doc generation > > Hi, > > As I've already said in another thread I've worked on wooki to make it > possible to generate the site in a batch instead of using in browser > generation. To avoid duplicating code I've only modified xooki.js to reuse > its logic and only make it more independent from the browser, so now it's > possible to run it from rhino (or java 6 sun jdk). Hence to use this > generation we'll need either rhino or java 6 sun jdk to make the release. > > Is it a problem? Is there a sun java 6 jdk available somewhere on > people.apache.org? > > - Xavier > > > > > > > ____________________________________________________________________________________ > The fish are biting. > Get more visitors on your site using Yahoo! Search Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > -- Gilles SCOKART
