svn commit: r678408 - /lenya/trunk/src/modules/resource/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Mon Jul 21 06:06:56 2008
New Revision: 678408

URL: http://svn.apache.org/viewvc?rev=678408&view=rev
Log:
Adding missing doc-info module parameters.

Modified:
    lenya/trunk/src/modules/resource/sitemap.xmap

Modified: lenya/trunk/src/modules/resource/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/resource/sitemap.xmap?rev=678408&r1=678407&r2=678408&view=diff
==============================================================================
--- lenya/trunk/src/modules/resource/sitemap.xmap (original)
+++ lenya/trunk/src/modules/resource/sitemap.xmap Mon Jul 21 06:06:56 2008
@@ -66,8 +66,8 @@
       <map:match pattern="downloadLink.xml/*/*/*/*">
         <map:generate src="cocoon://modules/metadata/{1}/{2}/{3}/{4}"/>
         <map:transform src="fallback://lenya/modules/resource/xslt/downloadLink.xsl">
-          <map:parameter name="contentLength" value="{doc-info:{1}:{2}:{3}:{4}}"/>
-          <map:parameter name="mimeType" value="{doc-info:{1}:{2}:{3}:{4}}"/>
+          <map:parameter name="contentLength" value="{doc-info:{1}:{2}:{3}:{4}:contentLength}"/>
+          <map:parameter name="mimeType" value="{doc-info:{1}:{2}:{3}:{4}:mimeType}"/>
           <map:parameter name="uuid" value="{3}"/>
           <map:parameter name="language" value="{4}"/>
           <map:parameter name="imageprefix" value="{proxy:/{1}/modules/resource}"/>
@@ -122,4 +122,4 @@
     </map:pipeline>
     
   </map:pipelines>
-</map:sitemap>
\ No newline at end of file
+</map:sitemap>
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.