Graham Heyes writes:
I have been using a very nice HTML editor under Linux, called Quanta+, unfortunately it can't open anything except local files. That's fine when I'm at work since I can use ZOPEEdit (ftp) or LocalFS. (LocalFS doesn't behave well with trees and other navigation products so I try to avoid it). The problem is that from home I can't use ftp becaues of the firewall. I've tried to tunnel through ssh but that doesn't work for me. I've been looking at WebDAV or writing something using ZClient but my python is very rusty. "DTMLMethod" and "DTMLDocument" have a method "document_src" that return their source (as text/plain). You can let your browser save this as a local file, edit it and later upload it again.
Attached is a patch that exposes this method as a tab. Dieter ****************************************************** --- lib/python/OFS/:DTMLDocument.py Thu Jul 22 16:12:12 1999 +++ lib/python/OFS/DTMLDocument.py Sat Aug 21 20:33:05 1999 @@ -111,6 +111,7 @@ {'label':'Upload', 'action':'manage_uploadForm'}, {'label':'Properties', 'action':'manage_propertiesForm'}, {'label':'View', 'action':''}, + {'label':'Source', 'action':'document_src'}, {'label':'Proxy', 'action':'manage_proxyForm'}, {'label':'Security', 'action':'manage_access'}, ) --- lib/python/OFS/:DTMLMethod.py Wed Jul 21 15:44:25 1999 +++ lib/python/OFS/DTMLMethod.py Sat Aug 21 20:33:05 1999 @@ -116,6 +116,7 @@ manage_options=({'label':'Edit', 'action':'manage_main'}, {'label':'Upload', 'action':'manage_uploadForm'}, {'label':'View', 'action':''}, + {'label':'Source', 'action':'document_src'}, {'label':'Proxy', 'action':'manage_proxyForm'}, {'label':'Security', 'action':'manage_access'}, )