You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/05/19 14:52:16 UTC

svn commit: r407785 - /lenya/trunk/src/modules/opendocument/sitemap.xmap

Author: andreas
Date: Fri May 19 05:52:16 2006
New Revision: 407785

URL: http://svn.apache.org/viewvc?rev=407785&view=rev
Log:
Obtain ODT content using the lenyadoc:/ protocol. This works now because the extension isn't part of the source path anymore.

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

Modified: lenya/trunk/src/modules/opendocument/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/opendocument/sitemap.xmap?rev=407785&r1=407784&r2=407785&view=diff
==============================================================================
--- lenya/trunk/src/modules/opendocument/sitemap.xmap (original)
+++ lenya/trunk/src/modules/opendocument/sitemap.xmap Fri May 19 05:52:16 2006
@@ -46,13 +46,8 @@
       <!-- parametrized doctype matcher -->
       <!-- pattern="{rendertype}" -->
 
-<!-- TODO: The path of the odt file should be get with the input module, like for the xml file.
- Write a special DocumentIdToPathMapper, permit a Resource to have its own Mapper-->
       <map:match pattern="*.xml">
-        <map:generate src="zip:lenya://lenya/pubs/{page-envelope:publication-id}/content/{page-envelope:area}{page-envelope:document-id}/index_{page-envelope:document-language}.odt!/content.xml"/>
-<!--
-        <map:generate src="zip:lenyadoc://{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-language}/{page-envelope:document-id}!/content.xml"/>
--->
+        <map:generate src="zip:lenyadoc:/{page-envelope:document-language}/{page-envelope:document-id}!/content.xml"/>
 
 <!--
         <map:transform src="fallback://lenya/modules/opendocument/xslt/main_html.xsl">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org