You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Piroumian Konstantin <KP...@protek.com> on 2002/05/27 15:40:36 UTC
RE: cvs commit: xml-forrest/src/documentation/skins/forrest-site/
xslt/html site2xhtml.xsl
> From: nicolaken@apache.org [mailto:nicolaken@apache.org]
> Sent: Monday, May 27, 2002 5:32 PM
> To: xml-forrest-cvs@apache.org
> Subject: cvs commit:
> xml-forrest/src/documentation/skins/forrest-site/xslt/html
> site2xhtml.xsl
>
>
> nicolaken 02/05/27 06:31:54
>
> Modified: src/documentation/skins/forrest-site/xslt/html
> site2xhtml.xsl
> Log:
> Moved the centipede ang forrest logos above the bottom
> copyright bar, since it's
> intended to be at the very bottom.
> Added a "Last Published" date after the bottom copyright notice.
> It uses Emacscript to show the lastmodified date of the page.
Isn't it better to use CVS Date instead ($Date$)? Is it relevant when the
page was published? It's much more interesting to see when it was last
modified. No?
Konstantin
> To be clear, this doesn't mean that it has to remain that
> way, we could decide not to use javascript at all. But this
> method gives you the *exact* lastmodified date.
> If the browser doesn't have Emacscript, it just shows the
> copyright, thus degrading gracefully.
>
> Revision Changes Path
> 1.7 +13 -5
> xml-forrest/src/documentation/skins/forrest-site/xslt/html/sit
> e2xhtml.xsl
>
> Index: site2xhtml.xsl
> ===================================================================
> RCS file:
> /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xsl
> t/html/site2xhtml.xsl,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -u -r1.6 -r1.7
> --- site2xhtml.xsl 21 May 2002 12:23:30 -0000 1.6
> +++ site2xhtml.xsl 27 May 2002 13:31:54 -0000 1.7
> @@ -81,13 +81,21 @@
> <td> </td>
> </tr>
> </table>
> + <table>
> + <tr>
> + <td align="right">
> + <a href="http://xml.apache.org/cocoon/"><img
> align="right" src="skin/images/built-with-cocoon.gif"
> alt="Cocoon Logo" border="0"/></a>
> + <a
> href="http://www.krysalis.org/centipede/"><img align="right"
> src="skin/images/centipede-logo-small.gif" alt="Krysalis
> Centipede Logo" border="0"/></a>
> + </td>
> + </tr>
> + </table>
> <div class="copyright">
> - Copyright ©@year@ @vendor@. All Rights Reserved.
> + <script language="JavaScript">
> + <![CDATA[<!--
> + document.write("Copyright @year@ @vendor@.
> All Rights Reserved. - "+"Last Published: " + document.lastModified);
> + // -->]]>
> + </script>
> </div>
> -
> - <a href="http://xml.apache.org/cocoon/"><img
> align="right" src="skin/images/built-with-cocoon.gif"
> alt="Cocoon Logo" border="0"/></a>
> - <a href="http://www.krysalis.org/centipede/"><img
> align="right" src="skin/images/centipede-logo-small.gif"
> alt="Krysalis Centipede Logo" border="0"/></a>
> -
> </body>
> </html>
> </xsl:template>
>
>
>
>
Re: cvs commit: xml-forrest/src/documentation/skins/forrest-site/xslt/html site2xhtml.xsl
Posted by Nicola Ken Barozzi <ni...@apache.org>.
----- Original Message -----
From: "Piroumian Konstantin" <KP...@protek.com>
To: <fo...@xml.apache.org>
Sent: Monday, May 27, 2002 3:40 PM
Subject: RE: cvs commit:
xml-forrest/src/documentation/skins/forrest-site/xslt/html site2xhtml.xsl
> > From: nicolaken@apache.org [mailto:nicolaken@apache.org]
> > Sent: Monday, May 27, 2002 5:32 PM
> > To: xml-forrest-cvs@apache.org
> > Subject: cvs commit:
> > xml-forrest/src/documentation/skins/forrest-site/xslt/html
> > site2xhtml.xsl
> >
> >
> > nicolaken 02/05/27 06:31:54
> >
> > Modified: src/documentation/skins/forrest-site/xslt/html
> > site2xhtml.xsl
> > Log:
> > Moved the centipede ang forrest logos above the bottom
> > copyright bar, since it's
> > intended to be at the very bottom.
> > Added a "Last Published" date after the bottom copyright notice.
> > It uses Emacscript to show the lastmodified date of the page.
>
> Isn't it better to use CVS Date instead ($Date$)?
We cannot assume that the source is CVS, else we have $Date$ coming out, or
even worse, the date in which Forrest was gotten from CVS.
We also shall not assume that Forrest builds only Forrest.
> Is it relevant when the
> page was published?
Yes. A file creation and publish date are different, and have different
meanings.
Look at the Cocoon documentation: it is created in CVS but published weeks
or months after.
> It's much more interesting to see when it was last
> modified. No?
It's intersting, but I assume that it's being done already with the revision
stuff that is being shown at the end of some pages.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------