svn commit: r657945 - /lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Mon May 19 12:52:07 2008
New Revision: 657945

URL: http://svn.apache.org/viewvc?rev=657945&view=rev
Log:
Showing Lenya version in generator meta element (helps to identify the Lenya version of live sites).

Modified:
    lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl

Modified: lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl?rev=657945&r1=657944&r2=657945&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl Mon May 19 12:52:07 2008
@@ -43,6 +43,7 @@
   
   <!--Following is a show off to explain lenya.properties.xml -->
   <xsl:param name="author"/>
+  <xsl:param name="lenyaVersion"/>
   
   <xsl:variable name="root" select="concat('/', $publication-id, '/', $area)"/>
   
@@ -59,7 +60,7 @@
           <link rel="stylesheet" href="{$root}/css/{$document-type}.css" type="text/css"/>
           <xsl:copy-of select="xhtml:html/xhtml:head/*"/>
         </xsl:if>
-        <meta content="Apache Lenya" name="generator"/>
+        <meta content="Apache Lenya {$lenyaVersion}" name="generator"/>
         
         <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/" default="error-404"
           i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.