Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 91574 invoked by uid 500); 18 Apr 2003 11:09:38 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 91564 invoked from network); 18 Apr 2003 11:09:37 -0000 Received: from grunt23.ihug.com.au (203.109.249.143) by daedalus.apache.org with SMTP; 18 Apr 2003 11:09:37 -0000 Received: from p407-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.141.153] by grunt23.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 196TkN-0003fQ-00; Fri, 18 Apr 2003 21:09:36 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 196TqF-0001Ss-00 for ; Fri, 18 Apr 2003 21:15:39 +1000 Date: Fri, 18 Apr 2003 21:15:39 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: link element with html suffix appended by Forrest Message-ID: <20030418111539.GB2260@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, Apr 17, 2003 at 07:22:26PM +0200, Luca Morandini wrote: > Luca Morandini wrote: > >Folks, > > > >a simple (I guess) question: why Forrest keep adding ".html" to the href > >of my link elements ? > > > >I mean: > > > > > title="Geoid download"> > > geoid-1.0.0.jar > > > > > >is translated as: > > > > > > geoid-1.0.0.jar > > > > > >which is not what I had in mind. > > > >Regards, > > > >--------------------------------------------- > > Luca Morandini > > GIS Consultant > > lmorandini@ieee.org > >http://utenti.tripod.it/lmorandini/index.html > >--------------------------------------------- > > > > > > > > > Luca, > > it seems that Forrest, in case of a missing link (as it was in your > case), automatically appends an ".html" suffix to the value of href, > hoping to mend that missing link somehow. > > Mind ! This ain't a bug... it's a feature :) Hi Luca, This Luca fellow's got it a bit wrong; it's not really a bug or feature (perhaps 'limitation' might work..). The root problem is that the sitemap doesn't know how to serve the resource 'geoid-0.1.0.jar'. The default sitemap allows you to put raw content files into src/documentation/content/, from where they'll be served without a prefix. So if you have src/documentation/content/geoid-0.1.0.jar, then index.html could have geoid, and everything should work. The seed project ('forrest seed') has an example of this. HTH, --Jeff