Re: [Zope] incorporating generated sub-websites within a Zope site

2000-11-01 Thread Cees de Groot

Fred Yankowski [EMAIL PROTECTED] said:
OK, this problem is largely the result of the crappy web-design tool
she's using, but I really have no control over that.  The subsite
manage/author doesn't know HTML and would be completely helpless with
Zope's "through the web" editing interface.

You could of course convert the structure of the site in DTML documents
that include the contents from Structured Text documents. Anyone can learn
STX, so she could edit the contents through the Zope interface.

Also a possibility, although I'm way out of my league here (I'm not a 
Windows user): WebDAV under '98. If you can explore the documents with
the '98 explorer, you should be able to edit them with any tool, not?

(I believe that anyone can learn HTML as well, given someone with
reasonable didactic skills and an hour or two of time). 

-- 
Cees de Groot   http://www.cdegroot.com [EMAIL PROTECTED]
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B
Forge your CipherSaber and list it: http://www.xs4all.nl/~cg/ciphersaber/

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




Re: [Zope] incorporating generated sub-websites within a Zope site

2000-10-31 Thread Dieter Maurer

Fred Yankowski writes:
  ... publishing content created with standard web design tools via Zope ...
There have been some discussions about this in "zope-dev"
in relation with "HiperDOM" and "XHTML" templates.
Maybe, you search the "zope-dev" archive to get an overview.

As far as I know, DC plans to support such publication.
HiperDOM might already go some way into this direction
(for tools that generate XHTML).

There is an easy way to provide header and footer to your
content -- provided you are ready to use a bit uncomfortable
URLs, i.e. to view an object with URL "u", you use
"u/view". "view" is a method (DTML or PYTHON) that operates
on "u". It removes the header and footer in "u" and replaces
it with header and footer of your choice, after passing
values extracted from the original header to the new header
(e.g. title, link, meta tags).

With some advanced Zope, maybe the "Traversable" product,
it might be possible to get around the additional "/view"
URL suffix.


Dieter

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




[Zope] incorporating generated sub-websites within a Zope site

2000-10-30 Thread Fred Yankowski

I'm looking for suggestions about how to manage a Zope website that
hosts some subsites created by tools outside of Zope.  Here's the
situation. 

I'm working on a community website (batavians.org) for a small city
(Batavia, IL) where I want to allow various non-profit community
organizations to manage their own subsites.  But the very first test
case is proving to be a problem because the manager of the subsite is
using web page development tools that seem to make it hard to
integrate their subsite with the rest of the site.  They can FTP their
files up to the Zope server (which I configured to use port 21 for
FTP) and their work is accessible just fine given a small "glue"
index_html object that bridges to their internal main page.  But I got
blocked when I tried to add a standard page footer onto their pages.
Actually, I was able to add a dtml-var element to pull in a standard
footer via acquisition and that works, but the manager of the
sub-website has no way to pull that change back to her working version
of the subsite.  It seems that the lightweight "Web Studio 2.0" tool
she's using has no FTP-download function at all.  Not only that, it
has no way to view/edit HTML at all!  It's only possible to edit using
a WYSIWYG design view (AFAICT).  So she can't merge in the change even
if I tell her exactly the HTML code to add.

OK, this problem is largely the result of the crappy web-design tool
she's using, but I really have no control over that.  The subsite
manage/author doesn't know HTML and would be completely helpless with
Zope's "through the web" editing interface.  A better tool such as
Dreamweaver would at least allow her to download files and/or edit
HTML directly, but that's moot in this case.  Even with Dreamweaver I
think the DTML tags would be invisible and hard for a non-programmer
to deal with.  (Not only that, Dreamweaver refuses to open files that
don't have an extension, so it won't open index_html for example.)

So what alternatives do I have?  Is there some way that I can set up a
filter such that every page of her subsite goes through the filter
before being sent out to the browser, allowing me to tack on a page
footer on those pages?  I'm sure Zope has such a mechanism, but I
don't know where to look.  Even with such a filter I'm not keen about
having to parse her pages (which are/should-be each a complete HTML
document) in order to insert a footer line in the right place.  What
other schemes should I consider?

-- 
Fred Yankowski   [EMAIL PROTECTED]  tel: +1.630.879.1312
Principal Consultant www.OntoSys.com   fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA

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