[Zope] ExternalEditor and M$ Word setup?

Johan Carlsson [EasyPublisher] johanc@easypublisher.com
Mon, 28 Oct 2002 15:20:57 +0100


--=====================_1584051==_
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable

At 14:28 2002-10-28 +0200, Jean Jordaan said:
>Hi Casey & lists
>
>We aim to use ExternalEditor as the crux of our CMF for end-users.
>When logged in to Plone, the ExternalEditor icon shows up with the
>user's content. Which strikes me as very, very cool.
>
>It works fine for plaintext content, but it will have to work with
>Microsoft Word (and/or OpenOffice). Currently, when I try this, Word
>tells me that it doesn't have an importer for this type of content
>(though it is a plain .doc file I'm editing), and opens the file as
>unconverted gunk with some recognizable text here and there. I'm
>guessing that this may be thanks to ExternalEditor's tempfile name.

It might depend on Word version. I use Word97.


>Does anyone have a ZopeEdit.ini that works with Word?

It's attached. (Might become filtered out on zope@zope.org?)

Johan Carlsson



--=20
Torped Strategi och Kommunikation AB
Johan Carlsson
johanc@easypublisher.com

Mail:
Birkagatan 9
SE-113 36  Stockholm
Sweden

Visit:
V=E4stmannagatan 67, Stockholm, Sweden

Phone +46-(0)8-32 31 23
Fax +46-(0)8-32 31 83
Mobil +46-(0)70-558 25 24
http://www.easypublisher.com
http://www.torped.se


--=====================_1584051==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="ZopeEdit.ini"

# Zope External Editor helper application configuration

[general]
# General configuration options

# Uncomment and specify an editor value to override the editor
# specified by the operating system
#editor = C:\Program\TextPad 4\TextPad.exe -m "%1"
editor = C:\Program\TextPad 4\TextPad.exe -m "%1"

# Automatic save interval, in seconds. Set to zero for
# no auto save (save to Zope only on exit).
save_interval = 1

# Temporary file cleanup. Set to false for debugging or
# to waste disk space. Note: setting this to false is a
# security risk to the zope server
cleanup_files = 1

# Use WebDAV locking to prevent concurrent editing by
# different users. Disable for single user use or for
# better performance
use_locks = 1

# To suppress warnings about borrowing locks on objects
# locked by you before you began editing you can
# set this flag. This is useful for applications that
# use server-side locking, like CMFStaging
always_borrow_locks = 1

# Specific settings by content-type or meta-type. Specific
# settings override general options above. Content-type settings
# override meta-type settings for the same option.

reload_on_save = 1


[meta-type:DTML Document]
extension=.dtml
editor = C:\Program\Macromedia\Dreamweaver 3\Dreamweaver.exe "%1"

[meta-type:DTML Method]
editor = C:\Program\TextPad 4\TextPad.exe -m "%1"
extension=.dtml

[meta-type:Script (Python)]
extension=.py

[meta-type:Page Template]
extension=.pt
editor = C:\Program\Macromedia\Dreamweaver 3\Dreamweaver.exe "%1"

[meta-type:Z SQL Method]
extension=.sql

[content-type:text/*]
extension=.txt

[content-type:text/html]
extension=.html
editor = C:\Program\Macromedia\Dreamweaver 3\Dreamweaver.exe "%1"

[content-type:text/xml]
extension=.xml

[content-type:image/gif]
extension=.gif
editor = C:\Program\Adobe\Photoshop 6.0\ImageReady.exe "%1"

[content-type:image/jpeg]
extension=.jpg
editor = C:\Program\Adobe\Photoshop 6.0\ImageReady.exe "%1"

[content-type:image/png]
extension=.png
editor = C:\Program\Adobe\Photoshop 6.0\ImageReady.exe "%1"

[content-type:application/msword]
extension=.doc
editor = "C:\Program\Microsoft Office\Office\WINWORD.EXE" "%1"

[content-type:application/vnd.ms-excel]
extension=.xls
editor = "C:\Program\Microsoft Office\Office\EXCEL.EXE" "%1"

[content-type:application/x-msexcel]
extension=.xls
editor = "C:\Program\Microsoft Office\Office\EXCEL.EXE" "%1"

[content-type:application/vnd.ms-powerpoint]
extension=.ppt
editor = "C:\Program\Microsoft Office\Office\POWERPNT.EXE" "%1"

[content-type:application/x-mspowerpoint]
extension=.ppt
editor = "C:\Program\Microsoft Office\Office\POWERPNT.EXE" "%1"


--=====================_1584051==_--