Comment header/footer insertion places

svn path=/trunk/; revision=186
This commit is contained in:
loic 2001-04-22 15:24:28 +00:00
parent d9241a5827
commit c466b6077e
15 changed files with 33 additions and 31 deletions

View File

@ -32,12 +32,13 @@ clean:
find . -name '*.html' -print | xargs rm
process:
@find * -name '*.xhtml' -print | while read file ; \
@find * -name '*.xhtml' -print | while read path ; \
do \
base=`expr $$file : '\(.*\).xhtml'` ; \
dir=`dirname $$base` ; \
root=`dirname $$base | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
$(XSLTPROC) fsfe-fr.xsl $$file $(XSLTOPTS) '$$fsffrance='$$root | \
base=`expr $$path : '\(.*\).xhtml'` ; \
filebase=`basename $$base` ; \
dir=`dirname $$path` ; \
root=`dirname $$path | perl -pe 'chop; s:([^/]+):..:g if($$_ ne ".")'` ; \
$(XSLTPROC) fsfe-fr.xsl $$path $(XSLTOPTS) '$$fsffrance='$$root '$$filebase='$$filebase | \
perl -MFile::Copy -p -e '$$| = 1; copy("'$$dir'/$$1", \*STDOUT) if(/\#include virtual=\"(.*?)\"/); s/\$$//g if(/\$$''Date:/);' > $$base.html ; \
done

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -124,7 +124,7 @@
</tr>
</table>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -45,7 +45,7 @@
</tr>
</table>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -39,7 +39,7 @@
</center>
<p />
</div>
</div> <!-- The footer will be inserted here -->
Updated:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -40,7 +40,7 @@
<p />
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -19,7 +19,7 @@
This rocks
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -52,7 +52,7 @@
</dl>
</blockquote>
</div>
</div> <!-- The footer will be inserted here -->
Updated:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -52,7 +52,7 @@
</dl>
</blockquote>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -15,6 +15,7 @@
<xsl:param name="fsfeurope">http://www.fsfeurope.org</xsl:param>
<xsl:param name="fsf">http://www.fsf.org</xsl:param>
<xsl:param name="gnu">http://www.gnu.org</xsl:param>
<xsl:param name="filebase">nofile.html</xsl:param>
<xsl:template match="/">
<xsl:copy>

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -56,7 +56,7 @@
</blockquote>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -109,7 +109,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="TopTitle">
&nbsp;<a href="mailto:webmaster@fsfeurope.org" class="T1">webmaster@fsfeurope.org</a><br />
&nbsp;<a href="mailto:webmaster@fsfeurope.org" class="T1">webmaster@fsfeurope.org</a>&nbsp; <a href="{$filebase}.xhtml" class="T1">XHTML Source</a> &nbsp;<a href="{$fsffrance}/fsfe-fr.xsl" class="T1">XSL Sheet</a> <br />
</td>
</tr>
<tr>
@ -117,7 +117,7 @@
<font size="-2">
Copyright (C) 2001 FSF France,
8 rue de Valois, 75001 Paris, France
<p />
<br />
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this notice is preserved.
</font>

View File

@ -109,7 +109,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="TopTitle">
&nbsp;<a href="mailto:webmaster@fsfeurope.org" class="T1">webmaster@fsfeurope.org</a><br />
&nbsp;<a href="mailto:webmaster@fsfeurope.org" class="T1">webmaster@fsfeurope.org</a>&nbsp; <a href="{$filebase}.xhtml" class="T1">Source XHTML</a> &nbsp;<a href="{$fsffrance}/fsfe-fr.xsl" class="T1">Feuille XSL</a> <br />
</td>
</tr>
<tr>
@ -117,7 +117,7 @@
<font size="-2">
Copyright (C) 2001 FSF France,
8 rue de Valois, 75001 Paris, France
<p />
<br />
La reproduction exacte et la distribution intégrale
de cet article sont permises sur n'importe quel support
d'archivage, pourvu que cette notice soit

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -19,7 +19,7 @@
<!--#include virtual="sysadmin-france.en.html"-->
<p />
</div>
</div> <!-- The footer will be inserted here -->
Updated:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -35,7 +35,7 @@
<a href="/mrtg/tcpopen.html"><img src="/mrtg/tcpopen-day.png" /></a>
</li>
</ul>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->

View File

@ -8,7 +8,7 @@
</head>
<body>
<div>
<div> <!-- The header will be inserted here -->
<center>
[
<!-- Please keep this list alphabetical -->
@ -30,7 +30,7 @@
</li>
</ul>
</div>
</div> <!-- The footer will be inserted here -->
Mis à jour:
<!-- timestamp start -->