Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 84312 invoked from network); 30 Mar 2007 04:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 04:24:30 -0000 Received: (qmail 74998 invoked by uid 500); 30 Mar 2007 04:24:37 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 74953 invoked by uid 500); 30 Mar 2007 04:24:37 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 74944 invoked by uid 99); 30 Mar 2007 04:24:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 21:24:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2007 21:24:29 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 55E9B210AB8 for ; Fri, 30 Mar 2007 00:24:13 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 30 Mar 2007 00:24:09 -0400 X-Sasl-enc: 5wN4zaOz0sqgHZElUxakHcx1XenIsQnpKmC+iiiGD+SP 1175228647 Received: from localhost (dsl-41-216.nsw1.net.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTP id D37A5172A1 for ; Fri, 30 Mar 2007 00:24:07 -0400 (EDT) Date: Fri, 30 Mar 2007 14:24:03 +1000 From: David Crossley To: user@forrest.apache.org Subject: Re: using Subversion keyword substitution instead of published date in skin navstrip Message-ID: <20070330042403.GE8546@igg.indexgeo.com.au> References: <3a1cfc910703291734p2cf0bebl89f88bd399e73a36@mail.gmail.com> <20070330035557.GD8546@igg.indexgeo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070330035557.GD8546@igg.indexgeo.com.au> User-Agent: Mutt/1.4.2.2i X-Virus-Checked: Checked by ClamAV on apache.org David Crossley wrote: > Brolin Empey wrote: > > Hello, > > > > I am using Subversion to manage the content source for multiple Web > > sites built with Forrest. The "Last Published" date on the HTML pages > > that Forrest generates is not useful, for reasons I will not mention > > here. Consequently, I would like to have the expansion of > > Subversion's "Id" keyword [1] used instead of the "Last Published" > > text. > > > > Is this possible? > > > > I am using: > > - Forrest v0.7 > > - pelt skin > > - java-1.5.0-sun-1.5.0.10 > > - Linux v2.6.18 (i686, Mepis distribution but using mostly Debian packages) > > - svn: v1.4.2 (r22196) on client, v1.4.0 (r21228) on server > > > > Thanks, > > Brolin > > > > [1] > > http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.keywords > > The following FAQ talks about CVS Keywords > http://forrest.apache.org/docs/faq.html#CVS_revison_tags > > However, i think that this will also work with Subversion > as long as you have set the relevant svn property for the > source file. > > Please tell us how you go. If you can manage it please contribute > a patch for the FAQ. Woops, i didn't interpret your message properly. The technique i talked about is for the body of the page. You want to something different. That is perhaps not possible, as it is done with Javascript. Also i see that the body-of-page ability was removed (perhaps by accident) in r36355. So the demonstration from the FAQ does not work. See main/webapp/skins/pelt/xslt/html/document2html.xsl around line 57. Now investigating this on the dev list. -David