[Zope-dev] WebDav Bug? -- And some comments on how greatWebDAV is ;-)

Robert Rottermann robert@redcor.ch
Thu, 20 Sep 2001 18:39:29 +0200


----- Original Message -----
From: "Dan L. Pierson" <dan@control.com>
To: <zope-dev@zope.org>
Sent: Thursday, September 20, 2001 5:56 PM
Subject: Re: Re: [Zope-dev] WebDav Bug? -- And some comments on how
greatWebDAV is ;-)


> I agree that Brian's proposal is a good idea.
>
> --On Friday, September 21, 2001 08:46:42 AM +0200 Robert Rottermann
> <robert@redcor.ch> 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.
>
Since a "show yourself as .html" should be configurable on a per folder or
per dtml-method/document instance base python scripts would never be
bothered.
In fact I think only ZPTemplates will ever need such a mapping. ZPT is such
much nicer than DTML that soon no new sites will be done not using it.
Templates alredy have a half hearted such mapping (as explained in the
tutorial which is reachable from the Zope home page). It just does not seam
to work for non *nix computers.

Robert

> 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" <brian.lloyd@zope.com>
> > To: "Joachim Werner" <joe@iuveno-net.de>; <zope-dev@zope.org>
> > 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        brian@zope.com
> >> Zope Corporation   www.zope.com
> >>
> >>
> >>
> >> _______________________________________________
> >> Zope-Dev maillist  -  Zope-Dev@zope.org
> >> 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  -  Zope-Dev@zope.org
> > 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  -  Zope-Dev@zope.org
> 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 )
>