[Zope] OpenOffice, Webdav question
kent@springfed.com
kent@springfed.com
Sun, 12 May 2002 14:46:35 -0500
I'm on Win2000
I added -W 8081 to the command line in start.bat which calls=
z2.py.
I now can retrieve the source of a STXDocument into
OpenOffice by entering http://localhost:8081/SandBox/STXDoc
I cannot save it though.
I ended up using zope.vim
With it I can open the Zope document, edit it in Vim,
save the changes back to data.fs, I like that.
It would be nice to do that transparently with OpenOffice
Thanks,
Kent
On Sun, 12 May 2002 07:34:26 +0100, Paul Browning wrote:
--On 11 May 2002 10:14 -0500 kent <kent@springfed.com>=A0wrote:
>=A0Howdy,
>
>=A0Is anyone using OpenOffice 1.0 to edit Zope documents
>=A0via Webdav?
>
>=A0The OO doc says it is Webdav capable.
>
>=A0In Zope doc I found mentioned that a port other
>=A0than 8080 will return source of a page instead of
>=A0rendered.
>
>=A0Is there a predefined port to return source?
No - but you can set it in z2.py
# Port for the special "WebDAV source view" HTTP handler. =A0There=
is no
# standard port for this handler, which is disabled by default.
WEBDAV_SOURCE_PORT=3D[]
so do something like
WEBDAV_SOURCE_PORT=3D8088
Paul
P.S. On a different tack, whilst I haven't looked at OpenOffice=
recently,
I did note from a recent thread on the python-win32 list that=
OpenOffice
supports COM.
Tim Hicks and I have developed something called "zlave"
<http://www.zope.org/Members/tuppence/zlave/>
that allows Microsoft Office docs (via XML-RPC - if you need
to have a Unix box in the mix - and COM) to be automatically
converted to HTML, in the manner of MSWord Munger
<http://www.zope.org/Members/Kaivo/MSWordMunger>
but using kosher Word (say, rather than wvWare, which in our=
experience
tends to fail as the uploaded Word doc gets more complicated).
Thought: if OpenOffice supports COM, perhaps one might be able
to remove Microsoft Office from the architecture? (see
<http://www.bris.ac.uk/ISC/cms/zlave.gif>=A0for the latter)
Comments? IHMO this is a killer application for any intranet
and indeed Zope in general ....... moreover post-processing
of the so-called HTML that Word produces (dunno about Open
Office) allows such converted documents to be used in contexts
of wider visibility (so due regard can be paid to accessibility
issues, etc).
--
The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ,=
UK
=A0E-mail: paul.browning@bristol.ac.uk =A0URL:=
http://www.bris.ac.uk/