Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 39096 invoked from network); 16 Jan 2006 11:38:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jan 2006 11:38:26 -0000 Received: (qmail 2127 invoked by uid 500); 16 Jan 2006 11:38:17 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 2077 invoked by uid 500); 16 Jan 2006 11:38:17 -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 List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 2061 invoked by uid 99); 16 Jan 2006 11:38:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 03:38:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.77.211.84] (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 03:38:16 -0800 Received: from fo2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.13.1/8.13.1) with ESMTP id k0GBbtg6022398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 16 Jan 2006 05:37:55 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by fo2.kc.aoindustries.com (8.13.1/8.13.1/Submit) id k0GBbtT1022321 for dev@forrest.apache.org; Mon, 16 Jan 2006 05:37:55 -0600 X-Authentication-Warning: fo2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Mon, 16 Jan 2006 22:37:50 +1100 From: David Crossley To: dev@forrest.apache.org Subject: Re: xml output plugin and filename extension .xml Message-ID: <20060116113750.GA27221@igg.indexgeo.com.au> References: <20060116094122.GA22375@igg.indexgeo.com.au> <43CB7BC8.1020202@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CB7BC8.1020202@apache.org> User-Agent: Mutt/1.4i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross Gardler wrote: > David Crossley wrote: > >I have a partially working output plugin to generate a > >plain xml document type solely to be consumed by Anakia. [1] > >They can it "xdoc". > > > >However, i have an issue at the moment. Can you help? > > > >I want the output to be .xml filename extension, but of > >course Forrest uses that for its internal format. I suppose > >that later Forrest will use .xhtml2 but not now or maybe > >not even use a filename extension.. > > > >So i am using .xdoc > > > >localhost:8888/index.xdoc works now. > > > >Is there a way to reclaim the xml filename extension? > > How about we change the internal format extension to ".forrest" Okay. > I see no reason why it should be ".xml", in fact having it as ".xml" has > forced us to use ".source.xml" for the original source. Which is counter > intuitive. Would that be any different. > This would mean that your plugin can then use the xml extension to > output anakia format docs. I can see plugins ending up with clashes on > this URL - we can resolve those when the occur using the lcoationmap. Okay. > There is a backward compatability issue here though. If people are using > the *.xml urls for some reason (like one of my sites does) they will > need to rewrite client applications that retrieve those URLs. We could > provide an internal plugin that keeps backward compatability and > deprecate it (schedule for removal in the 1.0 release). Do you have some clues about doing that? > Fortunately the *.xml generation is turned off in the default > fresh-site, and I doubt many projects turn it back on. But we would > still need to vote on it. Sounds big. I don't have the energy for it at the moment. So i think that i will go with the .xdoc extension for this first version of the plugin. If someone else can manage to coordinate Ross' suggestion, then please do. -David