From dev-return-13695-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Wed Nov 10 10:06:32 2004 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 20391 invoked from network); 10 Nov 2004 10:06:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Nov 2004 10:06:32 -0000 Received: (qmail 45771 invoked by uid 500); 10 Nov 2004 10:06:30 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 45691 invoked by uid 500); 10 Nov 2004 10:06:30 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 45669 invoked by uid 99); 10 Nov 2004 10:06:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of cjxaf-forrest-dev-1@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 02:06:29 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CRpMw-0007HU-00 for ; Wed, 10 Nov 2004 11:06:26 +0100 Received: from 62.156.150.201 ([62.156.150.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Nov 2004 11:06:26 +0100 Received: from nicolaken by 62.156.150.201 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Nov 2004 11:06:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@forrest.apache.org From: Nicola Ken Barozzi Subject: Re: [RT] plugin infrastructure Date: Tue, 09 Nov 2004 19:32:15 +0100 Lines: 38 Message-ID: References: <4188E497.4080803@apache.org> <418BB394.3090909@apache.org> <418F92EC.2050205@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 62.156.150.201 User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en In-Reply-To: Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dave Brondsema wrote: > On Mon, 8 Nov 2004, Ross Gardler wrote: > >>Nicola Ken Barozzi wrote: ... >>> Proposal: >>> >>> MyClass.java >>> -> MyClass-javadocs.html javadocs >>> -> MyClass-uml.html UML graph >>> -> MyClass-source.html highlighted source code >>> -> MyClass-checkstyle.html checkstyle result >> >>I already came across this very issue in the s5 (slides) plugin and the >>(soon to be announced) WYSIWYG editor plugin. >> >>My current solution has been to encode it in the URL, i.e. >>slides/index.html gives the slides, index.html gives the default HTML >>output. The problem with this solution, is that it causes some >>complications with relative linking from one type of document to the >>other (i.e. slides to normal HTML) and it reserves some patterns in the >>URL space. > > I would suggests MyClass.javadocs.html, MyClass.source.html, etc. This > would be in alignment with the filename format used in content negotiation > by Apache HTTPD. We've discussed this already in terms of i18n. > > http://httpd.apache.org/docs-2.0/content-negotiation.html Excellent, I like it! :-) +1 -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------