[Zope] Zope and simple HTML documents

R. David Murray bitz@bitdance.com
Mon, 20 Mar 2000 12:21:00 -0500 (EST)


On Mon, 20 Mar 2000, Alessandro Bottoni wrote:
> Can the user just drop a HTML document in a server directory and have this
> document published on the intranet? How can I determine the directory they
> can use?

Not exactly, but close enough.  A DTML Document could certainly
contain just HTML code and no DTML, and Zope would happily return
it and the client would render it just as if (say) Apache had
returned it.  I presume you could use the ftp server built in to
Zserver to upload the documents to whatever folders you had given
them permission on.  But keep in mind that all the Zope data is
stored in the ZODB (a single file in the unix filesystem) not as
seperate files in that filesystem, so any update transactions need
to go through Zserver somehow or another in order to update the content.

You might want to consider teaching them the (pretty easy) management
interface, though, as they could use that to upload files directly
from their PC desktops using just their web browser.  Who knows,
they might even decide they want to start taking advantage of Zope's
content management features, and actually start learning DTML <grin>.

--RDM