[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Docbook, Subversion, and keyword substitution
Hi, I suspect what I'm asking is not possible, but I'll never know without asking :-) I'm trying to automate the inclusion of revision dates with my published html output. I'm using Subversion as my source repository and it has a number of keywords that can be used to substitute data when you commit a file. For example, the svn:keyword $LastChangedDate$ will be replaced by the text $LastChangedDate: 2005-10-11 09:48:45 +1100 (Tue, 11 Oct 2005) $ when I commit a file to the repository. If I create a single xml file and publish html as a single file then this works fine - but... that's not what I'm doing. What I'm doing is creating books from several articles using xinclude and publishing html to multiple files. What I would like to see is the keyword substitution on every page, with the relevant dates, for example: book.xml - 11 October 2005 contains - article1 - 30 September 2005 - article2 - 6 October 2005 - article3 - 5 September 2005 - article4 - 11 October 2005 Is it possible for each individual html file produced during transformation to have the correct dates from its source file? ar01.html, ar01s02.html to include $LastChangedDate: 2005-09-30 10:52:20 +1100 (Fri, 30 Sept 2005) $ ar02.html, ar02s02.html to include $LastChangedDate: 2005-10-06 11:50:45 +1100 (Thu, 06 Oct 2005) $ ar03.html, ar03s02.html to include $LastChangedDate: 2005-09-05 14:02:01 +1100 (Mon, 05 Sept 2005) $ ar04.html, ar04s02.html to include $LastChangedDate: 2005-10-11 09:12:26 +1100 (Tue, 11 Oct 2005) $ Cheers, Geoff
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]