Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50971 invoked from network); 26 Oct 2004 19:12:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Oct 2004 19:12:39 -0000 Received: (qmail 61693 invoked by uid 500); 26 Oct 2004 19:12:35 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 61598 invoked by uid 500); 26 Oct 2004 19:12:34 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 61576 invoked by uid 99); 26 Oct 2004 19:12:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Oct 2004 12:12:33 -0700 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id i9QJCTKe029969 for ; Tue, 26 Oct 2004 13:12:29 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id i9QJCTvl029968; Tue, 26 Oct 2004 13:12:29 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 80.219.8.172 (SquirrelMail authenticated user agallardo); by agssa.net with HTTP; Tue, 26 Oct 2004 13:12:29 -0600 (CST) Message-ID: <33010.80.219.8.172.1098817949.squirrel@80.219.8.172> In-Reply-To: <5DBE1B70-277F-11D9-8DE4-000A95AF004E@apache.org> References: <5DBE1B70-277F-11D9-8DE4-000A95AF004E@apache.org> Date: Tue, 26 Oct 2004 13:12:29 -0600 (CST) Subject: Re: [RT] doco lite? From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bertrand Delacretaz dijo: > Recent discussions here, along with David's "ASF-wide documentation > staging and publishing" post to infrastructure@ made me think about > this, in a "there must be an easier way" mood. I'm not ready to discuss > this on infrastructure@ though, it feels safer here ATM ;-) > > The apparently realistic possibility of having a live instance of > Cocoon could make it much easier to handle our docs and website, and > unless I'm overlooking something important the concept described below > seems really simple to implement. So I cannot refrain from sharing this > idea, although I have no code to back it up yet... > > GOALS > G1. Generate our docs and website dynamically, directly from the SVN > repository accessed over http > G2. Give access to older versions of the docs using standard SVN > mechanisms (tags etc) > G3. Index the latest version of the docs, including structured fields > (keywords, target audience, components mentioned, etc), to implement > "prepared queries" (as links, simply) to improve our docs' > accessibility > > TOOLS / TECHNIQUES > T1. Get content from SVN, editing is considered a separate problem > > T2. Build an index with Lucene, triggered via SVN post-commit hooks, > uses a live Cocoon instance to generate an easy to index XML document > for Lucene. Include metadata fields as mentioned in G2 above, generated > from (enhanced as compared to now) document content > > T3. Generate pages using a live Cocoon instance, maybe Forrest. SVN > tags "pass through" the URLs to give access to older releases of the > docs. > > T4. Use queries like "find all documents which talk about sitemap > matchers" to build navigation pages semi-automatically. > > T5. Put mod_cache in front to minimize server load (HTTP POST can be > used to invalidate pages if quick updates are needed to check edits). Is very nice and seems to be easy reachable! I will add: T6. Build javadocs directly from the SVN too. Maybe using "qdox.jar" Best Regards, Antonio Gallardo /me wondering how Bertrand usually comes with so simple and powerfull solutions. ;-)