Opening MSWord Document via WebDAV from <a href="..."/>
Hi! Is there a way to open a MSWord document via webdav from a link? It is unfortunately too difficult for most people to download the document from zope to a local directory, change it, and upload it again. Since Zope supports WebDAV it should be possible to open it via webdav by following a link (<a href="magic"/>) But what does "magic" need to look like? If I use magic=="http://zope-host:8080/foo.doc" "WebFolder" don't show up at drive letters. At least I didn't get it working. Since I need it for an intranet application it would be possible "mount" the webdav from zope to e.g. "z:" on all clients. Then a link to file:///Z|... should work. I heard that only Windows-XP is able to map webdav to UNC-Names An other solution would be to run a samba-server on linux which mounts the webdav. Someone on this list has reported that he got this working. But I don't like this. Would be nice if the server could be Windows, too. And I don't know if authentication works this way. According to http://www.zope.org/Documentation/Articles/WebDAV you need to use commercial products to map a webdav server to a drive letter (Webdrive, Teamdrive costing 39$ per client). Has someone experience with these products? Are there free alternatives which map a WebDAV-Server to a drive letter? Opening the word document with the windows explorer and editing is no problem. Has some hints? thomas
Hi Thomas! Just some hints! I use the following DTML Method named "webfolder" in the Zope root: <HTML> <HEAD> <TITLE><!--#var title_or_id--></TITLE> <STYLE> .httpFolder {behavior: url(#default#httpFolder);} </STYLE> <SCRIPT> function init(){ oDAV.navigateFrame("<!--#var absolute_url-->","_self"); } </SCRIPT> <BODY ONLOAD="init()"> <DIV ID = "oDAV" CLASS = "httpFolder" > </BODY> </HTML> If implemented you can simply open a folder as webdav-folder in IE by linking to the URL and appending the string "webfolder" (example: http://zope-host:8080/A/B/webfolder opens folder B as webdav-folder in IE). I still haven't found the mystical link to open a document directly via webdav. I use Win- and Office-XP as Clients. Does XP really map webdav to UNC names? Juergen --On Freitag, 19. April 2002 14:02 +0200 Thomas Guettler <zopestoller@thomas-guettler.de> wrote:
Hi!
Is there a way to open a MSWord document via webdav from a link?
It is unfortunately too difficult for most people to download the document from zope to a local directory, change it, and upload it again.
Since Zope supports WebDAV it should be possible to open it via webdav by following a link (<a href="magic"/>)
But what does "magic" need to look like?
If I use magic=="http://zope-host:8080/foo.doc"
"WebFolder" don't show up at drive letters. At least I didn't get it working. Since I need it for an intranet application it would be possible "mount" the webdav from zope to e.g. "z:" on all clients. Then a link to file:///Z|... should work. I heard that only Windows-XP is able to map webdav to UNC-Names
Problem: Opening a Office document with WebDAV from a browser. (Download, edit, upload is too elaborate) The solutions I consider: 1. Using Internet Explorer: <STYLE> A {behavior: url(#default#AnchorClick);} </STYLE> <A href = "http://localhost:9080/a/documents/4 folder = "http://localhost:9080/a/documents/4" target = "_top"> Open in Web Folder View </A> (Thanks to Juergen Plasser) You can't open the document directly, but you can open the folder and then open the document with wedav. Drawback: Only works with IE. Users of other browsers or operating systems need to download, edit, upload. 2. Install a small http or xml-rpc server on each client. All clients need to have the same port number. Then you could linkt to: http://localhost:9999/?document. The server at localhosts opens the document using COM. Benefit: This works with any browser. Drawback: You need to install the server at each client. 3. Use Samba on Unix as a wrapper. Drawback: You need a unix server Benefit: Even Offices without webdav support can access to documents. (The link would be <a href="file:///Z:/...") 4. Use WebDrive or TeamDrive (about 40$ per client) I think I will use solution 1. What do you think?
participants (2)
-
Juergen R. Plasser / Hexagon -
Thomas Guettler