I agree that Brian's proposal is a good idea.

--On Friday, September 21, 2001 08:46:42 AM +0200 Robert Rottermann 
<[EMAIL PROTECTED]> wrote:

> Hi Brian,
> that proposal sounds very good to me.
> Could it be enhanced in a way that we can add an "add automatic extension
> when served by webdav".
> What I mean by that is that an object without extension is "seen" as
> having say .html appended to it when it is access by webdav.
> So we can use all these extension based web authoring  tools without
> changing the python way of doing things.

This wouldn't work very well for two reasons:

1. Sites like ours use a mix of DTML, Python Scripts and other things.  It
   would make some sense to map the DTML method register_user to
   register_user.html but the Python Script would want to be
   register_user.py.

2. The object on a Zope site already contain type information that can
   and should be leveraged for outgoing access.

My first cut suggestion would be to implement a separate outgoing mapping
table driven by the object's meta-type attribute (with provision for
CMF to override this to use it's different notion of type).

> Robert
> ----- Original Message -----
> From: "Brian Lloyd" <[EMAIL PROTECTED]>
> To: "Joachim Werner" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, September 19, 2001 10:47 PM
> Subject: RE: Re: [Zope-dev] WebDav Bug? -- And some comments on how great
> WebDAV is ;-)
>
>
>> >
>> > Some additional issues when using the CMF:
>> >
>> > - There is this really great idea that you can create a news item by
> just
>> > posting a MyNews.news file to your Member folder. The first
>> > problem is that
>> > Word does not let you save an HTML file as ".news", so we changed
>> > the rules
>> > in CMF and upload "news_MyNews.htm" files
>>
>> FYI - I have a proposal that could also be used to address this.
>> It would be great to get some feedback on it:
>>
>>
> http://dev.zope.org/Wikis/DevSite/Proposals/ObjectTypeAssociationAndDeath
> ToI
>> ndexHtml
>>
>>
>> Brian Lloyd        [EMAIL PROTECTED]
>> Zope Corporation   www.zope.com
>>
>>
>>
>> _______________________________________________
>> Zope-Dev maillist  -  [EMAIL PROTECTED]
>> http://lists.zope.org/mailman/listinfo/zope-dev
>> **  No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope )
>>
>
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>





_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to