You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2006/07/06 16:12:45 UTC

[1.4] webdav-related pipelines in default pub sitemap

Hi devs,

the default publication sitemap contains pipelines which match webdav**:

         <map:match pattern="webdav**">
           <map:mount uri-prefix="" 
src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
reload-method="synchron"/>
         </map:match>
         <map:select type="request-method">
           <!-- many client editors like to PUT changes -->
           <map:when test="PUT">
             <map:mount uri-prefix="" 
src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
reload-method="synchron"/>
           </map:when>
         </map:select>
       </map:match>


IIUC this allows editors to save the content.
Wouldn't it be possible to use module URIs instead?
For instance

   /default/modules/webdav/**

IMO we shouldn't require that a publication contains specific
pipelines, if this can be avoided.

WDYT?

-- Andreas



-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


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


Re: [1.4] webdav-related pipelines in default pub sitemap

Posted by Andreas Hartmann <an...@apache.org>.
Doug Chestnut wrote:
> 
> 
> Andreas Hartmann wrote:
>> Hi devs,
>>
>> the default publication sitemap contains pipelines which match webdav**:
>>
>>         <map:match pattern="webdav**">
>>           <map:mount uri-prefix="" 
>> src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
>> reload-method="synchron"/>
>>         </map:match>
>>         <map:select type="request-method">
>>           <!-- many client editors like to PUT changes -->
>>           <map:when test="PUT">
>>             <map:mount uri-prefix="" 
>> src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
>> reload-method="synchron"/>
>>           </map:when>
>>         </map:select>
>>       </map:match>
>>
>>
>> IIUC this allows editors to save the content.
>> Wouldn't it be possible to use module URIs instead?
>> For instance
>>
>>   /default/modules/webdav/**
> We would have to also allow the policies to be respected.  Currently the 
> webdav path is sort of an alias to the authoring area so policies work 
> IIRC.

Ah, thanks for the info.

We should apply read/write policies at the repository level, i.e.
it should be handled for nodes and not for URLs. But this is another
story ...

-- Andreas

> 
>>
>> IMO we shouldn't require that a publication contains specific
>> pipelines, if this can be avoided.
> agreed
>>
>> WDYT?
>>
>> -- Andreas
>>
>>
>>


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


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


Re: [1.4] webdav-related pipelines in default pub sitemap

Posted by Doug Chestnut <dh...@virginia.edu>.

Andreas Hartmann wrote:
> Hi devs,
> 
> the default publication sitemap contains pipelines which match webdav**:
> 
>         <map:match pattern="webdav**">
>           <map:mount uri-prefix="" 
> src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
> reload-method="synchron"/>
>         </map:match>
>         <map:select type="request-method">
>           <!-- many client editors like to PUT changes -->
>           <map:when test="PUT">
>             <map:mount uri-prefix="" 
> src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" 
> reload-method="synchron"/>
>           </map:when>
>         </map:select>
>       </map:match>
> 
> 
> IIUC this allows editors to save the content.
> Wouldn't it be possible to use module URIs instead?
> For instance
> 
>   /default/modules/webdav/**
We would have to also allow the policies to be respected.  Currently the 
webdav path is sort of an alias to the authoring area so policies work IIRC.

> 
> IMO we shouldn't require that a publication contains specific
> pipelines, if this can be avoided.
agreed
> 
> WDYT?
> 
> -- Andreas
> 
> 
> 

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