You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/12/22 21:16:05 UTC
svn commit: r358615 -
/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
Author: chestnut
Date: Thu Dec 22 12:16:00 2005
New Revision: 358615
URL: http://svn.apache.org/viewcvs?rev=358615&view=rev
Log: (empty)
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
Modified: lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap?rev=358615&r1=358614&r2=358615&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/lenya/usecases/webdav/sitemap.xmap Thu Dec 22 12:16:00 2005
@@ -144,6 +144,10 @@
<map:match pattern="GET/**">
<map:act type="set-header">
<map:parameter name="Last-Modified" value="{page-envelope:document-lastmodified}" />
+ <map:match pattern="GET/**_*.html">
+ <map:generate src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml"/>
+ <map:serialize type="xml-get"/>
+ </map:match>
<map:match pattern="GET/**.html">
<map:generate src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml"/>
<map:serialize type="xml-get"/>
@@ -152,6 +156,13 @@
</map:match>
<map:match pattern="PROPFIND/**.html">
+ <map:match pattern="PROPFIND/**_*.html">
+ <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+ <map:call function="filePropfind" >
+ <map:parameter name="last-modified" value="{page-envelope:document-lastmodified}"/>
+ </map:call>
+ </map:act>
+ </map:match>
<map:match pattern="PROPFIND/**.html">
<map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
<map:call function="filePropfind" >
@@ -175,6 +186,14 @@
</map:match>
<map:match pattern="HEAD/**.html">
+ <map:match pattern="HEAD/**_*.html">
+ <map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
+ <map:act type="set-header">
+ <map:parameter name="Last-Modified" value="{page-envelope:document-lastmodified}" />
+ <map:call function="filePropfind" />
+ </map:act>
+ </map:act>
+ </map:match>
<map:match pattern="HEAD/**.html">
<map:act type="resource-exists" src="context://lenya/pubs/{page-envelope:publication-id}/content/authoring/{1}/index_{page-envelope:document-language}.xml">
<map:act type="set-header">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org