Re: [Zope] OpenOffice, Webdav question
--On 11 May 2002 10:14 -0500 kent <kent@springfed.com> wrote:
Howdy,
Is anyone using OpenOffice 1.0 to edit Zope documents via Webdav?
The OO doc says it is Webdav capable.
In Zope doc I found mentioned that a port other than 8080 will return source of a page instead of rendered.
Is 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. There is no # standard port for this handler, which is disabled by default. WEBDAV_SOURCE_PORT=[] so do something like WEBDAV_SOURCE_PORT=8088 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> for 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 E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation. -aj ----- Original Message ----- From: "Paul Browning" <paul.browning@bristol.ac.uk> To: <zope@zope.org> Cc: "kent" <kent@springfed.com>; "Tim Hicks" <tim@sitefusion.co.uk>; <casey_duncan@yahoo.com> Sent: Sunday, May 12, 2002 02:34 Subject: Re: [Zope] OpenOffice, Webdav question
--On 11 May 2002 10:14 -0500 kent <kent@springfed.com> wrote:
Howdy,
Is anyone using OpenOffice 1.0 to edit Zope documents via Webdav?
The OO doc says it is Webdav capable.
In Zope doc I found mentioned that a port other than 8080 will return source of a page instead of rendered.
Is 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. There is no # standard port for this handler, which is disabled by default. WEBDAV_SOURCE_PORT=[]
so do something like
WEBDAV_SOURCE_PORT=8088
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> for 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 E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
_______________________________________________ Zope maillist - Zope@zope.org 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 )
--On 12 May 2002 07:26 -0400 Andreas Jung <andreas@andreas-jung.com> wrote:
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation.
Well I found <http://dev.zope.org/Wikis/DevSite/Projects/Zope2.6/ProposedFeatures> and <http://lists.zope.org/pipermail/zope-coders/2002-March/000924.html> but I couldn't find anything on 2.6 in CVS. Got a URL that would help me? Thanks. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
http://cvs.zope.org/Zope/doc/CHANGES.txt?rev=1.472&content-type=text/vnd.vie wcvs-markup ----- Original Message ----- From: "Paul Browning" <paul.browning@bristol.ac.uk> To: "Andreas Jung" <andreas@andreas-jung.com> Cc: "zope" <zope@zope.org> Sent: Sunday, May 12, 2002 15:18 Subject: Re: [Zope] OpenOffice, Webdav question
--On 12 May 2002 07:26 -0400 Andreas Jung <andreas@andreas-jung.com>
wrote:
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation.
Well I found <http://dev.zope.org/Wikis/DevSite/Projects/Zope2.6/ProposedFeatures> and <http://lists.zope.org/pipermail/zope-coders/2002-March/000924.html> but I couldn't find anything on 2.6 in CVS.
Got a URL that would help me? Thanks.
Paul
-- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
_______________________________________________ Zope maillist - Zope@zope.org 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 )
--On 12 May 2002 15:46 -0400 Andreas Jung <andreas@andreas-jung.com> wrote:
http://cvs.zope.org/Zope/doc/CHANGES.txt?rev=1.472&content-type=text/vnd.vi ewcvs-markup which points to ENVIRONMENT.txt, which in turn reveals: WEBDAV_SOURCE_PORT_CLIENTS Setting this variable enables the retrieval of the document source through the standard HTTP port instead of the WebDAV port. The value of this variable is a regular expression that is matched against the user-agent string of the client. Example:: WEBDAV_SOURCE_PORT_CLIENTS="cadaver.*" enables retrieval of the document source for the Cadaver WebDAV client Joy! Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
"Andreas Jung" <andreas@andreas-jung.com> writes:
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation.
Can this method distingusih between Mozilla / Netscape Navigator and Mozilla / Netscape Composer? --- Alastair -- --- ---- Alastair Burt German Centre for AI (DFKI), Stuhlsatzenhausweg 3 Saarbrücken 66123, Germany Email: burt@dfki.de Tel: +49 681 302 2565 Fax: +49 681 302 2235 http://dfki.de/aswad
It checks for the useragent string. -aj ----- Original Message ----- From: "Alastair Burt" <burt@dfki.de> To: <zope@zope.org> Sent: Monday, May 13, 2002 05:34 Subject: Re: [Zope] OpenOffice, Webdav question "Andreas Jung" <andreas@andreas-jung.com> writes:
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation.
Can this method distingusih between Mozilla / Netscape Navigator and Mozilla / Netscape Composer? --- Alastair -- --- ---- Alastair Burt German Centre for AI (DFKI), Stuhlsatzenhausweg 3 Saarbrücken 66123, Germany Email: burt@dfki.de Tel: +49 681 302 2565 Fax: +49 681 302 2235 http://dfki.de/aswad _______________________________________________ Zope maillist - Zope@zope.org 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 )
"Andreas Jung" <andreas@andreas-jung.com> writes:
It checks for the useragent string. -aj ----- Original Message ----- From: "Alastair Burt" <burt@dfki.de> To: <zope@zope.org> Sent: Monday, May 13, 2002 05:34 Subject: Re: [Zope] OpenOffice, Webdav question
"Andreas Jung" <andreas@andreas-jung.com> writes:
Zope 2.6 allows to retrieve the document source through the standard HTTP port. Check the CHANGES.txt of the trunk for an explanation.
Can this method distingusih between Mozilla / Netscape Navigator and Mozilla / Netscape Composer?
Then I think the answer must be no. The following looks the same in Navigator and Composer: <dtml-var "REQUEST['HTTP_USER_AGENT']"> --- Alastair
Paul Browning wrote:
[Integrating OO/Zope through COM]
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).
Integrating OpenOffice and zope will indeed be a very cool killer application. The more I look at OO, the more I like it and think it will have a great impact. As for integration via COM, I'm no expert at this, but using UNO (OO's component model) might be the better way. Take a look at http://polysorbate.org/?work/pyuno the beginning of python bindings for UNO. I'm very excited about the possibilites which this might offer in the future, unfortunately I'm quite unfamiliar with the exotic language OO is implemented in ;-). Another remark, perhaps for OpenOffice Documents it might be worth contemplating about not going the conversion route (at least in some cases - e.g. spreadsheets), instead doing something with the files natively, it's XML afterall. cheers, oliver
--On 12 May 2002 14:40 +0200 Oliver Bleutgen <myzope@gmx.net> wrote:
Integrating OpenOffice and zope will indeed be a very cool killer application. The more I look at OO, the more I like it and think it will have a great impact. As for integration via COM, I'm no expert at this, but using UNO (OO's component model) might be the better way. Take a look at http://polysorbate.org/?work/pyuno the beginning of python bindings for UNO.
Thanks. Clearly it's about time I got closer to OpenOffice.
I'm very excited about the possibilites which this might offer in the future, unfortunately I'm quite unfamiliar with the exotic language OO is implemented in ;-).
Another remark, perhaps for OpenOffice Documents it might be worth contemplating about not going the conversion route (at least in some cases - e.g. spreadsheets), instead doing something with the files natively, it's XML afterall.
Agreed - this is the "pure" way of doing things (Phil Harris and Joe Nicholls adopted this approach some time back - for an early version of their architecture see <http://www.bris.ac.uk/ISC/cms/jn/word_xml_html.gif> ) Right now, though, I think the world would be grateful for more brute force solutions that will deal with legacy Word (and other Office) documents. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
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> wrote:
Howdy,
Is anyone using OpenOffice 1.0 to edit Zope documents via Webdav?
The OO doc says it is Webdav capable.
In Zope doc I found mentioned that a port other than 8080 will return source of a page instead of rendered.
Is 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. There is no # standard port for this handler, which is disabled by default. WEBDAV_SOURCE_PORT=[] so do something like WEBDAV_SOURCE_PORT=8088 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> for 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 E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
* Anonymous Coward <kent@springfed.com> writes:
I'm on Win2000
Sounds like "I'm on speed" except that speed and Windows are mutually exclusive. [...]
It would be nice to do that transparently with OpenOffice
I love OpenOffice - don't get me wrong. But why would one want to do that? Does not a specialized editor do a better job? Since you're using vim, you might upgrade to Emacs and enjoy dtml-mode... http://www.zope.org/Members/alburt/dtml_mode.html
participants (6)
-
Alastair Burt -
Andreas Jung -
kent@springfed.com -
Oliver Bleutgen -
Paul Browning -
Robin S. Socha