Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 77600 invoked from network); 30 Mar 2007 03:56:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 03:56:25 -0000 Received: (qmail 44000 invoked by uid 500); 30 Mar 2007 03:56:33 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 43795 invoked by uid 500); 30 Mar 2007 03:56:32 -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 43786 invoked by uid 99); 30 Mar 2007 03:56:32 -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 20:56:32 -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 20:56:23 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id C54CB210E87 for ; Thu, 29 Mar 2007 23:56:06 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 29 Mar 2007 23:56:03 -0400 X-Sasl-enc: 1/8V91rks4jroI8jZUpXDuh0TdOFcb9vJmw3pQuK3n6+ 1175226961 Received: from localhost (dsl-41-216.nsw1.net.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTP id 7E4ED1050E for ; Thu, 29 Mar 2007 23:56:01 -0400 (EDT) Date: Fri, 30 Mar 2007 13:55:57 +1000 From: David Crossley To: user@forrest.apache.org Subject: Re: using Subversion keyword substitution instead of published date in skin navstrip Message-ID: <20070330035557.GD8546@igg.indexgeo.com.au> References: <3a1cfc910703291734p2cf0bebl89f88bd399e73a36@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a1cfc910703291734p2cf0bebl89f88bd399e73a36@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Virus-Checked: Checked by ClamAV on apache.org 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. -David